Status data, User data, Slave polling control and status – ProSoft Technology MVI71-MCM User Manual
Page 29: Using side-connect (requires side-connect adapter)

Installing and Configuring the Module
MVI71-MCM ♦ PLC Platform
Modbus Communication Module
ProSoft Technology, Inc.
Page 29 of 111
December 28, 2007
Status Data
This data area views the status of the module. Refer to MVI71-MCM Status Data
Definition (page 85) for a complete listing of the data stored in this object. When
the side-connect interface is used, this data is automatically updated in the
configuration file (for example, N10:) starting at offset 200 approximately every
second and does not include the first two registers. For the block transfer
interface, the module generates blocks with a BTR block identification code of -1.
Ladder logic must transfer this information into a user data file.
2.2.5 User
Data
Data in the module's internal database in the register range of 0 to 4999 is
available to the processor. The parameters set in the configuration determine the
set of data that is transferred from the module to the processor (read data) and
that transferred from the processor to the module (write data). If the block
transfer interface is used, ladder logic is required to handle the transfer of data
between the processor and the module. BTR messages are required to handle
data read from the module, and BTW messages are required to handle data
written to the module. When the side-connect interface is used, the data is
directly transferred between the module and the user data files without the ladder
logic requirement.
2.2.6 Slave Polling Control and Status
The status data can be used to determine which slaves are currently active on
the port, are in communication error, or have their polling suspended and
disabled. Special blocks (block transfer interface) or control command (side-
connect interface) are required to interface with this data. Using block
(command) 3000 or 3100, slaves can be disabled for polling. They can be
enabled using block (command) 3001 or 3101. Blocks 3002 to 3006 or 3102 to
3106 request the current status of each slave in the module.
2.2.7 Using Side-Connect (Requires Side-Connect Adapter)
If the side-connect interface is used, make sure the file SC_DATA.TXT on the
Compact Flash Disk contains the correct configuration file number. You can run
the setdnpsc.exe program to set the configuration file number to be used with
your application.
Install the module in the rack and turn on the power. Connect the terminal server
to the module's debug/configuration port and exit the program by pressing the
Esc key followed by the "Y" key. This causes the program to exit and remain at
the operating system prompt. Run the setdnpsc.exe program with a command
line argument of the file number to use for the configuration file. For example, to
select N10: as the configuration file, enter the following:
SETDNPSC 10
Note:
The SETDNPSC.EXE utility will only set the N file number between 10 and 933.