EL6090 - Example for using counters and timers
The following example shows the required links and the commissioning of an EL6090.
First set the process data for the EL6090. For the example only one counter and one timer should be used.
In the output PDOs only activate object 0x1601.
 Fig.130: Activating PDO 0x1601
Fig.130: Activating PDO 0x1601In the inputs only activate PDO 0x1A01.
 Fig.131: Activating PDO 0x1A01
Fig.131: Activating PDO 0x1A01Link the following variables: "green" are the data from the terminal for displaying the content of the counters and timers, "red" is used in the example for the CoE transfer that triggers manual saving of the data on the EL6090, "blue" is the control [Ctrl] word for starting and resetting of timer and triggering of the counter reset.
 Fig.132: Linking the process data in the System Manager
Fig.132: Linking the process data in the System ManagerShort description:
Sample:  Download (example file)
 Download (example file)
Was created for a CX8090, although it can be used for any TwinCAT 2.1x system. Download (example file)
 Download (example file)
Version for TwinCAT 3.x systems.