ProSoft Technology MVI46-DFCM User Manual

Page 59

Advertising
background image

Reference MVI46-DFCM

♦ SLC Platform

DF1 Communication Module

ProSoft Technology, Inc.

Page 59 of 103

October 20, 2008

Module Configuration Data

This block sends configuration information from the processor to the module. The
data is transferred in a block with an identification code of 9001. The structure of
the block is displayed below:

M0 Offset

Description

Length

0

9001

1

1 to 6

Backplane Set Up

6

7 to 31

Port 1 Configuration

25

32 to 56

Port 2 Configuration

25

57 to 68

Port 1 Command # 0 Definition

12

69 to 80

Port 1 Command # 1 Definition

12

81 to 1244

Port 1 Commands # 2 to # 98

1164

1245 to 1256

Port 1 Command # 99 Definition

12

1257 to 1268

Port 2 Command # 0 Definition

12

1269 to 1280

Port 2 Command # 1 Definition

12

1281 to 2444

Port 2 Commands # 2 to # 98

1164

2445 to 2456

Port 2 Command # 99 Definition

12

If there are any errors in the configuration, the bit associated with the error will be
set in one of the two configuration error words. The error must be corrected
before the module starts operating.

Slave Status Data
Slave status data sends status information of each slave device on a master port.
Slaves attached to the master port can have one of the following states:

Status Description

0

The slave is inactive and not defined in the command list for the master port.

1

The slave is actively being polled or controlled by the master port and
communications is successful.

2

The master port has failed to communicate with the slave device. Communications
with the slave is suspended for a user defined period based on the scanning of the
command list.

3

Communications with the slave has been disabled by the ladder logic. No
communication will occur with the slave until this state is cleared by the ladder logic.

Slaves are defined to the system when the module initializes the master
command list. Each slave defined will be set to a state of one in this initial step. If
the master port fails to communicate with a slave device (retry count expired on a
command), the master will set the state of the slave to a value of 2 in the status
table. This suspends communication with the slave device for a user specified
scan count (Error Delay Counter value in the module configuration for each
port). Each time a command in the list is scanned that has the address of a
suspended slave, the delay counter value will be decremented. When the value
reaches zero, the slave state will be set to one. This will enable polling of the
slave.

Advertising