Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.
Kommentar: Mittels Scroll Versions veröffentlicht aus dem Bereich GVH und Version 1.0.

...

Sv translation
languageen


Reading out from a UMG 103 using a UMG 604 with GridVis®.

The Communication programming element module is required for the graphic programming of Modbus devices. This includes the elements Read/write Modbus or Profibus.



Create the JASIC program (see JASIC-Start).

Required components provided in the Palette window: Repeater, group, read Modbus, user variable (numeric).



Configuration of the read Modbus function:

  1. Modbus function
    We use the Modbus function Read holding registers (fc=3) to read a value.
  2. Slave address
    Device address of slave. Here it is the UMG 103 address.
  3. Modbus address
    In the Modbus address list for the UMG 103, you will find the corresponding Modbus address for each measured value.
  4. Variables
    Add a variable via the Add value button.
    Assign the variable a name and select a format for the variable in accordance with the Modbus address list.
    Expand the variable list accordingly if other required variables follow the selected Modbus address directly.
    A new read Modbus function has to be added and configured for variables that do not come directly after the following variable addresses.

The Modbus functions used must be supported by both devices.



Configuration of the User variable function:

  1. Variable name
    The variable name must start with _gbl if this variable is to be used as a Global variable.
  2. Variable type
    The variable must be a Global variable type, in order to facilitate its access by other programs.
  3. Available for Modbus
    In the UMG 604, the Modbus address range 20000-32000 is reserved for user-defined variables.
    We have assigned the variable _gbl_ULN1 used in our example to the available address 20000.
    The next free address is 2004.

Sv translation
languagees


Lectura de un UMG 103 a través de un UMG 604 con GridVis®.

Para la programación gráfica de dispositivos Modbus, usted necesita el módulo Communication programming element (Elemento de programación comunicación). Esto incluye los módulos Read/write (Leer/escribir) Modbus o Profibus.

Image Added



Cree el programa JASIC (véase JASIC-Start).

Componentes requeridos de la ventana de paleta: Repeater (Repetidor), Group (Grupo), Read Modbus (Leer Modbus), User variable (numeric) (Variable de usuario (Numérica)).

Image Added



Configuración de la función Read Modbus (Leer Modbus):

  1. Función Modbus
    Para la lectura de un valor utilizamos la función Modbus Read Holding Registers (fc=3).
  2. Dirección esclavo
    Dirección del dispositivo esclavo. En este caso, la dirección del UMG 103.
  3. Dirección Modbus
    En la lista de direcciones Modbus para el UMG 103 encontrará para cada valor de medición la dirección Modbus correspondiente.
  4. Variables
    Agregue una variable a través del botón Add value (Agregar valor).
    Asigne un nombre para la variable y seleccione un formato de acuerdo con la lista de direcciones Modbus.
    Si otras variables requeridas siguen directamente a la dirección Modbus seleccionada, amplíe de forma correspondiente la lista de variables.
    Para las variables que no se encuentren directamente en las direcciones de variables subsiguientes, deberá agregar y configurar una nueva función Read Modbus (Leer Modbus).

Las funciones Modbus utilizadas tienen que ser compatibles con ambos dispositivos.

Image Added



Configuración de la función User variable (Variable de usuario):

  1. Nombre de la variable
    El nombre de la variable debe comenzar con _gbl si esta variable se utiliza como variable global.
  2. Tipo de variable
    Para facilitar el acceso a la variable a otros programas, la variable debe ser del tipo variable global.
  3. Disponible para Modbus
    En el UMG 604, el rango de direcciones Modbus 20000-32000 está reservado para variables definidas por el usuario.
    Asignamos la variable utilizada en nuestro ejemplo _gbl_ULN1 a la dirección libre 20000.
    La siguiente dirección libre es la dirección 20004.

Image Added