447
Basic Program Examples
Section 11-2
In this program example, jogging starts when the jogging condition turns ON,
and stops when the jogging condition turns OFF. Jogging is performed in the
forward direction when the jogging direction is OFF at the start of jogging.
Jogging is performed in the reverse direction when the jogging direction is ON
at the start of jogging.
When executing this programming example, the target speed must be set in
the speed command value of the Axis 1 Operating Output Memory Area. The
target speed for jogging can be changed successively during operation by
writing the speed command value to the Axis Operating Output Memory Area.
In this programming example, application in combination with the PCU jog-
ging (adjustment operation) Smart Active Parts Library provided in the
OMRON NS-series Programmable Terminals has been considered and thus
the program is constructed with self-holding bits for the Jog Bit and Direction
Designation Bit in the Axis Operating Output Memory Area. Therefore, the
command for the jogging condition is sent via the Work Area bit W206.00.
The output circuit of Work Area bit W206.00 is also provided with a self-hold-
ing circuit that operates according to the Receiving Command Flag and Busy
Flag to enable the JOG command to be received correctly at the PCU.
Ladder Programming Example
000000
(000000)
1000.13
1.01
1.15
0.15
1522.00
1000.12
W206.00
W206.00
1000.00
1000.13
W206.00
000001
(000014)
0.09
W206.01
0.09
DIFD
(014)
W206.01
W206.00
0.09
0.10
W206.00
000002
(000019)
000003
(000025)
Program name: Jogging
Section name: Jogging
Jogging
condition
Axis 1
Busy
Axis 1 SERVO
UNLOCK
Axis 1
EMERGENCY
STOP
Axis 1
DECELERATION
STOP
Axis 1
Communicating
Axis 1 Error
Axis 1 Jogging
Axis 1 Jogging
Jogging
condition
Axis 1
Receiving
Command
Axis 1 Busy
Axis 1 JOG
Axis 1 Jogging
Axis 1 JOG
Axis 1
Jogging Stop
Axis 1 Jogging
Jogging direction
Axis 1 JOG
Axis 1 Direction Designation
Axis 1 Jogging
Axis 1 Jogging Stop
Axis 1 Direction
Designation
Summary of Contents for CJ1W-NC271 - 12-2009
Page 2: ......
Page 4: ...iv ...
Page 6: ...vi ...
Page 22: ...xxii ...
Page 58: ...30 Starting Operation Section 2 2 ...
Page 244: ...216 Axis Operating Input Memory Areas Section 4 8 ...
Page 264: ...236 Transferring Servo Parameters Section 5 3 ...
Page 396: ...368 Linear Interpolation Section 9 7 ...
Page 648: ...620 List of Error Codes Appendix D ...
Page 674: ...646 Additional Functions for the CJ1W NCF71 MA Appendix F ...
Page 684: ...656 Index ...
Page 686: ...658 Revision History ...