ledsam Posted April 25, 2007 Report Posted April 25, 2007 (edited) Hello All I've just had to replace a old PLC (FX) with the new type FX2N with a special function block 2DA. The old problem i have was converted with GX. i had one error being the amount of lines from one PLC to the other (this is Ok) The fault i have is that the Output Analog does not seem to work with the old FX program. The command line i use with the old FX is ----//--------[TO K0 K1 D400 K1]----------- M26 /------------------------[RST M26]----------- The basic function for this is that the Data reg 400 is updated in the machines operation for speed control voltage output. With the new PLC (FX2N) this is a error in the program (error 6708) operation error. Can anyone tell me what i should rewite to correct this fault as the old command line works fine (short and Sweet) D400 is updated with a MOV command from other Data Reg 401 to 404 Sorry just updated error on command line from K0 to K1 (again sorry Gambit) Edited April 25, 2007 by ledsam Quote
Gambit Posted April 25, 2007 Report Posted April 25, 2007 (edited) ----//--------[TO K0 K1 D400 K0]----------- This command line is wrong. The last device (K0) you can use to batch the instruction. for instance if when the last device is K3 D400 is send to BFM 1 D401 is send to BFM 2 D402 is send to BFM 3 So if you aonly want to send D400 to BFM 1 you should enter K1. This is probably you're error. TO K0 K1 D400 K1 Edited April 25, 2007 by Gambit Quote
mikeb Posted April 25, 2007 Report Posted April 25, 2007 The FX2n-2DA uses buffer memories 16 & 17 all others are reserved and cannot be used. Maybe this is the problem. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.