33
Overview of G-language Programs in the MC Unit
Section 1-7
Operations from the
Teaching Box
The following table shows the operations that can be performed using the
Teaching Box.
O:
Can be used.
X:
Cannot be used.
∆
1:
Output signal ON/OFF status, analog output data, or other data is
only monitored and cannot be changed.
∆
2:
Position data is only monitored and cannot be changed.
∆
3:
Override values are only monitored and cannot be changed.
1-7-3
G Language
The G language is used widely in position control and its main feature is that it
is very easy to write for programming. Program functions can be entered sim-
ply by entering a “G” and a 2-digit numerical code, then adding any needed
parameters. G-language codes G00 through G91 are used in the MC Units.
For example, the function “PTP control positioning” is assigned to G00.
Note
Refer to
Section 1-7-4 G-language Codes
for a table showing the functions
assigned to the G-language codes. For details on programming, refer to the
CX-Motion Online Help
.
Operation
MC Unit operating mode
T.Box control
T.Box enabled
T.Box occupy
Monitoring
Present values
O
O
O
I/O signals
∆
1
O
O
Errors
O
O
O
Position data
∆
2
O
O
Phase-Z
margin
O
O
O
Servo
parameters
O
O
O
Origin search
X
O
O
Program execution
X
O
O
Jogging
X
O
O
Handle feeding
X
O
O
Extension
Mode
O
O
O
Servo-lock/
servo-unlock
X
O
O
Memory
protection
X
O
O
Absolute origin
setting
X
O
O
Teaching Box
message
change
O
O
O
Saving
X
O
O
Override
∆
3
O
O
Teaching
X
O
O
Deceleration stop
X
O
O
Error reset
X
O
O
Содержание 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 ...