FX Series Positioning Controllers
Communication with Programmable Controller 7
7-6
7.3
Program example
This section explains examples of the basic functions available in the programmable controller
such as specification of the program No., operation commands, reading of the present value, etc.
Specifying the program No. ..............Section 7.3.1
Operation commands (start/stop) .....Section 7.3.2
Reading the present value ................Section 7.3.3
Setting the travel and speed .............Section 7.3.4
Reading m codes ..............................Section 7.3.5
Reading/Changing the parameters ...Section 7.3.6
7.3.1
Specifying the program No.
Buffer memory No.
#0 or #9000: Simultaneous 2-axis, X-axis (FX
2N
-10GM).
#10 or #9010: Y-axis
Either can be set. (FX
2N
-10GM: #0 or #9000)
When specifying a program from a programmable controller, set PARA. 30 (program No. spec-
ification method) to "3".
Program example
Write the program No. to be executed to D200 and D201.
The program No. can be directly specified using data registers other than D200 and D201 or
using K (constant).
Data change timing
The positioning unit tries to read the program No. to be executed when the start command is
given.
Accordingly, the values set before the start command is given are valid regardless of the mode
(MENU or AUTO).
The BFM can be changed even after the start command is given. However, the new program
No. set can not be executed until after the positioning program is finished at "END" and the
start command is given again.
X0
FNC 79
TO
K 0
K 0
(K9000)
D200
K 1
Special
unit No.0
BFM
Transfers
destination
Number of
transfers
Program No. transfer (No.0, simultaneous 2-axis or X axis)
PC D200
→
PGU No.0
BFM #0
(D9000)
X0
FNC 79
TO
K 0
K 10
(K9010)
D201
K 1
Program No. transfer (No.0, Y axis)
PC D201
→
PGU No.0
BFM #0
(D9010)
Содержание FX2N-10GM
Страница 1: ...HARDWARE PROGRAMMING MANUAL FX2N 10GM FX2N 20GM ...
Страница 4: ...FX Series Positioning Controllers ii ...
Страница 6: ...FX Series Positioning Controllers iv ...
Страница 46: ...FX Series Positioning Controllers Introduction 1 1 34 MEMO ...
Страница 76: ...FX Series Positioning Controllers Wiring 3 3 24 MEMO ...
Страница 222: ...FX Series Positioning Controllers Operation Maintenance and Inspection 8 8 18 MEMO ...
Страница 256: ...FX Series Positioning Controllers Program Examples 9 9 34 MEMO ...