User`s manual
5 - 54
5
[3] Sample ladder program 5
Sample ladder for batch-transferring all axes, all block data on JW-14PS
04000 all axes
read switch
X-axis 32 block data
automatic read startup
(PS→file 1)
Y-axis 32 block data
automatic read startup
(PS→file 1)
Z-axis 32 block data
automatic read startup
(PS→file 1)
A-axis 32 block data
automatic read startup
(PS→file 1)
07366
OFF at all times
07365
Change setting
value
Setting value
change switch
0000
000000
04020
0006
000071
F-032
SET
F-033
RST
F-033
RST
F-033
RST
F-001
BCD
12024
X-axis B read
12224
Y-axis B read
12424
Z-axis B read
12624
A-axis B read
00
Read completed
relay
04000
Axis data
read SW
0001
000002
F-044
↑
04000
Axis data
read SW
12024
X-axis
B read
All axes block data
read completed
Read switch (04000)
automatic OFF
F-033
RST
F-033
RST
F-033
RST
F-033
RST
F-033
RST
12024
X-axis B read
12224
Y-axis B read
12424
Z-axis B read
12624
A-axis B read
04000
Axis data
read SW
04013
A-axis read
completed
0005
000055
F-044
↑
F-032
SET
F-033
RST
F-033
RST
F-033
RST
12224
Y-axis B read
12024
X-axis B read
12424
Z-axis B read
12624
A-axis B read
04010
X-axis read
completed
0002
000017
F-044
↑
F-032
SET
F-033
RST
F-033
RST
F-033
RST
12424
Z-axis B read
12024
X-axis B read
12224
Y-axis B read
12624
A-axis B read
04011
Y-axis read
completed
0003
000031
F-044
↑
F-032
SET
F-033
RST
F-033
RST
F-033
RST
12624
A-axis B read
12024
X-axis B read
12224
Y-axis B read
12424
Z-axis B read
04012
Z-axis read
completed
0004
000043
F-044
↑
• Data is read (PS→PC) when 04000 turns ON.
• Data is written (PC→PS) when 04001 turns ON.
• Block data is saved to flash ROM when 04002 turns ON.
0401
X-axis read
auxiliary










