General > Opinions & Feedback

Product wish lists & pros & cons....

<< < (2/2)

support:
DMs are 16-bit quantity. Each DM can contain up to 16-bit of on-off information. I am not sure why it should be "mapped" into single bit space.

If you want register to represent ON/OFF space you can always use the internal relays (there are 512 of them).

If you prefer to group the status into a single DM you can use the SETBIT function to set individual bit inside a DM to represent different status. These can then be read as a group by a Modbus master.

If you need to spread the bits in a DM into bit-addressable relays, you can simply do the following:

    RELAY[1] = DM[x]

RELAY[1] represent internal relay bit #1 to #16. This means that all the 16 bits in the DM become bit addressable by an external MODBUS host using Modbus function 01 or 02.


BC SYSTEMS:
Hi,

I was aware of being able to use the relays but unaware of being able to use the SETbit function for DM.  this is great news Thanks!

Navigation

[0] Message Index

[*] Previous page

Go to full version