Read parameters from subcomponent

The following application example shows how the power-applied hours of the safety card can be read.

  1. Determine the EtherCAT® address of the inverter. You can find the EtherCAT® address, for example, in the network view in MOVISUITE®. INFORMATION: For double axes, consider whether you want to read the parameter of the left or right axis. The EtherCAT® address is identical for both.
  2. Determine the index, subindex, and offset of the parameter to be read. To do so, move the mouse pointer over the parameter.
    • The parameter properties are displayed in a tooltip.
    • In this example, the value of the "Power-applied hours" parameter is read. The parameter has index 8328, subindex 1, and no offset.
  3. Determine the ID of the corresponding subcomponent. See Acyclic parameter channel.
    • In this example, the value is read from a safety card. This has the subcomponent ID 4
  4. Send the EtherCAT® address, the required service (read parameter), and the determined values for index, subindex, offset, and ID of the subcomponent to the drive via the process data. For double axes, also set the bit "MDD" and for parameters from the right axis, also set the bit "MDD_Axis1_2" to "TRUE" ("for the left axis, the bit remains "FALSE").
  5. Start the read process by setting the "Start" bit in the control word to "TRUE".
  • If the write process has been completed successfully, the result is output via PI 7 / PI 8 and the "Done" bit is set to "TRUE". If an error has occurred, the "Error" bit is set to "TRUE" and the error code is output via PI 2 of the MOVI-C® CONTROLLER.