Controlling PLC coil registers status using MODBUS TCP (MODBUS data parser, custom scripts, events generating, and handling).Copy settings from the MODBUS Poll utility.Copy settings from Simply MODBUS RTU Master to our Modbus Data Logger.MODBUS: What is the right way to poll multiple devices?. MODBUS: How to combine the data of two requests?.MODBUS polling: How to view MODBUS register values in a more easy-to-grasp form (graphs, indicators, etc.)?.MODBUS polling: How to make sure that the application correctly interprets the responses received from the device?.MODBUS poll: How to view register values, not raw MODBUS packets?.MODBUS poll: How to make sure that the application sends requests and receives responses?.MODBUS RTU/TCP polling: Configuring master station (MODBUS RTU, MODBUS TCP, requests, response items).Sunspec-compatible MODBUS power meters, inverters (easy method).MODBUS power meter data logging ( easy method).Related articles: MODBUS RTU, MODBUS ASCII, MODBUS/TCP If the item exists, the plugin uses the value from the event instead of the default value. The MODBUS plugin searches for a response item with the "VALUE" name. It allows you to specify a value and the MODBUS offset in the event. The "Script Execute" plugin can send one or more named values with the event signal. Keep in mind the filter plugin cannot generate events if it did not receive data from the parser. A filter plugin analyzes data for every request and sends an event to the MODBUS plugin when it is necessary. Now, the MODBUS plugin sends requests and parses responses for periodic requests. Click the "OK" button and save all settings.ħ. Therefore it can only compare equal values. Events generator - the simplest plugin, but it operates with text data. The script sends an event if the "VALUE" incoming value is greater than 100.ĥ.3. It allows implementing any logic, but it requires some programming skills (fig. Script execute - the most flexible plugin. 5: Expressions plugin SEND_EVENT_IF(VALUE > 100, 'WRITE')ĥ.2. The expression in this example compares the "VALUE" incoming value (from the "Read" request), and generates an event if the value is greater than 100.įig. Expressions - the simple plugin, but it includes all necessary operations (fig. Configure any of three filter plugins to generate the "WRITE" event on the necessary conditions.ĥ.1. The "Default value" property defines a value to be written.ĥ. The "Response items" group actually defines items to write. You may use another identifier, but you should change in the next steps too. Then specify the "WRITE" event identifier.
0 Comments
Leave a Reply. |