Applies To: |
|
Summary: |
How can I address a bit directly in a register of my PLC using the Modbus or MBPlus protocols? |
Solution: |
Whilst you can remap the register, the
best method is to modify the Modbus.dbf file in the BIN directory
as follows:
Modify from this: TEMPLATE UNIT_TYPE RAW_TYPE BIT_WIDTH LOW
HIGH COMMENT To this: TEMPLATE UNIT_TYPE RAW_TYPE BIT_WIDTH LOW
HIGH COMMENT This will allow you to address a bit directly. For example to specify bit 5 in Output register 40001 address it as 40001.5 in the variable tags address field. See also Q2355. |
Keywords: |
Related Links
Attachments