User Tools

Site Tools


terra4d:moxa

Differences

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

Link to this comparison view

Next revision
Previous revision
terra4d:moxa [2019/03/29 13:44]
editor created
terra4d:moxa [2022/07/28 10:10] (current)
editor [Other hints]
Line 1: Line 1:
-====== VideoLAN VLC plugin ====== +====== Moxa IO device through Modbus ====== 
-TERRA 4D comes with a VLC plugin which allows integration of video streams +TERRA 4D comes with a Modbus plugin which allows integration of different types of Modbus devicesHere we focus on Moxa devices.
-With that plugin videos from several sources and many video formats can be displayed in TERRA 4D Viewer.+
  
 ===== Supported features: ===== ===== Supported features: =====
Line 9: Line 8:
  
 ===== Installation instructions: ===== ===== Installation instructions: =====
-=== Moxa IOxpress software === +=== Webbrowser: === 
-  Connect the Moxa device to Ethernet and install the Moxa IOxpress software (download from Moxa website) +  * Connect the Moxa device to Ethernet and open the browser 
-  Start the Moxa IOxpress and select Device/Search... to find your device +  * Connect to address 192.168.127.254 which is normally the default IP address of the Moxa devices 
-  Main things to configure: Security/Service Setting/Modbus, Network/LAN, IO/Channel Mode (especially for DIOs)  +  * Main things to configure: Password, Security/Service Setting/Modbus!!!, Network/LAN, IO/Channel Mode (especially for DIOs)  
-=== TERRA 4D Configurator === +  * alternatively you can use IOxpress software  
-  create a subsystem plugin device Modbus with default settings +=== Moxa IOxpress software: === 
-  create a IO device of type Modbus and select SubType "Input" +  Connect the Moxa device to Ethernet and install the Moxa IOxpress software (download from Moxa website) 
-  IP port: 502, Server address: 0, Start address: 0, Input number: 0...N +  Start the Moxa IOxpress and select Device/Search to find your device 
 +  Main things to configure: Password, Security/Service Setting/Modbus!!!, Network/LAN, IO/Channel Mode (especially for DIOs)  
 +  * on the Device Library page you find in the Deployment combobox the device actions, like up- and download of configuration files 
 +  * on the Configuration Library page you can change all settings and store it to a local file  
 +=== TERRA 4D Configurator=== 
 +  create a subsystem plugin device Modbus with default settings 
 +  * Input: 
 +    * create a IO device of type Modbus and select SubType "Input" 
 +    * IP port: 502, Server address: 0, Start address: 0, Input number: 0...N  
 +  * 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  
 +  * 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 =====
-The streaming path can always be tested in VLC player itself: menu Media/Open Network Stream...\\ +  * Within the device web page, in the main menu, within User-Defined Modbus Addressing, select Analog Inputs, Digital Input/Outputs (or similar): 
-The plugin is also useful to connect to webcam URLs.+     * Make sure "Enable Modbus/TCP Slave Protocol" is enabled 
 +     * Within the table all the addresses of the available data points are listedE.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.1553867092.txt.gz · Last modified: 2019/03/29 13:44 by editor