Sie sind auf Seite 1von 3

_INV200_ReadStatus_E.

doc (1/3)

INV
200 Status Read: _INV200_ReadStatus
Basic Reads the Inverter status.
function
Symbol
Custom bit _INV200_ReadStatus
(BOOL) (BOOL)
EN ENO
Inverter No. (INT) (BOOL) Alarm flag
NodeNo ErrorStop
I/F Area ID (WORD) (BOOL) Deceleration stop executing flag
AreaID Stopping
I/F Area No (INT) (BOOL) Axis standing by flag
AreaNo StandStill
(BOOL) Axis operating flag
ContinuousMotion
(BOOL) Speed matching flag
ConstantVelocity

File name Lib\FBL\omronlib\Inverter\INVRT\Serial\_INV200_ReadStatus20.cxf


Applicable Inverters 3G3MV Series, 3G3RV Series
models CIMR-V7AZ, CIMR-F7Z, CIMR-E7Z, CIMR-L7Z, CIMR-G7 (Sold by OYMC)
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
CP1L (except 10 points CPU)
Serial ports See _INV002_Refresh for detail
Combination FB _INV002_Refresh version 2.0 or higher
CX-Programmer Version 5.0 or higher
Conditions The inverter is to be connected to a Serial port controlled by the Refresh FB Status Refresh
for usage (_INV002_Refresh). (See the reference for the Refresh FB for applicable products and serial port.)
Additionally, Requests for sending commands and reading status are sent to the Refresh FB.
That means this FB only makes reservation for sending messages and does not control the serial port.
I/F Area (Always operating)
Start trigger Operation Area ID Area No
commands Command & Status Communications
Request commands
This FB Status read Refresh FB

Response
Result

MSG Area - Priority setting


MSGAreaID, MSGAreaNo - Sends FINS commands
Parameter setting Refresh settings
Error code read - FINS error processing
Message commands
Monitor item read Message response

Shared Resources
I/F area used for the FB _INV002_Refresh
Inverter Settings
The inverter communication parameters and Serial Communication Unit parameter .
The Serial communication unit parameters can be changed by CX-Programmer or using FB library
_INV600_SetComm.
Function Reads operating status of the inverter specified with the I/F Area (AreaID, AreaNo) and Inverter No.
description (NodeNo).
EN input Any type of bit (i.e., not only the Always On type) can be used.
condition
Restrictions When any input variable is out of range, ENO will be turned OFF and the FB will not be executed.
Input The Inverter node number is 1 to 31 node 0 and 32 are not available.
variables
_INV200_ReadStatus_E.doc (2/3)

Application When the Bit A is turned from OFF to ON, the status of the Inverter 20 connected to the Serial Communication
example Unit (SCU) with the Unit No. 10 will be read.

Unit No.: 10(SCU)

&10
_INV002_Refresh
CPU SCU I/F Area: EM0_1000 to EM0_1061
MSG Area: EM0_1150 to EM0_1194
Serial port No.: 1

Inverter: 20
Command units (n152) = 0.1Hz

Inverter

Bit INV200_ReadStatus
(BOOL) (BOOL)
Inverter No. EN ENO Alarm flag
&20 (INT) (BOOL) Bit B
I/F Area ID NodeNo ErrorStop Deceleration stop executingflag
Same as setting of the (WORD) (BOOL)
P_EM0 Bit C
FB Status Refresh AreaID Stopping
I/F Area No Axis standing by flag
&1000 (INT) (BOOL) Bit D
AreaNo StandStill Axis operating flag
(BOOL) Bit E
ContinuousMotion
Speed matching flag
(BOOL)
Bit F
ConstantVelocity

Always ON (P_On) _INV002_Refresh


(BOOL) (BOOL)
Unit selection EN ENO
&10 (INT) (BOOL) Busy flag
Serial port No. UnitSelect BUSY
&1 (INT) (INT) Current axis No.
Scan List No. PortNo NodeAddr
#00100000 (DWORD) (BOOL) Error
Model Type List Scanlist Error
#00000000 (DWORD) (WORD) Error code
Interval Count ModelTypeMV ErrorID
&10 (UINT)
I/F Area ID IntervalCount
P_EM0 (WORD)
I/F Area No AreaID
&1000 (INT) _INV002_Refresh is required for
AreaNo each MODBUS line.
Message Area ID
(WORD) more than one _INV002_Refresh
P_EM0
MSGAreaID cannot be used to control same
Message Area No
(INT) PortNo. It does not work correctly
&1150
MSGAreaNo

Related SYSDRIVE 3G3MV Series Multi-function Compact Inverter Users Manual (I527)
manuals SYSDRIVE 3G3RV Series High-function General-purpose Inverter Users Manual (I532)
CIMR-F7Z Users Manual (YEG-TOE-S616-55.1-OY)
CIMR-E7Z Users Manual (YEG-TOE-S616-56.1-OY)
CIMR-L7Z Users Manual (TOMCC71067600AA-OY)
CIMR-G7 Users Manual (TOE-S616-60.2)
_INV200_ReadStatus_E.doc (3/3)

Variable Table
Input Variables
Name Variable name Data type Default Range Description
EN EN BOOL 1 (ON): Starts FB
0 (OFF): Does not start FB
Inverter No. NodeNo INT &1 &1 to &31 The axis No. of the inverter used inside the Status
Refresh FB _INV002_Refresh should be specified
here.
I/F Area ID AreaID WORD #0082 The Area specified for the Refresh FB
I/F Area No AreaNo INT &0 _INV002_Refresh that controls the concerned
serial port.

Output Variables
Name Variable name Data type Range Description
ENO ENO BOOL 0 (OFF): Disables status
(May be omitted) 1 (ON): Enables status
Alarm flag ErrorStop BOOL 0 (OFF): Inverter operating normally
1 (ON): An alarm has occurred
Deceleration stop Stopping BOOL 0 (OFF): Other than the below
executing flag 1 (ON): The Inverter status bit Operation is 1 (ON:
Operating) when (Forward command = 0 AND Reverse
command =0)
Axis standing by flag StandStill BOOL 0 (OFF): Other than the below
1 (ON): Forward command = 0, Reverse command = 0,
Stopping = 0, and ErrorStop = 0
Axis operating flag ContinuousMotion BOOL 0(OFF): Other than the below
1 (ON): (Forward command = 1 and Operation = 1) or
(Reverse command = 1 and Operation = 1)
Speed matching flag ConstantVelocity BOOL 0 (OFF): Inverter frequency and actual speed do not match.
1 (ON): Inverter frequency and actual speed match with
each other.

Revision History
Version Date Contents
1.00 2005.4.22 Original production
1.10 2005.7.22 Suport CJ1M CPU
2.00 2007.6.8 The acquisition bank calculation mistake of EM is corrected.
(Combination with _INV002_Refresh version 2.0 or higher)

Note
This document explains the function of the function block.
It does not provide information of restrictions on the use of Units and Components or combination of them. For actual applications,
make sure to read the operation manuals of the applicable products.