ProSoft Technology MVI56E-MCMR User Manual

Page 69

Advertising
background image

MVI56E-MCMR ♦ ControlLogix Platform

Configuring the MVI56E-MCMR Module

Modbus Communication Module with Reduced Data Block

User Manual

ProSoft Technology, Inc.

Page 69 of 225

May 13, 2014

Read Input Status 1x (Modbus Function Code 2)

Use this command to read Input Coils from a slave device. These are single bit
addresses within a Modbus slave device. Unlike Coils 0x, the Input Coils are
Read Only values and cannot be written to by a Modbus Master device. Also like
the Coils 0x, the Internal Address field of this command is defined down to the bit
level within the module memory.

The following illustration shows a sample command to read Modbus addresses
10081 to 10090 of 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 = 16480

Places the data read from the slave device into the module at
address 16480. Internal Address 16480 of the module memory will be
copied into the tag MCMR.DATA.R

EAD

D

ATA

[30]

(bit16480 / 16 =

register 1030).

Reg Count = 16

Reads 16 consecutive registers from the slave device.

Node Address = 1

Issues the Modbus command to Modbus Slave Device Address 1.

Modbus Function =2

Issues Modbus Function Code 2 to Read Input Coils.

MB Address in Device = 80 Function Code 2, MB Address in Device of 80 will read address

10081
Along with a count of 16, this command reads 10081 to 10096.

Advertising