Vous êtes sur la page 1sur 3

_INV032_MoveVelocityHz (1/3)

INV
032 Speed Command Hz: _INV032_MoveVelocityHz
Basic Outputs a run signal, rotation direction, and speed to the Inverter.
function
Symbol Always ON (P_ON)
_INV032_MoveVelocityHz
(BOOL) (BOOL)
EN ENO
Inverter No. (INT) (BOOL) Speed agreement
NodeNo InVelocity
Start (BOOL) (BOOL) Abort
Execute CommandAborted
Frequency (REAL) (BOOL) Error
Velocity Error
Rotation direction (INT) (WORD) Error code
Direction ErrorID
I/F Area ID (WORD)
AreaID
I/F Area No. (INT)
AreaNo

File name Lib\FBL\omronlib\Inverter\INVRT\Serial\_INV032_MoveVelocityHz20.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.
(3G3MV, CIMR-V7AZ: n152=1, 3G3RV, CIMR (-F7Z/ -E7Z/ -L7Z/ -G7): o1-03=0) Unit=0.01 Hz
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 with frequency (Unit: Hz).
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.
_INV032_MoveVelocityHz (2/3)

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
Application Operates the inverter 20 shown below to rotate the motor.
example
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

Always ON (P_On)
_INV032_MoveVelocityHz
(BOOL) (BOOL)
Inverter No. EN ENO Speed agreement
&20 (INT) (BOOL) Bit B
Start NodeNo InVelocity
Bit A (BOOL) (BOOL) Abort
Frequency Execute CommandAborted
50Hz 50.00 (REAL) (BOOL) Error
Velocity Error
Rotation direction (INT) (WORD) Error code
I/F Area ID. Direction ErrorID
Same as setting of the (WORD)
P_EM0
FB Status Refresh AreaID
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
Message Area ID AreaNo each MODBUS line.
(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)
_INV032_MoveVelocityHz (3/3)

Related FB FB Deceleration Stop (_INV060_Stop)

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.00 to Specifies the frequency in 0.01 units. Digits
+400.00 smaller than 0.01 are omitted.
Rotation direction Direction INT &0 &0 to &1 &0: + direction (forward)
&1: - direction (reverse)
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.

Vous aimerez peut-être aussi