5 - 18 5 - 18
MELSEC-Q
5 SETUP AND PROCEDURES BEFORE OPERATION
5.7 Simple reciprocating operation
Before operating the system, check the operation of the drive unit.
(Make this check after making sure that the installation, wiring, intelligent function
module switch setting and connection confirmation of the QD70 are normal. For details
of the drive unit, refer to the manual of the drive unit used.)
The following is the way to perform "simple reciprocating operation".
(1) Operation method
Using a sequence program, perform forward run/reverse run of JOG operation.
(Refer to Chapter 10 for details of JOG operation.)
(2) Setting items
Set JOG data in the sequence program. The other data (parameters, positioning
data, etc.) may be initial values.
(Change the JOG data setting values according to the machine specifications.)
Buffer memory addresses
JOG data Setting value Setting details
Axis 1Axis 2Axis 3Axis 4Axis 5Axis 6Axis 7Axis 8
JOG. 1
JOG speed 5000pulse/s
Set the speed for JOG
operation.
40
41
140
141
240
241
340
341
440
441
540
541
640
641
740
741
JOG. 2
JOG ACC time 1000ms
Set the acceleration time
for JOG operation.
42 142 242 342 442 542 642 742
JOG. 3
JOG DEC time 1000ms
Set the deceleration time
for JOG operation.
43 143 243 343 443 543 643 743
JOG. 4
JOG direction flag
0: Forward run JOG
1: Reverse run JOG
Set the rotation direction
for JOG operation.
44 144 244 344 444 544 644 744
Refer to "Section 4.4 List of JOG data" for more information on the setting details.
(3) Reciprocating operation program using JOG operation
The following is a program example for Axis 1.
(When the QD70 is installed in slot 0 of the main base unit)
[Used devices]
Device name
Device Application ON details Remarks
SM400 Normally ON
––
Special relay
SM402 ON one scan after RUN
––
X0 Module READY QD70 normal
–
Input
X8 Axis 1 BUSY Axis 1 running –
Y0 PLC READY PLC CPU normal –
QD70 I/O
Output
Y18 Axis 1 JOG start Axis JOG starting –
X28
Forward run JOG
command
Forward run JOG operation
command being given
External input (command)
X29
Reverse run JOG
command
Reverse run JOG operation
command being given
JOG operation is disabled if
X28 and X29 are both ON
or both OFF.
Internal relay M1 JOG operation flag JOG operation in progress –