Step 2.2: Creating a TwinCAT PLC project

For realising a standard data exchange between TwinSafe PLC and PLC controller, you have to create a TwinCAT project with variables.

AT%Q = output variables (point of view PLC controller)

AT%I = input variables (point of view PLC controller)

Siehe 'PLC project'.

 

First the variables must be creating inside the TwinCAT PLC project. Further you can use them with the TwinCAT System Manger.

 

The variables boSafePLC_Run_Stop and boSafePLC_ERR_Ack are subsequently used to start / stop the SafePLC. The commanding is done by the PLC controller.

 

 

Not applicable at TwinCAT PLC and TwinSAFE PLC combination.

For realising a standard data exchange between TwinSafe PLC and AMK controller, you can create more variables.

The variables by_IN_Data_0 and by_OUT_Data_0 can used freely.