Vous êtes sur la page 1sur 3

_INVDRT200_ReadStatus (1/3)

INVDRT
200 [Fixed Allocation] Status Read: _INVDRT200_ReadStatus
Basic Reads status information from the Inverter connected to DeviceNet.
function
Symbol
Start trigger _INVDRT200_ReadStatus
connection (BOOL) (BOOL)
EN ENO
(INT) (BOOL) (May be omitted)
Area selection Select Errorstop Alarm flag
(INT) (BOOL)
Mater Unit No. MasterUnitNo Stopping Deceleration stop flag
(INT) (BOOL)
Inverter slave address NodeNo StandStill Axis standby flag
(BOOL)
ContinuousMotion Axis moving flag
(BOOL)
ConstantVelocity Speed agreement flag
(BOOL)

File name Lib\FBL\omronlib\Inverter\INVRT\Dnet\_INVDRT200_ReadStatus20.cxf


Applicable Applicable Master Unit CS1W-DRM21(-V1), CJ1W-DRM21
models Applicable Slave Unit 3G3MV Series, 3G3RV Series
(Inverters) CIMR-V7AZ, CIMR-F7Z, CIMR-E7Z (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
CX-Programmer Version 5.0 or higher
Conditions  Inverter and DeviceNet Master unit Settings should be required two conditions below.
for usage The followings are necessary for the Inverter connected to DeviceNet.
It must use standard remote I/O. (This is the default setting for the 3G3xV-PDRT2 DeviceNet
Communications Unit.) (The FB can not be used if User-set allocations are used by the configurator)

The followings are necessary for DeviceNet Master Unit.


The remote I/O memory allocated position should be alocated as Fixed Allocation.
(The FB can not be used if User-set allocations are used by the configurator)

Use Fixed allocations when allocating the DeviceNet Master Units Local
Memory to the CPU Units CIO Area Words. If User-set allocations are used,
commands will be sent to the slave with an unintended slave No., which may
cause the system or machine to operate in an unexpected way.

This Function Block turns ON and OFF the bits in the allocated area words in the assumption that the
DeviceNet Master Unit Local Memory has been allocated to the CPU Units CIO Area Words using Fixed
allocations. When downloading the DeviceNet Master Unit Settings from the DeviceNet Configurator to the
network devices, make sure that the addresses for the allocated CIO Area Words do not get changed from
those determined by the Fixed allocations. If changed, other than that the target Inverter will not operate,
the output of this Function Block may be sent to another Inverter.

Use the default Slave No. 63 for the DeviceNet Master Unit.
Software switch 1 (nCH) in the DeviceNet Master Unit is used to make Fixed allocations.
Bits in n where n = 1500 + (Master Unit No. 25)
Bit 08: Slave Fixed Allocation Area Setting 1
IN1 (PLCINV) Area CIO 3300 to CIO 3363 (Inverter uses 2 words from Slave No. word)
OUT1 (PLCINV) Area CIO 3200 to CIO 3263 (Inverter uses 2 words from Slave No. word)
Bit 09: Slave Fixed Allocation Area Setting 2
IN2 (PLCINV) Area CIO 3500 to CIO 3563 (Inverter uses 2 words from Slave No. word)
OUT2 (PLCINV) Area CIO 3400 to CIO 3463 (Inverter uses 2 words from Slave No. word)
Bit 10: Slave Fixed Allocation Area Setting 3
IN3 (PLCINV) Area CIO 3700 to CIO 3763 (Inverter uses 2 words from Slave No. word)
OUT3 (PLCINV) Area CIO 3600 to CIO 3663 (Inverter uses 2 words from Slave No. word)
If, as the result of the Fixed allocations, Area selection is &1, each Slave will occupy 2 consecutive words
starting from the word CIO3200+(NodeNo.) and the word CIO3300+(NodeNo.). (For using the standard I/O
remote settings) To avoid over-wrapping of the words, 2 consecutive Slave Nos. cannot be used for Inverters.
Note 1: The settings for bits 08 to 10 are effective when they are turned OFF, ON and then OFF. (The Master
Unit will automatically turn OFF these bits when it detects they have been turned ON.)
Refer to section 3 of the DeviceNet Unit Operation Manual for details.
Function The status of the Inverter specified by Master Unit No. (MasterUnitNo) and Inverter Slave Address (NodeNo) is
description read.
If Master Unit No. (MasterUnitNo) and Inverter Slave Address (NodeNo) is changed, the appricable unit will be
replaced while Start (Execute) remains ON.
_INVDRT200_ReadStatus (2/3)

FB The remote I/O area of the Inverter will be changed depends on the settings in the DeviceNet Master Unit.
precautions The default setting for Fixed Allocation Master area is 1.
2 consecutive words are allocated for an Inverter, which means that consecutive Slave Nos. cannot be
used. (For using the standard I/O remote settings)
Downloading a setting from the DeviceNet Configurator to the network devices may cause word allocations
different from that by the Fixed allocations. Make sure to use this Function Block only with the Fixed
allocations.
EN input Connect the EN input to the Start trigger.
condition
Restrictions If the input variables are out of range, the ENO Flag will turn OFF and the FB will not be processed.
Input
variables
Application When the Bit A turned ON, the status of the Inverter 20 connected to the Device Net with a unit number 10 is
example read.

&10 Unit No.: 10


CPU DRM Node No.: 20
Fixed Allocation

Inverter DRT2: 20

DRT2 20

Inverter

Bit A _INVDRT200_ReadStatus
(BOOL) (BOOL)
EN ENO
Area selection (INT) (BOOL) Alarm flag
#0001 Select Errorstop Bit B
Mater Unit No. (INT) (BOOL) Deceleration stop flag
&10 MasterUnitNo Stopping Bit C
Inverter salve address (INT) (BOOL) Axis standby flag
&20 NodeNo StandStill Bit D
(BOOL) Axis moving flag
ContinuousMotion Bit E
(BOOL) Speed agreement flag
ConstantVelocity Bit E
(BOOL)

Related SYSDRIVE 3G3MV Multi-function Compact Inverters Users Manual (I527)


manuals SYSDRIVE 3G3RV High-function General-purpose Inverters Users Manual (I532)
SYSDRIVE DeviceNet Communications Unit/Card User's Manual (I539)
CS/CJ Series DeviceNet Units Operation Manual (W380)
Section 3 Allocated CIO and DM Words
Section 4 Remote I/O Master Communications
CIMR-F7Z Users Manual (YEG-TOE-S616-55.1-OY)
CIMR-E7Z Users Manual (YEG-TOE-S616-56.1-OY)
_INVDRT200_ReadStatus (3/3)

 Variable Tables
Input Variable
Name Variable name Data type Default Range Description
EN EN BOOL 1 (ON): FB started
0 (OFF): FB not started
Area selection Select INT &1 Input variables for the system reserved
Set the fixed value as #0001
Master Unit No. MasterUnitNo INT 0 &0&15 The unit number of the DeviceNet Unit
#0#F
Inverter slave NodeNo INT &0 &0&62 The address of the slave
address (Maximum &62 due to 2 consecutive words
are occupied)

Output Variables
Name Variable name Data type Range Description
ENO ENO BOOL 0(OFF): Status invalid
(May be omitted) 1(ON): Status valid
Alarm flag ErrorStop BOOL 0(OFF): Operates Inverter normally
1(ON): Alarm is activating
Deceleration stop flag Stopping BOOL 0(OFF): Other status
1(ON): Operates with Forward command=0 and
reverse command=0
Axis standby flag StandStill BOOL 0(OFF): Other status
1(ON): All of the following are turned OFF: Forward
command, reverse command, Stopping, and
ErrorStop.
Axis moving flag ContinuousMotion BOOL 0(OFF): Other status
1(ON): Forward command=1 and Operating=1
or
Reverse command=1 and Operating=1
Speed agreement flag ConstantVelocity BOOL 0(OFF): Disagreement of the Inverter Frequency.
1(ON): Agreement of the Inverter Frequency.

Version History
Version Date Contents
2.00 2005.7 Input for Area selection (Select) is not required. (Input variables for the system
reserved instead)
The effective range for Inverter slave address (NodeNo) has changed from &0 -
&63 to &0 - &62.
1.00 2004.6. Original production

 Version Details
Version Contents
2.00 For Ver1.00, Area selection (Select) is required to set. For Ver2.00, it is not required to set to be as
the input variable for the system reserved instead. Area selection (Select) should be set the fixed
value as #0001.
The FB can not use &63 for Inverter slave address (NodeNo).
For Ver2.00, the range check of Inverter slave address is enhanced.

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.