0% found this document useful (0 votes)
49 views2 pages

Read Axis Error: - Mch203 - Readaxiserror: Unit No. Axis No. Output Enabled Error Code

This function block reads axis error information from a Motion Control Unit. It takes in the unit number and axis number to read from, and outputs status flags and the error code. When the enable input is turned on, it will continuously read the error information from the specified axis. The outputs include a done flag to indicate reading completed successfully, an error flag, and the numeric error code.

Uploaded by

Joseph
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
49 views2 pages

Read Axis Error: - Mch203 - Readaxiserror: Unit No. Axis No. Output Enabled Error Code

This function block reads axis error information from a Motion Control Unit. It takes in the unit number and axis number to read from, and outputs status flags and the error code. When the enable input is turned on, it will continuously read the error information from the specified axis. The outputs include a done flag to indicate reading completed successfully, an error flag, and the numeric error code.

Uploaded by

Joseph
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

_MCH203_ReadAxisError (1/2)

MCH
203

Read Axis Error: _MCH203_ReadAxisError

Basic
function
Symbol

Reads axis error information.


Always ON (P_On)

_MCH203_ReadAxisError

Unit No.
Axis No.
Output enabled

File name
Applicable
models

Conditions
for usage
Function
description

(BOOL)
EN

(BOOL)
ENO

(INT)
UnitNo
(INT)
Axis
(BOOL)
Enable

(BOOL)
Done
(BOOL)
Error
(WORD)
ErrorID

Axis Error Read completed


Error flag
Error code

Lib\FBL\omronlib\PositionController\MCH\_MCH203_ReadAxisError10.cxf
Motion Control Unit
CS1W-MCH71, CJ1W-MCH71
CPU Unit
CS1*-CPU**H Unit version 3.0 or higher
CJ1*-CPU**H Unit version 3.0 or higher
CJ1M-CPU** Unit version 3.0 or higher
CP1H
CX-Programmer
Version 5.0 or higher
None
When Output enabled (Enable) turns ON, error information on the axis allocated to the applicable Motion
Control Unit is read. While Output enabled (Enable) is ON, error information on the axis specified with Unit
No. (UnitNo) and Axis No. (Axis) is cyclically read and output. Turning OFF Output enabled (Enable) will
reset error information.
Axis Error Read completed (Done) turns ON when none of the bits (Alarm Occurring, Unit Alarm Occurring,
Motion Task Alarm Occurring 1 to 8, and Axis Alarm Occurring 1 to 32) in Alarm Identification (OW0300 to
OW0302) in the Motion Control Unit is OFF.
Error code (ErrorID) reflects error status of the axis allocated in the applicable Motion Control Unit.
When Unit No. (UnitNo) or Axis No. (AxisNo) is out of the range, Error flag (Error) will turn ON and #0000 will
be output in Error code (ErrorID).
Turning OFF Output enabled (Enable) will reset the status.
Error flag (Error) and Error code (ErrorID) reflect status of the Status Bit Area in the applicable Motion
Control Unit.

FB
precautions
EN input
condition
Application
example

EN

ON
OFF

Enable

ON
OFF

Done
or Error

ON
OFF

Connect the EN input to the Always On Flag (P_On).


If a different type of bit is connected to EN, the FB outputs will be maintained when the connected bit is
turned OFF.
When the Bit A turns ON, error information on the Servomotor (J01) connected to the Motion Control Unit of
the Unit No. 0 will be read.
&0
CPU

Unit No.: 0

MCH
Servomotor
J01

Always ON (P_On)

_MCH203_ReadAxisError
Unit No.
&0
Axis No.
&1
Output enabled
Bit A

Related
manuals

(BOOL)
EN
(INT)
UnitNo
(INT)
Axis
(BOOL)
Enable

(BOOL)
ENO
(BOOL)
Done
(BOOL)
Error
(WORD)
ErrorID

Axis Status Read completed


Bit B
Error flag
Bit C
Error code

SYSMAC CS-series CS1W-MCH71 Motion Control Units Operation Manual (W419)


SYSMAC CJ-series CJ1W-MCH71 Motion Control Units Operation Manual (W435)

_MCH203_ReadAxisError (2/2)

Variable Tables
Input Variables
Name
Variable
name
EN
EN

Data type

Unit No.
Axis No.

UnitNo
Axis

INT
INT

&0
&1

Output enabled

Enable

BOOL

0 (OFF)

Default

BOOL

Variable name
ENO

Data type
BOOL

Axis Error Read completed

Done

BOOL

Error flag

Error

BOOL

Error code

ErrorID

WORD

Date
2005.4

Description
1 (ON): Starts FB
0 (OFF): Does not start FB

Output Variables
Name
ENO

Version History
Version
1.00

Range

&0 to &15
&1 to &32

Range

Specify the Axis No. Managed in the Motion Control


Units. Note that this is different from the Node
Address used in the MECHATROLINK network.
1 (ON): Output enabled
0 (OFF): Output reset

Description
1 (ON): FB operating normally
0 (OFF): FB not operating normally/FB ended with
error
This turns ON when Axis Error Read is completed
normally.
This turns ON when Axis Error Read is ended with
an error.
The error code of the error occurred in the FB will
be output. For details of the errors, refer to the
manual listed in the Related manuals above. When
Unit No. or Axis No. is out of the range, #0000 will
be output.

Contents
Original production

Note
This manual is a reference that explains the function block functions.
It does not explain the operational limitations of Units, components, or combinations of Units and components. Always read
and understand the Operation Manuals for the systems Units and other components before using them.

You might also like