![background image](http://html1.mh-extra.com/html/omron/cj1w-c113-rev-02-2008/cj1w-c113-rev-02-2008_operation-manual_742339222.webp)
195
Sample Program
Section 7-7
When the starting trigger is changed from OFF to ON, the servomotor (axis 1)
connected to the Position Control Unit for unit number 0 is operated using the
ABSOLUTE MOVEMENT command.
(BOOL)
EN
(INT)
UnitNo
(INT)
Axis
(BOOL)
Execute
(DINT)
Position
(DINT)
Velocity
(DINT)
Acceleration
(DINT)
Deceleration
(DINT)
Select
(BOOL)
ENO
(BOOL)
Done
(BOOL)
Command Aborted
(BOOL)
Error
(WORD)
ErrorID
_NCx011_MoveAbsolute_DINT
CPU
NCx
&0
Unit number: 0
Servo motor
Axis 1
Servo motor: 1
Axis 1
Bit B
Bit C
Bit D
Start trigger
Bit A
Unit No.
&0
Axis No.
&1
Start
Bit A
Position command
+2000 (2000 pulses)
Speed command
+20000 (20000 pps)
Acceleration time
+100 (100 ms)
Deceleration time
+200 (200 ms)
Model selection
&2
Bit A
Positioning Completed
Bit B
Abort
Bit C
Error flag
Bit D
Error code
(May be omitted.)
Always ON (P_On)
Содержание CJ1W-C113 - REV 02-2008
Страница 1: ...Position Control Units Cat No W397 E1 07 SYSMAC CJ1W NC113 213 413 133 233 433 OPERATION MANUAL ...
Страница 2: ...CJ1W NC113 213 413 133 233 433 Position Control Units Operation Manual Revised February 2008 ...
Страница 3: ...iv ...
Страница 13: ...xiv ...
Страница 15: ...xvi ...
Страница 19: ...xx ...
Страница 27: ...xxviii Conformance to EC Directives 6 ...
Страница 43: ...16 Control System Principles Section 1 7 ...
Страница 47: ...20 Basic Procedures Section 2 ...
Страница 139: ...112 Examples of Parameter Settings Section 4 9 ...
Страница 173: ...146 Transferring Data with CX Position Section 5 7 ...
Страница 223: ...196 Sample Program Section 7 7 ...
Страница 259: ...232 Sample Program Section 8 10 ...
Страница 293: ...266 Easy Backup Function Ver 2 0 or later Section 9 11 ...
Страница 369: ...342 Reading Error Information with CX Position Section 11 8 ...
Страница 385: ...358 Common Parameter Area Appendix C ...
Страница 399: ...372 Parameter Coding Sheets Appendix E ...