Linking Variables - Beckhoff CX B110 Series Manual

Ethercat slave optional interface for cx9020, cx5xx0 and cx20xx
Table of Contents

Advertisement

5.3.7

Linking variables

Once the PLC project was successfully added in the System Manager, you can link the newly created input
and output variables from the PLC project with the inputs and outputs of your hardware.
Prerequisites for this step:
• A PLC program attached in TwinCAT.
Link the variables as follows:
1. Double-click on the input or output variables in the tree view under PLC.
The Attach Variable window appears and shows which inputs or outputs can be linked with the
variables from the PLC project.
2. Double-click on the inputs or outputs of the hardware in the Attach Variable window.
Link the input variables with the inputs and the output variables with the outputs of the hardware.
Variables that are already linked are indicated with a small arrow icon in TwinCAT.
3. In the toolbar click on Activate Configuration.
4. Confirm the request whether TwinCAT is to start in Free Run mode with Yes.
ð You have successfully linked variables with the hardware. Use Activate Configuration to save and
activate the current configuration.
The configuration can now be loaded on the CX, in order to automatically start TwinCAT in Run mode,
followed by the PLC project.
CXxxxx-B110
Parameterization and commissioning
Version: 1.3
47

Advertisement

Table of Contents
loading

Table of Contents