Sunteți pe pagina 1din 4

_INV033_MoveVelocityRPM (1/4)

INV
033 Speed Command RPM: _INV033_MoveVelocityRPM
Basic Outputs a run signal, rotation direction, and speed to the Inverter.
function
Symbol Always ON (P_ON)
_INV033_MoveVelocityRPM
(BOOL) (BOOL)
EN ENO
Inverter No. (INT) (BOOL) Speed agreement
NodeNo InVelocity
Start (BOOL) (BOOL) Abort
Execute CommandAborted
Rotation speed (REAL) (BOOL) Error
Velocity Error
Rotation direction (INT) (WORD) Error code
Direction ErrorID
Rated rotations (UINT)
RatedRPM
Rated frequency reference value (UINT)
RatedValue
I/F Area ID (WORD)
AreaID
I/F Area No. (INT)
AreaNo

File name Lib\FBL\omronlib\Inverter\INVRT\Serial\_INV033_MoveVelocityRPM20.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 and MSG 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.Set the parameter unit for speed command.
Set Inverter parameters for unit
3G3RV, CIMR (-F7Z/ -E7Z/ -L7Z/ -G7): o1-03=2 to 39 (motor poles)
RatedRPM = RatedValue makes FB to send Velocity directly to inverter
3G3MV, CIMR-V7AZ: n152=0 to 3 Initial value 0 should be changed if accuracy up to 1 r/min unit is
needed.
3G3MV, CIMR-V7AZ does not have r/min unit by itself, therefore this FB translates r/min
into the command unit specified. the recommended settting for this FB is n152=2
_INV033_MoveVelocityRPM (2/4)

Function Operates the inverter specified with the I/F Area (AreaID, AreaNo) and Inverter No. (NodeNo) to rotate the
description motor. Rotation speed is specified in r/min units.

Set the motor poles (4, 6, etc.) of the motor being used in the parameter (Frequency units of reference setting
and monitor (MV: n35, RV: o1-03)) to manage the commands in r/min units. The default setting is in Hz units.
Run command signal is written into the Command Area (Input Variable) when Start (Execute) is turned ON.
Rotation speed and direction will be written into the Command Area (Input Variable) every cycle while Start
(Execute) is ON.
When Start (Execute) is ON and Run command signal is OFF, it will be considered that the FB Deceleration
Stop (_INV060_Stop) has been executed. As the result, Abort (CommandAborted) will be turned ON.

The velocity is given by r/min unit. The velocity is converted into the value below.

Value = Velocity / RatedRPM * RatedValue

3G3RV, CIMR (-F7Z/ -E7Z/ -L7Z/ -G7): The inverter parameter should be used to command by r/min.
By changing the parameter o1-03, the digital operator also change its unit.
The initial setting is o1-03=0 (0.01 Hz). Use RatedRPM = RatedValue =1800
3G3MV, CIMR-V7AZ: The inverter should be used as below
n152=2 (FMAX=&30000) is recommended to send smallest unit (1 r/min) effective.
initial value for n152 is 0 (0.1 Hz). The parameter n152 does not affect digital operator.
FB This FB takes several cycles to finish processing.
precautions Timing Chart
Start (Execute) ON
OFF

Axis speed

Speed agreement (InVelocity) ON


or OFF
Abort (CommandAborted),
or
Error (Error)

EN input Connect the EN input to the Always ON flag (P_ON).


condition
Restrictions Use Always ON (P_ON) input to EN.
Input When any input variable is out of range, ENO will be turned OFF and the FB will not be executed.
variables The Inverter node number is 1 to 31 node 0 and 32 are not available.
Output Abort (CommandAborted) will be turned OFF when Start (Execute) is turned OFF.
variables
_INV033_MoveVelocityRPM (3/4)

Application Operates the inverter 20 shown below to rotate the motor.


example
Unit No.: 10 (SCU)
_INV002_Refresh
&10 I/F Area: EM0_1000 to EM0_1061
MSG Area: EM0_1150 to EM0_1194
CPU SCU

Serial port No.: 1


Rated rotations: 1750r/min
Rated frequency: 60.Hz
Inverter: 20
Command units (n152) = 1 r/min
Inverter

Always ON (P_On)
_INV033_MoveVelocityRpm
(BOOL) (BOOL)
Inverter No. EN ENO Speed agreement
&20 (INT) (BOOL) Bit B
NodeNo InVelocity
Start (BOOL) (BOOL) Abort
Rotation speed Execute CommandAborted
1400r/min &1400 (REAL) (BOOL) Error
Rotation direction Velocity Error
Input motor &1 (INT) (WORD) Error code
parameter here Rated rotations Direction ErrorID
&1750 (UINT)
Rated frequency reference RatedRPM
&600 (UINT)
I/F Area ID RatedValue
Same as setting of the (WORD)
P_EM0
FB Status Refresh AreaID
I/F Area No
&1000 (INT)
AreaNo

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
P_EM0 (WORD) more than one _INV002_Refresh
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)
Related FB FB Deceleration Stop (_INV060_Stop)
_INV033_MoveVelocityRPM (4/4)

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.
Start Execute BOOL 0(OFF) 1 (ON): Starts operation
0 (OFF): Turns all InVelocity,
CommandAborted, Error, and ErrorID OFF
Frequency Velocity REAL +0.0 Specify an integer in REAL type.
Digits smaller than 1 [r/min] are omitted.
Rotation direction Direction INT 0 &0 to &1 &0: + direction (forward)
&1: - direction (reverse)
Rated rotations RatedRPM UINT &1 &1 to Specify the motor rotations at rated
&65535 frequency. It is stated in the nameplate, etc.
on the motor.
Rated frequency RatedValue UINT &0 Not Specify the value for rated frequency
reference checked reference.
Specify one of the following setting values to
match the setting value in the inverter (n152)
(the values are for the rated frequency
reference of 60Hz).
(n152 = 0: 0.1Hz) Setting value 600
(n152 = 1: 0.01Hz) Setting value 6000
(n152 = 2: /30000) Setting value 30000
(n152 = 3: 0.1%) Setting value 1000
I/F Area ID AreaID WORD #0082 The Area specified for the Refresh FB
_INV002_Refresh that controls the
I/F Area No AreaNo INT &0
concerned serial port.

Output Variables
Name Variable name Data type Range Description
ENO ENO BOOL 1 (ON): FB operating normally
(May be omitted) 0 (OFF): FB not started or ended with error
Speed agreement InVelocity BOOL 1 (ON): Speed agreement

Abort CommandAborted BOOL 1 (ON): Aborted

Error Error BOOL 0 (OFF): Other than the below


1 (ON): An error has occurred in the FB
Error code ErrorID WORD #0000: No error, or failed to acquire due to
communications error
#0001 to #FFFF: The error code of the error occurring in
the inverter. For details, refer to the manuals indicated in
the Related manuals.

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.

S-ar putea să vă placă și