ProSoft Technology MVI46-DFCM User Manual
Page 60

MVI46-DFCM ♦ SLC Platform
Reference
DF1 Communication Module
Page 60 of 103
ProSoft Technology, Inc.
October 20, 2008
In order to read the slave status table, ladder logic must be written and the slave
status data must be located in the user data area. The module will constantly
update the user defined data area with the slave data for each DF1 master port.
This data can be transferred to a user-defined file in the processor using the
COP instruction.
Ladder logic can be written to override the value in the slave status table to
disable slaves (state value of 3) by sending a special block of data from the
processor to the slave. Port 1 slaves are disabled using block 3000, and Port 2
slaves are disabled using block 3100. Each block contains the slave node
addresses to disable. The structure of the block is displayed below:
M1 Offset
Description
Length
7800
3000 or 3100
1
7801
Number of Slaves in Block
1
7802 to 7927
Slave
indexes
126
The module will respond with a block with the same identification code received
and indicate the number of slaves acted on with the block. The format of this
response block is displayed below:
M0 Offset
Description
Length
0
3000 or 3100
1
1
Number of slaves processed
1
Ladder logic can be written to override the value in the slave status table to
enable the slave (state value of 1) by sending a special block. Port 1 slaves are
enabled using block 3001, and Port 2 slaves are enabled using block 3101. Each
block contains the slave node addresses to enable. The format of the block is
displayed below:
M1 Offset
Description
Length
7800
3001 or 3101
1
7801
Number of Slaves in Block
1
7802 to 7927
Slave indexes
126
The module will respond with a block with the same identification code received
and indicate the number of slaves acted on with the block. The format of this
response block is displayed below:
M0 Offset
Description
Length
0
3001 or 3101
1
1
Number of slaves processed
1