
6F8C0903
85
4.4 User Function Block for Slave Data Input/Output
4
(d) Of the data input to a slave device and read into the polling/bit strobe input data
area of the DeviceNet module, the number of words corresponding to N_RPOL
are read to READ_DT.
RPOL[0] to RPOL[377] corresponding to the polling/bit strobe input data areas as
shown in the table below.
Table 4.17 READ_DT Composition
(e) This function block operates as described in the table below depending on the
DN311 operation mode (synchronous/asynchronous, polling/bit strobe).
(f)Keep REQ TRUE till DONE turns TRUE.
(g) In using this function block in synchronous mode, the input output semaphors of
the DN311 are used by just one function block, so do not use two or more of this
function block per program for the same DN311.
(h) ERR and DONE are turned TRUE if an error occurs, for example.
(i) Completion status is output to STATUS.
(j) If REQ is FALSE, both DONE and ERR turn FALSE.
(k) When this function block is started (when REQ is turned TRUE), keep REQ
TRUE till DONE becomes TRUE.
Input Data
Input Area Address
RPOL[0]
0H
~
~
RPOL[377]
0179H
Table 4-17 Operation of Input/Output Data Area Batch Access Function Block
Data transfer
between S
controller and
DN311
Polling/Bit Strobe
Function Block Operation
Asynchronous
Polling
• Output data write in polling output data area
• Input data read from polling/bit strobe input data area
Synchronous
Polling
• Output data write in polling output data area
• Data exchange with slave device using polling output
data semaphore and input data semaphore
• Input data read from polling/bit strobe input data area
Asynchronous
Bit strobe
• Output data write in polling output data area
• Input data read from polling/bit strobe input data area
Synchronous
Bit strobe
• Output data write in bit strobe output data area
• Data exchange with slave device using bit strobe output
data semaphore and input data semaphore
• Input data read from polling/bit strobe input data area
Asynchronous
Both
• Output data write in polling output data area and bit
strobe output data area
• Input data read from polling/bit strobe input data area
Synchronous
Both
• Output data write in bit strobe output data area
• Data exchange with slave device using bit strobe output
data semaphore and input data semaphore
• Output data write in polling output data area Input data
read from polling/bit strobe input data area
• Data exchange with slave device using polling output
data semaphore and input data semaphore
• Input data read from polling/bit strobe input data area