Parameterization and commissioning
CXxxxx-M510/B510
68
Version: 1.0
5.3.9
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.
Содержание CX-B510 Series
Страница 2: ......
Страница 36: ...TwinCAT tabs CXxxxx M510 B510 36 Version 1 0 4 3 CANopen slave 4 3 1 CAN node 1 3 7 11 13 5 6 2 12 8 9 4 10...
Страница 80: ......