HMI, activate LED of H315/H410

Question:

How can the LEDs of the Lenze keypads H315 and H410 be activated by the PLC?

Answer:

Design in the HMI Designer:

First, create a device memory area in the HMI designer. By the device memory area a related memory area is defined in the PLC. Please consider the following steps:

  • Open the Project Editor of the HMI Designer.
  • Mark the project component device memory areas and click on New.
  • Please select a channel with the data size WORD (e.g. Parameter channel 2 WORD) in the device data area of the dialogue device memory areas and define the number of the data words (H315:length=1, H410:length=2).
  • In the dialogue project memory areas please define the code digit and the subcode in the PLC, e.g. code=2500aund subcode=1.
  • Close the input with OK.
  • Then define a data exchange area, which enables the PLC to activate the LEDs of the keypad.

  • Mark the project component data exchange areas.
  • Activate the data exchange areas by the corresponding switch in the dialogue data exchange areas.
  • As data area type please select the command area and select the command area for the green LED (fixed light) in the list.
  • Link the field data area-source and the above-created device memory area.
  • Close the input with OK.
  • The content of the device memory area is evaluated cyclically by the data exchange area.

    Design in the Drive PLC Developer Studio (DDS):

    Via the code digits defined in the device data area of the HMI Designer Project the LEDs of the connected keypad can be activated by the PLC. The Bit with the lowest value in the code digit influences the LEC by the help of key F1.

    In this example the code digit C2500 subcode 1 is used as device memory area. This code digit is connected with the absolute flag area of the PLC. If now the absolute address %MX0.0 TRUE is assigned to a variable, the LEC of key F1 will light up.

    Information:

    Code digits > C3000 can also be defined as device memory area. In this case the code digit must be created in the instance Parameter manager of the DDS. It has to be considered, that this code digit does not have the format reference point (see instance Parameter manager - ext. data type).


    URL for linking this AKB article: https://www.lenze.com/en-de/go/akb/20010984/1/

    Further information

    Contact form