![modbus server example modbus server example](https://i.ytimg.com/vi/_YZfJopKyK4/maxresdefault.jpg)
AN31: Node-RED example of XML communication with NETIO 4xįlow (Node-RED script) for AN32a (tutorial version):Īctions applicable to each output (electrical socket).AN30: Node-RED example of REST JSON communication with NETIO 4x.AN29: Node-RED example of URL API communication with NETIO 4x.To read the output states and measured values, periodic reading of registers is used ( Read Holding Registers (0x03)).ĭetails about the M2M protocol: Modbus / TCP - description of NETIO M2M API interface - PDFĪN32: Node-RED example of Modbus/TCP communication with NETIO 4x / PowerCable ), as long as the device is capable of measuring them. The dashboard periodically updates (every 1 s) the states of all outputs as well as the measured electrical values from the NETIO 4x device (current, voltage, total load, frequency, short time. There are five buttons for each output displayed in the Dashboard to call the five possible actions that can be performed with the given output (off, on, short off (restart), short on, toggle) using a Modbus Flex Write node ( Write Single Register (0x06)). To read the output states and measured values, periodic reading of registers is used ( Read Holding Registers (0x03)).ĪN32b, the second Node-RED flow example, demonstrates complex control of all outputs from the Node-RED Dashboard. The Dashboard periodically (every 1 s) updates the states of all outputs as well as the measured electrical values from the NETIO 4x device (frequency, voltage, total load), as long as the device is capable of measuring them. 1 from the Dashboard that runs in the Node-RED environment.įive buttons displayed in the Dashboard call the five possible actions that can be performed with the output (off, on, short off (restart), short on, toggle) using a Modbus Flex Write node ( Write Single Register (0x06)). The AN32a Node-RED flow example demonstrates the control of output no.
![modbus server example modbus server example](https://i.ytimg.com/vi/EqfY7EyXu4w/maxresdefault.jpg)
AN32b is a complete version that can be used in practice for your Node-RED projects it takes into account possible issues with timing, multiple simultaneous requests, and so on.AN32a is a demonstration/tutorial example to show the control of output 1.The AN32 Application Note shows two examples of working with NETIO smart outlets using the Modbus/TCP protocol. Supported devices: NETIO 4All, PowerPDU 4C, NETIO 4, PowerCable Modbus 101x, PowerBOX 3Px, PowerPDU 4PS, PowerDIN 4Pz, PowerBOX 4Kx, PowerPDU 8QS