Appendix C
Bidirectional Block transfer for
PLC 3 Processors
C 4
Thus, the current encoder position is between 045 and 089 (words 4 and
5), which are the presets for output 1.
Figure C.3 shows you how to program a bidirectional block-transfer
operation using a PLC-3 processor.
Figure C.4
gives example values entered in the write-data files and
displayed in the read-data files. The values were chosen for use with a
single-ended, 0 to 4,095-count binary encoder.
Figure C.3
Example Block transfer Rungs for PLC 3 Processors
WB010:0040
READ DONE BIT
15
WB010:0040
15
READ REQUEST
WB010:0040
17
BUFFER FILE
BTR
BLOCK XFER READ
RACK
:
002
GROUP
:
3
MODULE :
0 = LOW
DATA:
FB015:0001
LENGTH =
0
CNTL:
FB010:0040
BTW
BLOCK XFER WRITE
RACK
:
002
GROUP
:
3
MODULE :
0 = LOW
DATA:
FB015:0011
LENGTH =
0
CNTL:
FB010:0040
MVF
C0110
FILES FROM A TO R
A : FB015:0001
C0110
R : FB016:0001
C0110
COUNTER :
POS/LEN =
0/
2
C0110
MODE =
ALL/SCAN
CNTL
EN
12
CNTL
DN
15
CNTL
ER
13
CNTL
EN
02
CNTL
DN
05
CNTL
ER
03
EN
12
DN
15
ER
13