User Tools

Site Tools


terra4d:moxa

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
terra4d:moxa [2019/07/11 14:28]
wikiadmin
terra4d:moxa [2022/07/28 10:10] (current)
editor [Other hints]
Line 27: Line 27:
     * create a IO device of type Modbus and select SubType "Output"     * create a IO device of type Modbus and select SubType "Output"
     * IP port: 502, Server address: 0, Start address: 0, Output number: 0...N      * IP port: 502, Server address: 0, Start address: 0, Output number: 0...N 
 +  * Input register (e.g. for PWM counter):
 +    * create a IO device of type Modbus and select SubType "Input register"
 +    * IP port: 502, Server address: 0, Start address: 17, Input number: 0...N 
 +  * Analog Input:
 +    * create a IO device of type Modbus and select SubType "Analog Input"
 +    * IP port: 502, Server address: 0, Start address: 520, Input number: 0...N 
 +    * Configure low/high threshold depending on application to generate events when reading goes outside the expected range.
 +
  
 ===== Other hints ===== ===== Other hints =====
-Login to the browser page of the Moxa device to see the status of inputs and outputs and also other information.+  * Within the device web page, in the main menu, within User-Defined Modbus Addressing, select Analog Inputs, Digital Input/Outputs (or similar): 
 +     * Make sure "Enable Modbus/TCP Slave Protocol" is enabled 
 +     * Within the table all the addresses of the available data points are listed. E.g. "AI Scaling Value (Float)" at "0520" as Input Register (read-only), Reference Address "30521" 
 +     * Within Terra4D use "Analog Input" with the address 520 (the 30000 is automatically added by selecting Analog Input). 
 + 
 + * [[https://store.chipkin.com/products/tools/cas-modbus-scanner|CAS Modbus Scanner]] Tool to read/check Modbus device and see the values returned by the device.
terra4d/moxa.1562855325.txt.gz · Last modified: 2019/07/11 14:28 by wikiadmin