SPLatco Knowledge Base

A ModBus Master script command

When processed this command will result in the SPLat master sending out a ModBus function 5 query (Force single coil), then wait for the response.

Parameters are:

ItemBit LengthDescription
SlaveAddr8An 8-bit slave address
CoilAddr1616The 16-bit, 0-based address of a coil (0xxxx reference) in the slave.
SPAddr1616A 16-bit semaphore address within the SPLat master’s RAM, counting from RAM byte 0, bit 0. For example, RAM byte 34, bit 5 would be 34×8 + 5 = 277. The value of this semaphore will be forced into the selected coil in the slave.