228
Controlling the MC Unit from the CPU Unit
Section 5-2
5-2
Controlling the MC Unit from the CPU Unit
This section describes the CPU Unit ladder program that controls the MC Unit
in Manual Mode or Automatic Mode.
5-2-1
Manual and Automatic Modes
There are two ways to control the MC Unit: Manual Mode or Automatic Mode.
The mode can be changed using the Automatic/Manual Mode Bit in the PLC
Interface Area. The mode can be set for each task. ON: Automatic Mode,
OFF: Manual Mode.
In Manual Mode, the following functions can be used to control each axis.
Refer to the references listed in the table for more information, including tim-
ing charts and ladder programming examples.
Note
1.
Resetting the Error Counter and Servo-unlock operations can also be per-
formed in Automatic Mode.
2.
Presetting the Present Position is performed using the IOWR instruction.
Automatic Mode uses G-language programs in the MC Unit.
Function
Reference
Deceleration Stop
280
Origin Searches
281, Section 10
Reference Origin Returns
282
Jogging
283
Resetting the Error Counter (See note 1.) 284
Setting the Origin
290
Setting the Absolute Origin
291, Section 10
Enabling MPG/Sync Encoder
292
Servo-lock (See note 1.)
293
Servo-unlock (See note 2.)
296
Presetting the Present Position
364
Automatic Mode
G language program executed in Automatic Mode
Manual Mode
MC Unit
G language
N000 P001 XY
N001 G26 XY
RUN
command
RUN
command
Manual
commands
Manual
commands
Teaching Box
PLC
Manual Mode
N094 G79
Содержание CS1W-MC221 -
Страница 1: ...Motion Control Units Cat No W359 E1 04 CS1W MC221 V1 421 V1 OPERATION MANUAL ...
Страница 2: ...CS1W MC221 V1 421 V1 Motion Control Units Operation Manual Revised February 2008 ...
Страница 3: ...iv ...
Страница 5: ...vi ...
Страница 11: ...xii ...
Страница 15: ...xvi ...
Страница 19: ...xx ...
Страница 27: ...xxviii Conformance to EC Directives 6 ...
Страница 133: ...106 Installation Section 2 2 2 2 4 Dimensions CS1W MC421 CS1W MC221 ...
Страница 173: ...146 Connecting Peripheral Devices Section 2 7 ...
Страница 227: ...200 Command Area Section 3 6 ...
Страница 351: ...324 Interface Specifics Section 5 4 ...
Страница 513: ...486 Absolute Encoder Interface Specifications Section 9 7 ...
Страница 575: ...548 Error Log Section 12 6 ...
Страница 589: ...562 Performance Appendix A ...
Страница 655: ...628 Control Bit Flag Timing Charts Appendix E ...
Страница 683: ...656 Origin Search Patterns Appendix F ...
Страница 685: ...658 Encoder Divider Rate and Rotation Speed for OMRON Servo Drivers Appendix G ...