Commissioning
EL125x, EL2258
58
Version: 2.5
Fig. 58: Application of a "Goto Link" variable, using "MAIN.bEL1004_Ch4" as a sample
The process of assigning variables to the PDO is completed via the menu selection "Actions" → "Generate
Mappings”, key Ctrl+M or by clicking on the symbol
in the menu.
This can be visualized in the configuration:
The process of creating links can also take place in the opposite direction, i.e. starting with individual PDOs
to variable. However, in this example it would then not be possible to select all output bits for the EL2008,
since the terminal only makes individual digital outputs available. If a terminal has a byte, word, integer or
similar PDO, it is possible to allocate this a set of bit-standardised variables (type "BOOL"). Here, too, a
"Goto Link Variable” from the context menu of a PDO can be executed in the other direction, so that the
respective PLC instance can then be selected.
Activation of the configuration
The allocation of PDO to PLC variables has now established the connection from the controller to the inputs
and outputs of the terminals. The configuration can now be activated. First, the configuration can be verified
via
(or via "Actions" → "Check Configuration”). If no error is present, the configuration can be
activated via
(or via "Actions" → "Activate Configuration…") to transfer the System Manager settings
to the runtime system. Confirm the messages "Old configurations are overwritten!" and "Restart TwinCAT
system in Run mode" with "OK".
A few seconds later the real-time status
is displayed at the bottom right in the System Manager.
The PLC system can then be started as described below.
Starting the controller
Starting from a remote system, the PLC control has to be linked with the Embedded PC over Ethernet via
"Online" → “Choose Run-Time System…":