Host Engineering Forum
General Category => DirectSOFT => Topic started by: plcfreak on August 05, 2019, 06:04:44 AM
-
Direct Soft 6
PLC: Direct Logic 405 (440)
Not much experience with Direct Logic but in other PLC's to access something at the bit level is just a matter of accessing the element as an array. I cannot figure out how to do this in direct soft 6.
So if the binary representation of V2000 was 1000010110011110 how would I extract the value of any of the bits.
Thanks for the help
-
Not possible in a 440. If it were any higher end processor it would be: use a "b" in place of the "V". IE Bit 1 of V2000 is b2000.1
In a 440, the only option is to copy to "C" registers. See chapter 3 or 4 of the user manual for a map of the V to C registers.
-
Not possible in a 440. If it were any higher end processor it would be: use a "b" in place of the "V". IE Bit 1 of V2000 is b2000.1
In a 440, the only option is to copy to "C" registers. See chapter 3 or 4 of the user manual for a map of the V to C registers.
Should have come here a few days ago. I have been fighting this and it has been kicking me hard. LOL!
Just wanted to say thanks for this information. I was able to map it to C registers and now I have my bit level info. Can't say thanks enough.