6 - 3
MELSEC-Q
6 PLC PROGRAM USED FOR POSITIONING CONTROL
(4) System configuration
Unless particularly designated, the PLC program for the following system is
shown in this chapter and subsequent.
Refer to Section 6.2 for the application of the devices to be used.
X40 to X4F
Extenal
devices
Q35B
power supply module
Q
25
H
C
P
U
Q
D
75
M
H
4
Q
X
41
Q
X
40
Servo
amplifier
M
X20 to X3F
Servomotor
00
to
1F
X20
to
X3F
X40
to
X4F
(5) Control unit
In the program, the unit of "0 (mm), 2 (degree)" is set for the basic parameter 1.
(6) Communication with QD75MH
There are two methods for communication with QD75MH using the PLC
program: a method using an "intelligent function device" and a method using a
FROM/TO command.
In the PLC program in this chapter and subsequent, the program example using
the "intelligent function device" is shown without using an FROM/TO command
for communication with QD75MH.
When using the FROM/TO command for communication with QD75MH, change
the circuit incorporating the "intelligent function device" as follows.
(a) When the circuit uses the "intelligent function device" on the destination (D)
side of a MOV command, change the command to a TO command.
MOVP K1 G1505
Intelligent function device
X21
TOP
K1
X21
K1505H0
K1
U0\
Designated
value
at U0
Designated
value
at G1505
Number of
write data (1)
0
0