Configuration in the TwinCAT System Manager

 Unlike the PC interface, the communication parameters

are automatically set by the PLC application, so that following the exchange of a terminal and a subsequent restart, this terminal is correctly set.

The linking of the process image to the PLC input and output variables can be accomplished most simply from the hardware side since multi-links are possible from there. The variables must be visible in the right-hand side of the TwinCAT System Manager for this.

Configuration in the TwinCAT System Manager 1:

First, just the status is linked with the status variable of the communication input. Note that when doing so the structure for PC communication must be selected.

Configuration in the TwinCAT System Manager 2:
Configuration in the TwinCAT System Manager 3:

After that the data bytes can be conveniently linked to the corresponding variables by multi-link. The selection of several variables can be achieved by clicking on “Data1” and pressing the ↓ key with the Shift key pressed.

Configuration in the TwinCAT System Manager 4:
Configuration in the TwinCAT System Manager 5:

The output variables must be linked in the same way:

Configuration in the TwinCAT System Manager 6:
Configuration in the TwinCAT System Manager 7:
Configuration in the TwinCAT System Manager 8:
Configuration in the TwinCAT System Manager 9:
Configuration in the TwinCAT System Manager 10:

Moreover, the variables of the groups WcState and InfoData have to be linked:

Configuration in the TwinCAT System Manager 11:
Configuration in the TwinCAT System Manager 12:
Configuration in the TwinCAT System Manager 13:
Configuration in the TwinCAT System Manager 14:
Configuration in the TwinCAT System Manager 15:
Configuration in the TwinCAT System Manager 16:
Configuration in the TwinCAT System Manager 17:
Configuration in the TwinCAT System Manager 18: