Omron SYSMAC C500-NC113 Operation Manual page 186

Position control units
Table of Contents

Advertisement

Execution Example
READ ERROR
Word m+1, bit 05
Alarm Flag
Word s+0, bit 03
Error Flag
Word s+0, bit 04
Alarm/error code
Word s+1
9-7
RESET PRESENT POSITION
9-7-1 Data Settings
Address 2022
When the READ ERROR command bit (bit 05 of word m+1/m+5) is turned ON,
the error code (word s+1/s+9) in the Status Area is refreshed. The Busy Flag will
not turn ON. The error code will be defined when the Read Error Completed bit
(words s+6/s+14, bit 04) turns ON. The following diagram shows an example in
which first the alarm code 1201 and then the error code 5000 are displayed.
1
0
1
0
1
0
Display will not change be-
cause only one alarm code has
been generated.
1201
First alarm code
Note When either axis is in the middle of data transfer or when the Busy Flag is turned
ON, the latest error code may not be read because a new error may occur during
data transfer or axial movements.
When clearing errors or alarms, refer to 12-4 Error Code List and 12-3 Alarm
Code List .
To clear an alarm, for example, correct the data that caused the alarm. To clear
an emergency stop, clear the external emergency stop signal and then execute
the RELEASE PROHIBIT command and perform an origin search.
The RESET PRESENT POSITION command bit is bit 08 of word m+1. When
this bit is turned ON (↑), the present position is forcibly reset to the value set in
parameter addresses 2022 (X axis) and 6022 (Y axis). Although the operation is
explained here in terms of the X axis, the operation is the same for the Y axis of
the NC211.
Set the RESET PRESENT POSITION data in addresses 2022 (X axis) and 6022
(Y axis).
3
2
1
10
10
10
10
digit
digit
digit
digit
6
5
10
10
10
Sign
digit
digit
digit
Error code has been
changed because
another error has
been generated.
5000
Second error code
0
Word 1 (bits 15 to 00), word 2 (bits 11 to 00)
4
Set the position data for changing the present
position (000000 to 9999999).
Word 2 (bits 15 to 12)
Set the positioning action sign.
0: CW
1: CCW
Section
9-7
Error code has been
changed because an
error has been read.
1201
First alarm code

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac c500-nc211

Table of Contents