LAN Master | This
function block connects IO modules of the type LAN Master.
The IO modules communicate with the controller via UDP
telegrams. The main group is set on the IO module. With "Create variables" the variables are created automatically. The corresponding variables are created using the parameters "Main group" and "Number of IO modules". The IO module itself sends the addresses as set (main group 1-x); the value of the parameter Main group is added when telegrams are received and subtracted when sending, so the address range can be freely chosen. The following addresses are predefined here:
|
Inputs |
||
Outputs |
||
| TE |
Received |
Number of received telegrams |
| TG | Sent | Number of sent telegrams |
Parameters |
||
| Broadcast
address |
Broadcast address, e.g.
192.168.1.255. |
|
| First IO module | This value is only used for creating the variables. The first main group then has the value of the parameters "First IO module" + "Main group". If, for example, there are 2 IO modules in the network with the addresses 10 and 11, you can set this parameter to 10 and Number of IO modules to 2, then the variables 10 and 11 plus parameter Main group are created. | |
| Main group | This value is added when telegrams are
received and subtracted when sending, so the
address range can be freely chosen. |
|
| Number of IO modules | Number of IO modules specifies the count when creating variables; depending on the count, a corresponding number of variables is created. | |