Application
The following section provides instructions on how to integrate the TcPowerMeasureEL3443
into a TwinCAT project and connect it to a EL3443 in order to use the module in the application.
- Add a new module at
TcCOM Objects
by right-clicking andAdd New Item…
. - Use
Search
of EL3443 to select theTcPowerMeasureEL3443
module. Enter a name and click onOK
. - Assign a task to the module at
Context
. - At
Data Area
, select the desired and related data areas using the checkbox in theEnable
column. - Under
I/O Devices
, select the EL3443 and selectDC-Synchron
as the Operation Mode via theDC
tab. - Under
Process Data
, select the process data using thePredefined PDO Assignment
according to the previously selected inputs/outputs (see DataAreas). - Under the
Plc
tab, activateCreate PLC Data Type
without usingPer Channel
, then click onLink To PLC…
. - Under
Link To PLC…
, select the module you created earlier and clickOK
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). - In addition, link the EtherCAT diagnostic information from
WcState
,EcState
andAmsAddr
between the module and terminal as follows. - At
Data Area
of the module, the desired measurement data can be activated atMeasures
via the checkboxEnable
(see Measurement data). - The desired settings for the module, terminal and data processing can be made at
Parameter (Init)
of the module. - This configuration is executed by
Activate Configuration
and starting TwinCAT on a target system. ThebValid
under theMeasure
Data Area in theDiag
structure can be used to quickly identify valid measurement data. Otherwise, the messages fromTwinCAT
should be checked in theOutput
window.