You are on page 1of 4

_INVDRT033_MoveVelocityRPM (1/4)

INVDRT
033
Basic
function
Symbol

[Fixed Allocation]
Speed Control (r/min): _INVDRT033_MoveVelocityRPM
Outputs a run signal, rotation direction, and speed to the Inverter whose Local Memory is allocated to a fixed
memory area of the CPU Unit via DeviceNet.
Always ON

Area selection
Master Unit No.
Inverter slave address
Start
Speed
Direction

File name
Applicable
models

_INVDRT033_MoveVelocityRPM
(BOOL)
(BOOL)
EN
ENO
(INT)
(BOOL)
InVelocity
Select
(INT)
(BOOL)
CommandAborted
MasterUnitNo
(INT)
(BOOL)
Error
NodeNo
(BOOL)
(WORD)
ErrorID
Execute
(REAL)
Velocity
(INT)
Direction

Speed agreement (May be omitted


Aborted
Error end
Error number
(May be ommited)

Lib\FBL\omronlib\Inverter\INVRT\Dnet\_INVDRT033_MoveVelocityRPM20.cxf
Applicable Master Unit
CS1W-DRM21(-V1), CJ1W-DRM21
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

_INVDRT033_MoveVelocityRPM (2/4)

Conditions
for usage

 Inverter and DeviceNet Master unit Settings should be required three conditions below.
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 rules for the Fixed allocations must be applied to I/O memory allocations.
Run command selection (3G3MV, CIMR-V7AZ: n003=3 / 3G3RV, CIMR - (F7Z,E7Z): b1-02=3) and
Frequency reference selection (3G3MV, CIMR-V7AZ: n004=9 / 3G3RV, CIMR - (F7Z,E7Z): b1-01=3) are
set From the DeviceNet Communications Unit
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.
The specified unit of the parameter for the Inverter should be 1r/min.
Frequency command setting/Reference unit
(3G3MV, CIMR-V7AZ:n035=0 / 3G3RV, CIMR - (F7Z,E7Z):o1-03=0)
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)

Function
description

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.
The speed command is operated for the Inverter specified by Master Unit No. (MasterUnitNo) and Inverter
Slave Address (NodeNo).
The poll number (4.6 etc) used in the parameter (MV:n35 RV:o1-03) of Inverter should be set and manage
the commands with r/min unit. The default setting for unit is Hz.
The speed is specified using a frequency (1r/min).
The operation command is written to the remote I/O area when Start (Execute) turns ON, or when Master
Unit No. (MasterUnitNo), Inverter Slave Address (NodeNo), and Direction (Direction) are changed while Start
(Exeute) remains ON.
Frequency is written to the remote I/O area every cycle while Start (Execute) remains ON.
If Frequency or Direction is set out of the range while Srart (Execute) remains ON, Aborted
(CommandAborted) will be turned ON.
If Start (Execute) is ON and the operation command is OFF, it will be assumed the FB of [Fixed Allocation]
Deceleration Stop (_INVDRT060_Stop) has been executed and Aborted (CommandAborted) will be turned
ON.
If Direction detects the reverse operation command while Start (Execute) remains ON, Aborted
(CommandAborted) will be turned ON.

_INVDRT033_MoveVelocityRPM (3/4)

FB
precautions

The remote I/O area of the Inverter will be changed depends on the settings in the DeviceNet Master
Unit.
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.
If Frequency command is set over the frequency maximum (FMAX) (3G3MV, CIMR-V7AZ:n011 /
3G3RV, CIMR - (F7Z,E7Z):E1-04), it will be operated ignoring Frequency at the execution. For this case,
Frequency that is executed before will be operated.
This Function Block is processed over several cycles.
Timechart

Start(Execute)

ON
OFF

Inverter Speed

Speed agreement (InVelocity) ON


OFF
or
Abort (CommandAborted)
or
Error end (Error)
Frequency agreement from
Inverter

EN input
condition
Restrictions
Input
variables
Output
variables
Application
example

ON
OFF

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


Always use the Always ON Flag for EN.
If the input variables are out of range, the ENO Flag will turn OFF and the FB will not be processed.
Aborted (CommandAaborted) is turned OFF when Start (Execute) turns OFF.
Operation is started for Inverter 20 connected to the DeviceNet Unit with a unit number of 10.
&10
CPU

DRM

Unit No.: 10
Node No.:63
Fixed Allocation

Inverter DRT2: 20
DRT2 20
Inverter
Always ON

Area selection
#0001
Master Unit No.
&10
Inverter slave address
&20
Start
Bit A
Frequency
50.00Hz +50.00
Direction
Reverse &1

Related
manuals

Related FBs

_INVDRT032_MoveVelocityHz
(BOOL)
(BOOL)
EN
ENO
(INT)
(BOOL)
InVelocity
Select
(INT)
(BOOL)
MasterUnitNo
CommandAborted
(INT)
(BOOL)
Error
NodeNo
(BOOL)
(WORD)
ErrorID
Execute
(REAL)
Velocity
(INT)
Direction

Speed agreement
Bit B
Aborted
Bit C
Error end
Bit D
Error number

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


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)
[Fixed Allocation] Deceleration Stop (_INVDRT060_Stop)

_INVDRT033_MoveVelocityRPM (4/4)

 Variable Tables
Input Variables
Name
EN

Variable name
EN

Data type
BOOL

Default

Area selection

Select

INT

&1

Master Unit No.

MasterUnitNo

INT

Inverter slave
address

NodeNo

INT

&0

Start

Execute

BOOL

0 (OFF)

Speed

Velocity

REAL

+0.0

Over +0.0

Direction

Direction

INT

&0 to &1

Variable name
ENO

Data type
BOOL

Range

InVelocity
CommandAborted
Error

BOOL
BOOL
BOOL

ErrorID

WORD

 Version History
Version
2.00

Date
2005.7

1.00

2004.6.

Contents
Input for Area selection (Select) is not required. (Input variables for the system
reserved instead)
Speed (Velocity) and Direction (Direction) has changed to write every cycle while
executing.
The effective range for Inverter slave address (NodeNo) has changed from &0 &63 to &0 - &62.
The effective range of Speed (Velocity) has changed to over +0.0.
Original production

Output Variables
Name
ENO
(May be omitted.)
Speed agreement
Aborted
Error end
Error number
(May be omitted.)

Range

&0 to 15
#0 to #F
&0 to &62

Description
1 (ON): FB started
0 (OFF): FB not started.
Input variables for the system reserved
Set the fixed value as #0001
The unit number of the DeviceNet Unit
The address of the slave
(Maximum &62 due to 2 consecutive words
are occupied)
1 (ON): Operation started
0 (OFF): All of the following are turned
OFF: InVelocity, CommandAborted, Error,
and ErrorID.
Specify a REAL integer value.
Any digits below 1 r/min are truncated.
0: Forward
1: Reverse

Description
1 (ON): FB processed normally.
0 (OFF): FB not processed or ended in an error.
1 (ON): Speed agreement
1 (ON): Aborted
0 (OFF): Other status
1 (ON): Error in FB
#0000: No error

 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.
For Ver1.00, Aborted (CommandAborted) is turned ON when Frequency is changed while executing.
And also it is invalid when Direction (Direction) is changed. For Ver2.00, these constraints are
eliminated and Frequency (Velocity) and Direction (Direction) are written every cycle.
The FB can not use &63 for Inverter slave address (NodeNo).
For Ver2.00, the range check of Inverter slave address is enhanced.
Speed (Velocity) will not be operated with the setting value.
For Ver2.00, the range check is enhanced so as to output Error end (Error), and inform the error of
the setting value.

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.