ProSoft Technology 5202-DFNT-DFCM4 User Manual
Page 48

Reference
DFCM ♦ ProLinx Gateway
Driver Manual
DF1 Master/Slave
Page 48 of 88
ProSoft Technology, Inc.
October 15, 2010
Example DF1 Port 1 Command List Errors
Internal Database
Address (Example)
Offset
Description
6310
0
Command #0 Error Status
6311
1
Command #1 Error Status
6312
2
Command #2 Error Status
6313
3
Command #3 Error Status
6314
4
Command #4 Error Status
.
.
.
.
.
.
6407
97
Command #97 Error Status
6408
98
Command #98 Error Status
6409
99
Command #99 Error Status
Note that the values in the Command List Error Status tables are initialized to
zero (0) at power-up, cold boot and during warm boot.
8.1.5 Master Port: DF1 Slave List Status
Each slave polled in the command list on the DF1 master ports has a reserved
word value for a status code. This status data list can be read using the
Configuration/Debug Port and can be placed in the module’s internal database.
The first word in the register location defined contains the status code for the
DF1 slave node address 0. Each successive word in the list is associated with
the next node up to slave node 255.
Slaves attached to the master port can have one of the following states:
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
communication is successful.
2
The master port has failed to communicate with the slave device. Communication
with the slave is suspended for a user defined period based on the scanning of the
command list.
Slaves are defined to the system when the module initializes the master
command list. Each slave defined will be set to a state value of 1 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 configuration). 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 1. This will enable polling of the slave.