Vous êtes sur la page 1sur 3

_INV032_MoveVelocityHz (1/3)

INV
032

Speed Command Hz: _INV032_MoveVelocityHz

Basic
function
Symbol

Outputs a run signal, rotation direction, and speed to the Inverter.


Always ON (P_ON)

Inverter No.
Start
Frequency
Rotation direction
I/F Area ID
I/F Area No.

File name
Applicable
models

Conditions
for usage

_INV032_MoveVelocityHz
(BOOL)
(BOOL)
EN
ENO
(INT)
(BOOL)
NodeNo
InVelocity
(BOOL)
(BOOL)
Execute
CommandAborted
(REAL)
(BOOL)
Velocity
Error
(INT)
(WORD)
Direction
ErrorID
(WORD)
AreaID
(INT)
AreaNo

Abort
Error
Error code

Lib\FBL\omronlib\Inverter\INVRT\Serial\_INV032_MoveVelocityHz20.cxf
Inverters
3G3MV Series, 3G3RV Series
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
The inverter is to be connected to a Serial port controlled by the Refresh FB Status Refresh
(_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.
Start trigger

Operation
commands
This FB

I/F Area
Area ID Area No
Command & Status

(Always operating)

Refresh FB

Status read

Parameter setting
Error code read
Monitor item read

Communications
commands

Request

Result

Function
description

Speed agreement

MSG Area
MSGAreaID, MSGAreaNo
Refresh settings
Message commands
Message response

Response
- Priority setting
- Sends FINS commands
- FINS error processing

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
Operates the inverter specified with the I/F Area (AreaID, AreaNo) and Inverter No. (NodeNo) to rotate the
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
precautions

This FB takes several cycles to finish processing.


Timing Chart
Start (Execute)

ON
OFF

Axis speed

Speed agreement (InVelocity)


or
Abort (CommandAborted),
or
Error (Error)

EN input
condition
Restrictions
Input
variables
Output
variables
Application
example

ON
OFF

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


Use Always ON (P_ON) input to EN.
When any input variable is out of range, ENO will be turned OFF and the FB will not be executed.
The Inverter node number is 1 to 31 node 0 and 32 are not available.
Abort (CommandAborted) will be turned OFF when Start (Execute) is turned OFF.
Operates the inverter 20 shown below to rotate the motor.
Unit No.: 10 (SCU)
&10
CPU

SCU
Serial port No.: 1

_INV002_Refresh
I/F Area: EM0_1000 to EM0_1061
MSG Area: EM0_1150 to EM0_1194

Inverter: 20
Command units (n152) = 0.1Hz
Inverter

Always ON (P_On)
Inverter No.
&20
Start
Bit A
Frequency
50Hz 50.00

Same as setting of the


FB Status Refresh

Rotation direction
I/F Area ID.
P_EM0
Area No.
&1000

Always ON (P_On)
Unit selection
&10
Serial port No.
&1
Scan List No.
#00100000
Model Type List
#00000000
Interval Count
&10
I/F Area ID
P_EM0
I/F Area No
&1000
Message Area ID
P_EM0
Message Area No
&1150

Related
manuals

_INV032_MoveVelocityHz
(BOOL)
(BOOL)
EN
ENO
(INT)
(BOOL)
NodeNo
InVelocity
(BOOL)
(BOOL)
Execute
CommandAborted
(REAL)
(BOOL)
Velocity
Error
(INT)
(WORD)
Direction
ErrorID
(WORD)
AreaID
(INT)
AreaNo

Speed agreement
Bit B
Abort
Error
Error code

_INV002_Refresh
(BOOL)
(BOOL)
EN
ENO
(INT)
(BOOL)
Busy flag
UnitSelect
BUSY
(INT)
(INT)
Current axis No.
PortNo
NodeAddr
(DWORD)
(BOOL)
Error
Scanlist
Error
(DWORD)
(WORD)
Error code
ModelTypeMV
ErrorID
(UINT)
IntervalCount
(WORD)
AreaID
_INV002_Refresh is required for
(INT)
each MODBUS line.
AreaNo
more than one _INV002_Refresh
(WORD)
cannot be used to control same
MSGAreaID
PortNo. It does not work correctly
(INT)
MSGAreaNo

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


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
EN

Variable name
EN

Data type
BOOL

Default

Range

Inverter No.

NodeNo

INT

&1

&1 to &31

Start

Execute

BOOL

0(OFF)

Frequency

Velocity

REAL

Rotation direction

Direction

INT

&0

I/F Area ID

AreaID

WORD

#0082

I/F Area No

AreaNo

INT

&0

Output Variables
Name
ENO
(May be omitted)
Speed agreement

+0.00 to
+400.00
&0 to &1

Variable name
ENO

Data type
BOOL

InVelocity

BOOL

Description
1 (ON): FB operating normally
0 (OFF): FB not started or ended with error
1 (ON): Speed agreement

Abort

CommandAborted

BOOL

1 (ON): Aborted

Error

Error

BOOL

Error code

ErrorID

WORD

0 (OFF): Other than the below


1 (ON): An error has occurred in the FB
#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
1.00
1.10
2.00

Date
2005.4.22
2005.7.22
2007.6.8

Range

Description
1 (ON): Starts FB
0 (OFF): Does not start FB
The axis No. of the inverter used inside the
Status Refresh FB _INV002_Refresh should
be specified here.
1 (ON): Starts operation
0 (OFF): Turns all InVelocity,
CommandAborted, Error, and ErrorID OFF
Specifies the frequency in 0.01 units. Digits
smaller than 0.01 are omitted.
&0: + direction (forward)
&1: - direction (reverse)
The Area specified for the Refresh FB
_INV002_Refresh
that
controls
the
concerned serial port.

Contents
Original production
Suport CJ1M CPU
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