![background image](http://html1.mh-extra.com/html/omron/cj1w-nc271-12-2009/cj1w-nc271-12-2009_operation-manual_742348457.webp)
429
Basic Program Examples
Section 11-2
Sample Ladder Program
11-2-3 Transferring Servo Parameters
Overview
The Servo Parameters in Servo Drives connected through MECHATROLINK
communications can be transferred to and from the CPU Unit's DM Area with
the PCU's WRITE SERVO PARAMETER Bit, READ SERVO PARAMETER
Bit, and SAVE SERVO PARAMETER Bit.
The application example shown in
11-3-2 Servo Parameter Backup
incorpo-
rates this sample program to transfer all the W-series Servo Drive's Servo
Parameters at once between the Servo Drive (equipped with a FNY-NS115
I/F Unit) and the CPU Unit's EM Area.
Execute these sample programs only after starting MECHATROLINK commu-
nications (establishing a connection).
In these examples, the Servo Parameters are transferred to and from the
Servo Drive registered as axis 1.
The Axis Operating Output/Input Memory Areas for the axis 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.
Program name: Start Communications
Section name: Start Communications
000000
(000000)
1515.12
Unit Error Flag
W303.00
Establish Connection
000001
(000003)
W303.01
Release Connection
000002
(000005)
1516.15
Connection Status Flag
DIFD
(014)
W303.02
Turn OFF CONNECT Bit
000003
(000007)
W303.00
W303.01
W303.02
W303.04
1501.00
CONNECT Bit
1501.00
CONNECT Bit
TIM
0000
#50
[OP1]
Connection Timeout Timer
[OP2]
000004
(000014)
1516.15
1522.00
Axis 1 Communicating
W303.03
All Axes Communicating
000005
(000017)
T0000
W303.03
All Axes Communicating
W303.04
Connection Timeout
Start Communi-
cations execu-
tion condition
Stop Communications
execution condition
Establish
Connection
Release
Connection
Turn OFF
CONNECT
Bit
Connection
Timeout
Connection
Status Flag
Connection
Timeout Timer
Содержание 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 ...