Prosoft-technology MVI56E-MCMR Bedienungsanleitung Seite 68

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 225
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 67
Configuring the MVI56E-MCMR Module MVI56E-MCMR ControlLogix Platform
User Manual Modbus Communication Module with Reduced Data Block
Page 68 of 225 ProSoft Technology, Inc.
May 13, 2014
Read Coil Status 0x (Modbus Function Code 1)
Modbus Function Code 1 reads the Coils addressed at 0001 to 9999 from a
slave device. These are bit values that are read using Modbus Function Code 1,
and can be written to using Function Code 5 or 15. Within a Slave device, this is
an individual bit value. Thus, the Internal Address field must be defined down to
the bit level within your MasterCmd.
The following illustration shows a sample command to read Modbus addresses
0321 to 0480 from Modbus Slave Device Address 1.
Parameter
Description
Enable = 1
The module will send the command every time it goes through the
command list.
Internal Address = 16320
Places the data read from the slave device into the module at
address 16320. Internal Address 16320 of the module memory will be
copied into the tag MCMR.DATA.READDATA[20] because 16320
represents a bit address within the memory of the MVI56E-MCMR
module (16320 / 16 = register 1020).
Reg Count = 160
Reads 160 consecutive bits from the Slave device.
Node Address = 1
Issues the Modbus command to Modbus Slave Device Address 1.
Modbus Function =1
Issues Modbus Function Code 1 to Read Coils.
MB Address in Device =
320
Function Code 1, MB Address in Device of 320 will read address
0321
Along with a count of 160, this command reads 0321 to 0480.
Seitenansicht 67
1 2 ... 63 64 65 66 67 68 69 70 71 72 73 ... 224 225

Kommentare zu diesen Handbüchern

Keine Kommentare