Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
MCH
200
Basic
function
Symbol
_MCH200_ReadStatus
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
(BOOL)
ErrorStop
(BOOL)
Stopping
(BOOL)
Standstill
(BOOL)
Motion
Lib\FBL\omronlib\PositionController\MCH\_MCH200_ReadStatus11.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
While Output enabled (Enable) is ON, status of the axis specified with Unit No. (UnitNo) and Axis No. (Axis) is
cyclically read and output. When Output enabled (Enable) turns OFF, status will be reset.
The Status Read completed (Done) turns ON when valid status is being read and output.
The Error Flag (Error) will be turned ON and the Error Code (Error code) will be output if an error occurs for this
FB. Strictly speaking, they are respectively turned ON or output only when Unit No. (UnitNo) or Axis No. (Axis)
is set out of range.
These statuses will be reset when Output enabled (Enable) turns OFF.
They are output by this FB, combining the states of the Status Bits in the Bit Area of the applicable Motion
Control Unit. See the table below.
Output Variable
Status
Output condition
ErrorStop
Being stopped by an error
The Alarm Occurring (OW0300, bit 00) in Alarm
Identification (OW0300 to OW0302) turns ON.
Stopping
Stopped after a deceleration stop
Deceleration Stop (Axis Control Bit) is ON.
and operation prohibited
In Manual/Automatic Mode (Axis Status Bit) is
(Enabled only in Manual Mode)
OFF (In Manual Mode).
Busy Flag (Axis Status Bit) is OFF.
The Alarm Occurring Bit (OW0300, bit00) in
Alarm Identification (OW0300 to OW0302) is
OFF.
StandStill
Waiting for start command in
Deceleration Stop (Axis Control Bit) is OFF
Manual Mode
In Manual/Automatic Mode (Axis Status Bit) is
OFF (In Manual Mode)
The Alarm Occurring Bit (OW0300, bit00) in
Alarm Identification (OW0300 to OW0302) is
OFF.
Motion
Operation in progress, processing The Alarm Occurring Bit (OW0300, bit00) in
command, or in Automatic Mode
Alarm Identification (OW0300 to OW0302) is
OFF.
Either of Axis Operating (Axis Status Bit) or In
Manual/Automatic Mode (Axis Status Bit) is ON.
FB
precautions
EN input
condition
Restrictions
Other
_MCH200_ReadStatus (2/3)
Application
example
When the Bit A connected to the Input Variable Output enabled turns ON, status of the Servomotor (J01)
connected to the Motion Control Unit of the Unit No. 0 will be read and output.
Unit No.: 0
&0
CPU
MCH
Servomotor
J01
Always ON (P_On)
_MCH200_ReadStatus
Unit No.
&0
Axis No.
J01 &1
Output enabled
Bit A
Related
manuals
(BOOL)
EN
(BOOL)
ENO
(INT)
UnitNo
(INT)
Axis
(BOOL)
Enable
(BOOL)
Done
(BOOL)
Error
(WORD)
ErrorID
(BOOL)
ErrorStop
(BOOL)
Stopping
(BOOL)
Standstill
(BOOL)
Motion
Variable Tables
Input Variables
Name
Variable name
EN
EN
Data type
BOOL
Default
Range
Unit No.
Axis No.
UnitNo
Axis
INT
INT
&0
&1
&0 to &15
&1 to &32
Output
enabled
Enable
BOOL
0 (OFF)
Output Variables
Name
ENO
Variable name
ENO
Data type
BOOL
Done
BOOL
Error
ErrorID
BOOL
WORD
Error stop
ErrorStop
BOOL
Operation prohibited
(Manual Mode)
Waiting for start
Stopping
BOOL
Standstill
BOOL
Operating/
Processing
Motion
BOOL
Status
completed
Error flag
Error code
Read
Range
Description
1 (ON): Starts FB
0 (OFF): Does not start FB
Specify the Axis No. Managed in the Motion
Control Units. Note that this is different from the
Node Address used in the MECHATROLINK
network.
0 (OFF): Output reset
1 (ON): Output enabled
Description
1 (ON): FB operating normally
0 (OFF): FB not operating normally
1 (ON) indicates that valid status is being read and output.
1 (ON) indicates that an error has occurred in the FB.
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.
1 (ON) indicates that the operation is being stopped with an
error.
1 (ON) indicates that the axis is decelerating in Manual
Mode or that operations are prohibited.
1 (ON) indicates that the Motion Control Unit is waiting for a
start command in Manual Mode.
1 (ON) indicates that the axis is operating or that the Motion
Control Unit is in Automatic Mode.
_MCH200_ReadStatus (3/3)
Version History
Version
1.00
1.10
Date
2005.4
2009.12.
Contents
Original production
Solved the problem that the ErrorStop bit and the StandStill bit are not turned ON as
specified.
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.