Prosoft-technology MVI56E-MCMR Manual de usuario Pagina 70

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 225
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 69
Configuring the MVI56E-MCMR Module MVI56E-MCMR ControlLogix Platform
User Manual Modbus Communication Module with Reduced Data Block
Page 70 of 225 ProSoft Technology, Inc.
May 13, 2014
Preset (Write) Single Coil 0x (Modbus Function Code 5)
Used to write a Coil of a slave device, these are single-bit addresses within a
Modbus slave device. The Internal Address field of this command is defined
down to the bit level within the module memory, and should come from an area
of memory that has been defined within the MCMR.DATA.WRITEDATA area (this
is configured within BACKPLANE CONFIGURATION).
The following illustration shows a sample command to write Modbus addresses
0513 of Modbus Slave Device Address 1, only when the data associated with the
Internal Address has changed.
Parameter
Description
Enable = 2
The module will send the command only when the data within the
Internal Address field of the module has changed.
Internal Address = 160
Will write the data to the slave device when the value at
WriteData[10].0 has changed. Because this is a bit-level command,
the Internal Address field must be defined down to the bit level.
Reg Count = 1
Will write a single bit to the device (Function Code 5 will 1 support a
count of 1).
Node Address = 1
Issues the Modbus command to Modbus Slave Device Address 1.
Modbus Function = 5
Issues Modbus Function Code 5 to write a single coil.
MB Address in Device =
512
Function Code 5, MB Address in Device of 512 will read address
0513
Vista de pagina 69
1 2 ... 65 66 67 68 69 70 71 72 73 74 75 ... 224 225

Comentarios a estos manuales

Sin comentarios