Can we have an Output group with a variable like LD or LI for eg:
DOUT OG#(21) LD001
or
DOUT OG#(21) LI001
because I do know that we can have LB001
THanks !!
Can we have an Output group with a variable like LD or LI for eg:
DOUT OG#(21) LD001
or
DOUT OG#(21) LI001
because I do know that we can have LB001
THanks !!
OG#(Output group number)
Specifies the output number group signal (1group 8 points).
No:1 to 512
Variable B/I/D/LB/LI/LD
can be used
It is possible to do--- and if you want to know just have a look in dx200 informal instruction manual (first instruction in book )
Have Fun
Thank you for the manual information found it and seems its a really good start, what i see is that you can use B/I/D/LB/LI/LD inside the bracket say for eg
DOUT OG#(LI001) but what i had in mind was to assign the value that is present in LI001 (=750) and put that value on to output group 21 which kind of doesnt make sense i get it now. but thanks a lot!
Update:
I recently called Yaskawa and they said it is possible but to assign an integer value to a group output we need to do it by using SETREG and use ladder editing to move this value to the group output. Not sure how it was supposed to be done but it is possible to do so.. If some one has some knowledge please do share about this !! Thanks in adavnce!!
Yaskawa is saying this because a group only has a value of 0-255.
You would probably use a SET instruction to get the value into the I-variable, or some math instruction. Use the SETREG instruction to move the value of the I-variable into an unused M-register in the ladder. You would then write logic in the ladder program using the MOV instruction to move the value of the M-Register into a Relay Word. This would then write the value into group 21 and the next group. The next group (22) would have to be removed from the ladder. You also would probably want some type of logic to trigger the MOV as opposed to updating the outputs every scan.
You need to be a member in order to leave a comment