User`s manual
8 - 15
8
8-6 Example of program
The following shows an example of a ladder program for starting up the X-axis program data (step No.2)
when the top address of the special I/O data area is 49000.
Transfer of
input area
Transfer of
output area
X-axis step
No. enable
Startup of program
operation
07366
07365
Change setting
value
Setting value
change switch
0000
000000
07500
X-axis continuous/single-step selection switch
(continuous operation when OFF)
05201
X-axis continuous/
single-step switching
05202
X-axis step
No. set
05200
X-axis program
operation startup
0004
000021
00005
000023
0001
000002
F-047
ONLS
0006
000033
F-047
ONLS
0003
000020
F-048
ONLR
05000
X-axis busy
0002
000003
F-000d
XFER
F-000d
XFER
F-000d
XFER
49000
49020
49060
X-axis data 1 X-axis bit 1
Y-axis data 1 Y-axis bit 1
Z-axis data 1 Z-axis bit 1
A-axis data 1 A-axis bit 1
F-000d
XFER
49040
07366
OFF at all times
0008
000051
F-048
ONLR
0007
000034
F-000d
XFER
F-000d
XFER
F-000d
XFER
49200
49220
49260
X-axis bit 2 X-axis data 2
Y-axis bit 2 Y-axis data 2
Z-axis bit 2 Z-axis data 2
A-axis bit 2 A-axis data 2
F-000d
XFER
49240
07366
OFF at all times
OFF at all times
F-001
BCD
02
X-axis program
operation step No.
07501 F-044
X-axis program operation
startup switch
↑
0500
0504
0514
0510
0520
0524
0534
0530
0523










