User`s manual
5 - 60
5
5-10 Transfer of any X-axis block when top address of
special I/O area is set to 1000
The ladder program shown on pages 5-61 to 5-63 shows a method of reading and writing any block
data on the X-axis from any address in file 1, and a method of writing any block data. (On the example
ladder program on the following page, 32 items of X-axis block data written from 000000 to 003777 of
file 1 are written to PS, and 32 items of X-axis block data are read from 000000 to 003777 of file 1.)
To read/write from any registers in file 1 to any block data, the ladder program must be changed. (The
read/write areas and the read/write block Nos., etc. of file 1 must be changed.)
The Y-, Z- and A-axes can also be read/written in the same way by changing the ladder program. (The
read/write areas, read/write block Nos., read/write relays, monitor block Nos., etc. of file 1 must be
changed.
The conceptual diagram below shows an instance where block data is read/written with 003000 to
004777 of file 1 as the area of block Nos.5 to 20. Transfer such as this is possible by re-
reprogramming the ladder program shown on the next page.
Block data file 1
03000 to 04777
(00000 to 03777 in
ladder example)
Shared RAM
(32 k bytes)
Output relay
(16 bytes/axis)
Total 64 bytes
Write data area
for block transfer
(common to each axis)
64 bytes
0 to 31 in
ladder
example
Read data area
for block transfer
(common to each axis)
64 bytes
Input relay
(16 bytes/axis)
Total 64 bytes
X-axis block 5
X-axis block 20
X-axis block 5
X-axis block 20
Input relay
(16 bytes/axis)
Total 64 bytes
Output relay
(16 bytes/axis)
Total 64 bytes
Write data area
for block transfer
(common to each axis)
64 bytes
Read data area
for block transfer
(common to each axis)
64 bytes
0 to 31 in
ladder
example
PC side data memory JW-12PS/14PS side
Refresh area top
address 1000
I/O refresh
Present position,
error code, status,
etc.
Parsing of operation
instructions, parsing
of block data transfer
instructions, etc.
to
to










