
adccommunitymod (AutomationDirect) asked a question.
Created Date: September 19,2008
Created By: jondecker76
**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****
I'm trying to figure out how to do a SETB from directsoft32... When I add a set coil, i get a box with 2 input text boxes. Normally for setting a coil, I just enter C4 for example ion the left box. But for bit of word I have tried everything and just can't seem to get it. I have tried vAddress in the left box and bit number in the right box, I 've tried vAddress.BitNumber in the left box, I tried prefixing with "A " and a ton of other things. Can someone shed some light? thanks, Jon
Created Date: September 19,2008
Created by: franji1
"B " is Bit-of-word
B2000.0 is the first bit in V2000
The 9th bit is B2000.8
The 16th bit is B2000.15
Oh, and just use the SET instruction, not SETB. The 2nd field in SET (and RST) is for an optional range, although you cannot do a range of Bit of Words, so just do SET B2000.15
Created Date: September 20,2008
Created by: jondecker76
thanks, i 've been stumped by this for a few hours..
Now I can get back to work!
Created Date: September 19,2008
Created by: jondecker76
I'm trying to figure out how to do a SETB from directsoft32... When I add a set coil, i get a box with 2 input text boxes. Normally for setting a coil, I just enter C4 for example ion the left box. But for bit of word I have tried everything and just can't seem to get it. I have tried vAddress in the left box and bit number in the right box, I 've tried vAddress.BitNumber in the left box, I tried prefixing with "A " and a ton of other things.
Can someone shed some light?
thanks,
Jon