6F8C0845
87
4.4 User Function Block for Slave Data Input/Output
4
WRITE_DT
Structural data type Output data to slave device
WRITE_DT structure:
WPOL[0]
WORD type
Polling output data (0)
WPOL[1]
WORD type
Polling output data (1)
~
~
~
WPOL[127] WORD type
Polling output data (127)
WBS[0]
WORD type
BS output data (0)
WBS[1]
WORD type
BS output data (1)
WBS[2]
WORD type
BS output data (2)
WBS[3]
WORD type
BS output data (3)
READ_DT Structural data type Intput data from slave device
READ_DT structure:
RPOL[0]
WORD type
Polling input data (0)
RPOL[1]
WORD type
Polling input data (1)
~
~
~
RPOL[127]
WORD type
Polling input data (127)
(3) Description of operation
Figure 4-19 Input/Output Data Area Batch Access Function Block Data Input/Output
Input Argument
Output Argument
REQ
BOOL type
Execution enabled DONE
BOOL type
Completed
CH
WORD type
Channel No.
ERR
BOOL type
Error
UNIT
WORD type
Unit No.
STATUS
WORD type
Station status
SLOT
WORD type
Slot No.
READ_DT
Data structural
type
Input data from
slave device
N_RPOL
UINT type
No. of polling input
words
N_WPOL
UINT type
No. of polling
output words
WRITE_DT
Data
structural type
Output data to
slave device
DN611
Slave device
Polling
Bit strobe
Polling/bit strobe
input data area
Polling output data
area
Bit strobe output
data area
READ_DT
(RPOL)
WRITE_DT
(WPOL)
WRITE_DT
(WBS)
Input data
register area
Output
area
register
area
S controller