Sample configuration file – ProSoft Technology AN-X-PB User Manual

Page 46

Advertising
background image

Page

40

AN-X-PBSLV

January 2008

by the amount of input data defined for the node. The area and node
must be separated by a “/” character.

Some examples:

I/0

I/243

Comments

AN-X ignores anything after a semicolon on a line in the configuration
file. You can add comments to the file by preceding a comment with a
semicolon, either at the end of a line or on a separate line.

Sample Configuration File

In the following configuration, there are two AN-X modules.

the AN-X at IP address 192.168.0.9 is producing a block of data
every 100 ms. It is also consuming data from the AN-X module at
IP address 192.168.0.10 and writing it to inputs on node 1

the AN-X at IP address 192.168.0.10 is producing one block of data
every 500 ms and consuming data from the AN-X at IP address
192.168.0.9 and writing it to inputs on node 7

configuration_id,107,enable

module_ip,192.168.0.9

,produce

,,block_id,1,Timed,100

,,,Node1Outputs,U8,2,1,O/0

,,,Node2Outputs,U8,4,2,O/0

,,,Node3Outputs,U8,8,3,O/0

,,,Node3Inputs,U8,12,3,I/0

,consume

,,producer_ip,192.168.0.10

,,block_id,1,5000

,,,Node7Outputs,U8,2,1,I/0

module_ip,192.168.0.10

,produce

,,block_id,1,Timed,1000

,,,Node7Outputs,U8,10,7,O/0

Advertising