309
Interface Specifics
Section 5-4
Error Code
A 4-digit hexadecimal error code is stored when an error has occurred in the
MC Unit.
The error code will be 0000 when there is no error. The error code is valid
when the Error Flag is ON.
The location of the error can be determined in the Error Type Data (system,
task 1 to 4, X to U axes).
Refer to
Section 12 Troubleshooting
for details on error codes.
Timing Chart
Refer to the timing charts for the
Autoloading Error Flag
on page 303.
5-4-6
Task Status
Tasks 1 to 4 M Codes
The task M code will be stored as a 4-digit hexadecimal value between 0000
and 03E7 (decimal: 0000 and 0999) in the following form.
The M code will be valid when the M Strobe Flag is ON.
Timing Chart
Refer to the timing chart for the
M Strobe Flags
on page 314.
Tasks 1 to 4 Executing Program Numbers
The program number of the program being executed (or being paused) in
each task will be stored as a 4-digit hexadecimal value between 0000 and
03E7 (decimal: 0000 and 0999) in the following form.
Timing Chart
Refer to the timing chart for the
Cycle Start Bits
on page 268.
Word
Bits
I/O
Valid mode
MC221
MC421
n+11
n+19
00 to 15
Input
---
x16
0
x16
1
x16
2
x16
3
Normal (no error): 0000
15
0
Word
Task
Bits
I/O
Valid mode
MC221
MC421
n+12
n+20
Task 1
00 to 15
Input
---
n+16
n+24
Task 2
---
n+28
Task 3
---
n+32
Task 4
x16
0
x16
1
x16
2
0
15
0
Word
Task
Bits
I/O
Valid mode
MC221
MC421
n+13
n+21
Task 1
00 to 15
Input
---
n+17
n+25
Task 2
---
n+29
Task 3
---
n+33
Task 4
x16
0
x16
1
x16
2
0
15
0
Summary of Contents for CS1W-MC221 -
Page 1: ...Motion Control Units Cat No W359 E1 04 CS1W MC221 V1 421 V1 OPERATION MANUAL ...
Page 2: ...CS1W MC221 V1 421 V1 Motion Control Units Operation Manual Revised February 2008 ...
Page 3: ...iv ...
Page 5: ...vi ...
Page 11: ...xii ...
Page 15: ...xvi ...
Page 19: ...xx ...
Page 27: ...xxviii Conformance to EC Directives 6 ...
Page 133: ...106 Installation Section 2 2 2 2 4 Dimensions CS1W MC421 CS1W MC221 ...
Page 173: ...146 Connecting Peripheral Devices Section 2 7 ...
Page 227: ...200 Command Area Section 3 6 ...
Page 351: ...324 Interface Specifics Section 5 4 ...
Page 513: ...486 Absolute Encoder Interface Specifications Section 9 7 ...
Page 575: ...548 Error Log Section 12 6 ...
Page 589: ...562 Performance Appendix A ...
Page 655: ...628 Control Bit Flag Timing Charts Appendix E ...
Page 683: ...656 Origin Search Patterns Appendix F ...
Page 685: ...658 Encoder Divider Rate and Rotation Speed for OMRON Servo Drivers Appendix G ...