beckhoff — 7.1 Generating a PLC Configuration

PLC Configuration | Generating a PLC Configuration Online settings in the TwinCAT PLC Control . Port Defines the AMS Port Number of the run-time system. The number shown depends on the Run-time Number described above. Target System Defines the target system for which the respective PLC code was generated. If the PLC is running on the PC, code i386 is generated. I/O at Task Begin An I/O cycle is carried out at the task start. This means a jitter-free cycle of the I/O independent of the run- time of the task (normally not activated for PLC configurations). Task cycle time interpreted as ticks This checkbox is deactivated by default.

It is only in use, when the TwinCAT Base Time [ } 54] differs from its default value of 1ms. This is e.g. the case, when a PLC Task interval less than 1ms is wanted. ReScan Re-loads the current PLC configuration into the system. Changed configurations (e.g. new I/O variables) will then appear in the System Manager configuration. Change This command enables the path for the PLC project to be adjusted. This is necessary if the project location has changed or if you want to activate another PLC project. PLC Configuration - Process Image Below the PLC project name appears an input ‘ Project Name’ - Process Image (as shown below). Further information is given under: Process Images [ } 46] .

PLC Configuration - Task Information If the tree below the process image is opened as shown below you will see the name of the task configured in the PLC project. The corresponding dialogue appears on the right-hand side in the System Manager, see Task Settings [ } 62] . As a PLC project can comprise up to 4 tasks, several task names will appear in the corresponding multitasking projects in the tree. This is shown in the diagram below for both ‘Standard’ and ‘FastTask’ tasks. TwinCAT 2 94 Version: 1.7