
D301271 1013 - FGEN - multi protocol
10-15
Programming with CODESYS
Global variable list
The creation of a "Global Variable List" is possible, too:
right-click to "APPL
→
Add object
→
Global Variable List".
Define the global variables The global variables are also automatically exported when building the
project, if they have been chosen for export in the symbol configuration. (see also
,
).
10.3.9
Modbus channels
The communication between Modbus TCP master and Modbus slaves is realized through defined
Modbus channels.
These channels are set in the register-tab "Modbus Slave Channel" using the "Add Channel..." button.
The process data of a slave can then be monitored under
"ModbusTCPSlave I/O Mapping" (see
,
The Modbus communication channels are defined by:
"Access Type":
Modbus function code, which defines the access method (bit- or word wise, read or write).
"READ Register" or "WRITE Register"
→
"Offset":
Specification of the start address for the Modbus Slave's register that has to be read or written.
These specifications have to be taken from the slave's Modbus documentation!
Figure 10-14:
Setting the
Modbus chan-
nels, examples
Summary of Contents for FGEN-AIM Series
Page 1: ...USER MANUAL FGEN AIM stations with multi FUNTIONALITY Sense it Connect it Bus it Solve it...
Page 8: ...D301271 1013 FGEN multi protocol vi...
Page 14: ...About this manual D301271 1013 FGEN multi protocol 1 6...
Page 42: ...Digital inputs FGEN IM16 x001 D301271 1013 FGEN multi protocol 4 4...
Page 46: ...Digital outputs FGEN OM16 x001 D301271 1013 FGEN multi protocol 5 4...
Page 126: ...Implementation of Modbus TCP D301271 1013 FGEN multi protocol 9 22...
Page 186: ...Guidelines for Electrical Installation D301271 1013 FGEN multi protocol 13 8...