Program Example; Specifying The Program No - Mitsubishi FX2N-10GM Hardware / Programming Manual

Melsec-f
Hide thumbs Also See for FX2N-10GM:
Table of Contents

Advertisement

FX Series Positioning Controllers
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
#10 or #9010: Y-axis
Either can be set. (FX
When specifying a program from a programmable controller, set PARA. 30 (program No. spec-
ification method) to "3".
Program example
X0
X0
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.
-10GM: #0 or #9000)
2N
Program No. transfer (No.0, simultaneous 2-axis or X axis)
K 0
FNC 79
K 0
(K9000)
TO
Special
BFM Transfers
unit No.0
Program No. transfer (No.0, Y axis)
K 10
FNC 79
K 0
(K9010)
TO
Communication with Programmable Controller 7
-10GM).
2N
PC D200 → PGU No.0
D200
K 1
Number of
destination
transfers
PC D201 → PGU No.0
D201
K 1
BFM #0
(D9000)
BFM #0
(D9010)
7-6

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx2n-20gm

Table of Contents