![Omron CS1W-213 - REV 02-2008 Operation Manual Download Page 216](http://html1.mh-extra.com/html/omron/cs1w-213-rev-02-2008/cs1w-213-rev-02-2008_operation-manual_742355216.webp)
191
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)
Summary of Contents for CS1W-213 - REV 02-2008
Page 2: ...CS1W NC113 213 413 133 233 433 Position Control Units Operation Manual Revised February 2008 ...
Page 3: ...iv ...
Page 13: ...xiv ...
Page 15: ...xvi ...
Page 19: ...xx ...
Page 43: ...18 Basic Operational Flow Section 2 1 ...
Page 87: ...62 Servo Relay Unit Section 3 7 ...
Page 199: ...174 Z phase Margin Section 6 8 ...
Page 217: ...192 Sample Program Section 7 7 ...
Page 285: ...260 Easy Backup Function Ver 2 0 or later Section 9 11 ...
Page 377: ...352 Common Parameter Area Appendix C ...