Application

The following section provides instructions on how to integrate the TcPowerMeasureEL3453 into a TwinCAT project and connect it to a EL3453 in order to use the module in the application.

  1. Add a new module at TcCOM Objects by right-clicking and Add New Item….
    Application 1:
  2. Use Search of EL3453 to select the TcPowerMeasureEL3453 module. Enter a name and click on OK.
    Application 2:
  3. Assign a task to the module at Context.
    Application 3:
  4. At Data Area, select the desired and related data areas using the checkbox in the Enable column.
    Application 4:
  5. Under I/O Devices, select the EL3453 and select DC-Synchron as the Operation Mode via the DC tab.
    Application 5:
  6. Under Process Data, select the process data using the Predefined PDO Assignment according to the previously selected inputs/outputs (see DataAreas).
    Application 6:
  7. Under the Plc tab, activate Create PLC Data Type without using Per Channel, then click on Link To PLC….
    Application 7:
  8. Under Link To PLC…, select the module you created earlier and click OK to establish the link between the terminal and the module. If the module is not listed, the PDO configuration of the terminal does not match the process data of the module (see DataAreas).
    Application 8:
  9. In addition, link the EtherCAT diagnostic information from WcState, EcState and AmsAddr between the module and terminal as follows.
    Application 9:

    Application 10:

    Application 11:
  10. At Data Area of the module, the desired measurement data can be activated at Measures via the checkbox Enable (see Measurement data).
    Application 12:
  11. The desired settings for the module, terminal and data processing can be made at Parameter (Init) of the module.
    Application 13:
  12. This configuration is executed by Activate Configuration and starting TwinCAT on a target system. The bValid under the Measure Data Area in the Diag structure can be used to quickly identify valid measurement data. Otherwise, the messages from TwinCAT should be checked in the Output window.
    Application 14: