![background image](http://html1.mh-extra.com/html/omron/cj1w-nc271-12-2009/cj1w-nc271-12-2009_operation-manual_742348473.webp)
445
Basic Program Examples
Section 11-2
11-2-9 Deceleration Stop or Emergency Stop
Overview
This sample program performs a deceleration stop or emergency stop on a
Servo Drive connected through MECHATROLINK communications. Execute
this sample program only after starting MECHATROLINK communications
with the servo locked (i.e., after establishing a connection).
In this example, a deceleration stop or emergency stop is performed on the
Servo Drive registered as axis 1 using the DECELERATION STOP Bit or
EMERGENCY STOP Bit in the Axis 1 Operating Output Memory Area.
The Axis Operating Output/Input Memory Areas are based on the settings of
the Common Parameter Area, as shown below. The application example in
11-3-1 Initial PCU Settings
shows a sample program that can be used to
make the following settings.
Beginning word of Axis Operating Output Memory Area: CIO 0000
(Axis 1 Operating Output Memory Area: CIO 0000 to CIO 0024)
Beginning word of Axis Operating Input Memory Area: CIO 1000
(Axis 1 Operating Input Memory Area: CIO 1000 to CIO 1024)
This sample program uses the following parts of the CPU Unit's I/O memory
in addition to the CIO Area words listed above.
Work Area (WR Area)
Deceleration Stop:W204.00 and W204.01
Emergency Stop: W205.00 and W205.01
These Work Area bits are used to show the progress of function execution
and the execution status.
This sample program executes a deceleration stop or emergency stop on Axis
1 when the Deceleration Stop or Emergency Stop execution condition goes
ON.
Sample Ladder Program (Deceleration Stop)
Program name: Deceleration Stop
Section name: Deceleration Stop
000000
(000000)
1000.12
Axis 1 Error
DIFU
(013)
W204.00
000001
(000003)
0.15
1000.13
Axis 1 Busy
1000.15
1000.12
Axis 1 Error
W204.01
W204.01
000002
(000009)
W204.00
1.01
1.15
1522.00
1000.15
1000.12
Axis 1 Error
0.15
0.15
Deceleration
Stop execution
condition
Execute Axis 1
Deceleration Stop
Axis 1 DECEL-
ERATION STOP
Executing Axis 1
Deceleration Stop
Axis 1 Stop
Execution
Executing Axis 1
Deceleration Stop
Execute Axis 1
Deceleration
Stop
Axis 1
SERVO
UNLOCK
Axis 1
DECELERATION
STOP
Axis 1
EMERGENCY
STOP
Axis 1
Communicating
Axis 1 Stop
Execution
Axis 1
DECELERATION
STOP
1001.03
Axis 1 Servo
ON Flag
Содержание CJ1W-NC271 - 12-2009
Страница 2: ......
Страница 4: ...iv ...
Страница 6: ...vi ...
Страница 22: ...xxii ...
Страница 58: ...30 Starting Operation Section 2 2 ...
Страница 244: ...216 Axis Operating Input Memory Areas Section 4 8 ...
Страница 264: ...236 Transferring Servo Parameters Section 5 3 ...
Страница 396: ...368 Linear Interpolation Section 9 7 ...
Страница 648: ...620 List of Error Codes Appendix D ...
Страница 674: ...646 Additional Functions for the CJ1W NCF71 MA Appendix F ...
Страница 684: ...656 Index ...
Страница 686: ...658 Revision History ...