MartyW
Member
A scale module the PLC communicates with feeds back a double word (DBD) that contains status information: 32 defined status bits. In this case it dumps it into a data block at DB21.DBD26. I assumed that I could address DB21.DBX 26.0, 26.1, etc. to look at the individual bits. Looking at the binary representation of the DBD, the information is correct. However may attempts at addressing each item aren't giving the proper values. I have tried assuming that 26.0 has the most significant bit and assuming it has the least significant bit. Either way seems to give incorrect results.
Any ideas?
Any ideas?