76
PowerScout HD
RTU Programming & Scripting
Step 4) Putting it all together
VIA MODBUS RTU (SERIAL) USING FUNCTION CODE 6 / WRITE SINGLE REGISTER
ID FC ADDR DATA CRC (note CRC order is swapped)
01 06 08 AA 42 C8 9A BC
01 06 08 AB 00 00 FA 4A
VIA MODBUS RTU (SERIAL) USING FUNCTION CODE 16 / WRITE MULTIPLE REGISTER
ID FC ADDR #REGS LN DATA0 DATA CRC
01 10 08 AA 00 02 04 42 C8 00 00 8B EE
VIA MODBUS TCP (ETHERNET) USING FUNCTION CODE 6 / WRITE SINGLE REGISTER
TXNID PROID LENGT ID FC ADDR DATA (TXNID will be arbitrary)
01 87 00 00 00 06 01 06 08 AA 42 C8
01 88 00 00 00 06 01 06 08 AB 00 00
VIA MODBUS TCP (ETHERNET) USING FUNCTION CODE 16 / WRITE MULTIPLE REGISTER
TXNID PROID LENGT ID FC ADDR #REGS LN DATA0 DATA1
01 87 00 00 00 0B 01 10 08 AA 00 02 04 42 C8 00 00
COMMANDS REQUIRING A PROCESSOR RESET
Register manipulation of communication protocols or addressing require that the PSHD performs a “soft
reset” in order to take effect. Register 2100 can receive a user command to facilitate this process.
BACnet users write a “1” and Modbus users write “1234” to affect a soft reset. The PSHD reboot time is
approximately 10 seconds.
See the Modbus examples document on the DENT Instruments web site or included with your electronic
documentation for additional support on programming Modbus. The following online resources are also
helpful (DENT Instruments has no affiliation with any of these organizations).
http://Modbus.org/docs/PI_MBUS_300.pdf
http://www.Modbustools.com/Modbus.html
http://www.simplyModbus.ca/TCP.htm
http://www.tahapaksu.com/crc/
Windows Calculator (Programmer mode)
w ww. . com
information@itm.com1.800.561.8187