Support Forums
Write to four 16 bit unsigned int registers at once after button push (MODBUS)

Hello.

I am trying to write 4 separate analog values to 4 separate 16 bit registers in a GE relay following a user hitting a button on a dashboard. It is to drive virtual inputs which will toggle a contact output. Wondering what the best way to do this is.

GE description of how to force virtual inputs:

For forcing Virtual Inputs, a message with 4 indivisible records must be written at address 0xF430, so that each bit
corresponds to a Virtual Input. Values are not correct if the first 4 records are not written in the same message. The
first 32 are LATCHED (internally stored in flash memory), and the last 32 are SELF-RST (activated to 1 and
deactivated in the next pass by the PLC).

F001 = UNSIGNED INT 16 BIT (BITMASK)

686762b02057f

Hello. I am trying to write 4 separate analog values to 4 separate 16 bit registers in a GE relay following a user hitting a button on a dashboard. It is to drive virtual inputs which will toggle a contact output. Wondering what the best way to do this is. GE description of how to force virtual inputs: For forcing Virtual Inputs, a message with 4 indivisible records must be written at address 0xF430, so that each bit corresponds to a Virtual Input. Values are not correct if the first 4 records are not written in the same message. The first 32 are LATCHED (internally stored in flash memory), and the last 32 are SELF-RST (activated to 1 and deactivated in the next pass by the PLC). F001 = UNSIGNED INT 16 BIT (BITMASK) ![686762b02057f](serve/attachment&path=686762b02057f)

686776e597951

I found the multi-write widget and used it to attempt what i described above. Which is resulting in 4 separate write single register (06) commands and not giving me my expected results. Upon reading the GE description again it seems i need to write multiple registers (16) in the same message. Is there no suffix for an unsigned 64-bit integer in VTScada or any way to write 4 contiguous 16 bit registers in the same 16 command?

![686776e597951](serve/attachment&path=686776e597951) I found the multi-write widget and used it to attempt what i described above. Which is resulting in 4 separate write single register (06) commands and not giving me my expected results. Upon reading the GE description again it seems i need to write multiple registers (16) in the same message. Is there no suffix for an unsigned 64-bit integer in VTScada or any way to write 4 contiguous 16 bit registers in the same 16 command?
24
1
1
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft