Vous êtes sur la page 1sur 3

_INV201_ReadParameter (1/3)

INV

Parameter Read: _INV201_ReadParameter

201

Basic

function

Symbol

File name

Applicable

models

Basic function Symbol File name Applicable models Conditions for usage Function description FB precautions EN
Basic function Symbol File name Applicable models Conditions for usage Function description FB precautions EN
Basic function Symbol File name Applicable models Conditions for usage Function description FB precautions EN
Basic function Symbol File name Applicable models Conditions for usage Function description FB precautions EN

Conditions

for usage

Function

description

FB

precautions

EN input

condition

Function description FB precautions EN input condition Reads the setting value of the specified parameter. Start

Reads the setting value of the specified parameter.

Start trigger

Busy flag

of the specified parameter. Start trigger ↑ Busy flag Inverter No. Parameter No. MSG Area ID
of the specified parameter. Start trigger ↑ Busy flag Inverter No. Parameter No. MSG Area ID

Inverter No.

Parameter No.

MSG Area ID

MSG Area No.

_INV201_ReadParameter

(BOOL)

(BOOL)

EN

ENO

(INT)

(BOOL)

Busy flag

NodeNo

BUSY

(WORD)

(BOOL)

Parameter read completed

ParameterNo

Done

(WORD)

(BOOL)

Error

MSGAreaID

Error

(INT)

(WORD)

Error code

MSGAreaNo

ErrorID

(WORD)

Read value

Value

MSGAreaNo ErrorID (WORD) Read value Value

Lib\FBL\omronlib\Inverter\INVRT\Serial\_INV201_ReadParameter20.cxf

Inverters

CPU Unit

Serial ports

Combination FB

CX-Programmer

Start trigger

Start trigger This FB ■ ■ _INV600_SetComm.

This FB

_INV600_SetComm.

Start trigger This FB ■ ■ _INV600_SetComm. 3G3MV Series, 3G3RV Series CIMR-V7AZ, CIMR-F7Z, CIMR-E7Z,

3G3MV Series, 3G3RV Series CIMR-V7AZ, CIMR-F7Z, CIMR-E7Z, CIMR-L7Z, CIMR-G7 (Sold by OYMC)

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)

See _INV002_Refresh for detail

_INV002_Refresh version 2.0 or higher

Version 5.0 or higher

I/F Area Area ID Area No Command & Status

Request Result - - -
Request
Result
-
-
-

(Always operating)

Refresh FB

Operation

commands Status read
commands
Status read

Communications

commands

Response
Response

MSG Area MSGAreaID, MSGAreaNo Refresh settings Message commands Message response

Priority setting

Sends FINS commands

FINS error processing

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.

for s ending messages and does not control the serial port. Parameter setting Error code read

Parameter setting Error code read Monitor item read

Shared Resources 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

can be changed by CX-Programmer or using FB library Reads the parameter setting of the inverter
can be changed by CX-Programmer or using FB library Reads the parameter setting of the inverter

Reads the parameter setting of the inverter specified with the MSG Area (MSGAreaID, MSGAreaNo) and Inverter No. (NodeNo) Refer to the manuals indicated in the Related manuals for the details of the register No. and setting values of the parameters.

Timing Chart

Start trigger

Busy flag (BUSY)

Parameter read completed (Done) or Error (Error)

This FB takes several cycles to finish processing. The output variable Busy flag (BUSY) indicates whether processing is in progress or not.

FB execution completed here
FB execution completed here

FB execution completed here

ON

OFF

ON

OFF

ON

OFF

Once processing is completed, the Parameter read completed (Done) or Error (Error) will be turned ON only for 1 cycle. Use these flags to detect completion of FB processing.

Use these flags to detect completion of FB processing. Connect the OR circuit of Upwardly differentiated

Connect the OR circuit of Upwardly differentiated version of the Start trigger and the Busy flag (BUSY), the output variable of this FB, to EN.

_INV201_ReadParameter (2/3)

Restrictions

Input

variables

Output

variables

Application

example

Related

manuals

Always use an upwardly differentiated version of 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.

This FB takes several cycles to finish processing. To ensure that processing is ex ecuted to the end, make sure to insert the output variable Busy flag (BUSY) into the OR circuit for the input condition to EN (see the diagram in the Symbol.).

Do not turn ON or OFF the output variable Busy flag (BUSY) from outside of the FB.

Reads the parameter 100 of the Inverter 20 connected to the Serial Communications Unit (SCU) with the Unit No. 10.

Unit No.: 10 (SCU) &10 _INV002_Refresh CPU SCU I/F Area: EM0_1000 to EM0_1061 MSG Area:
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
Inverter
Bit A ↑ Inverter No. &20 Bit B Parameter no. #113 MSG Area ID. &100
Bit A
Inverter No.
&20
Bit B
Parameter no.
#113
MSG Area ID.
&100
Same as setting of the FB Status Refresh
Same as setting of
the FB Status Refresh

MSG Area No.

&1150

Always ON (P_On) Unit selection &10 Serial port No. &1 Scan List No. #00100000
Always ON (P_On)
Unit selection
&10
Serial port No.
&1
Scan List No.
#00100000

Model Type List

#00000000

Interval Count

&10

&10

I/F Area ID

P_EM0

I/F Area No

&1000

Message Area ID

P_EM0

Message Area No

&1150

_INV201_ReadParameter

(BOOL)

(BOOL)

EN

ENO

(INT)

(BOOL)

NodeAddr

BUSY

(WORD)

(BOOL)

ParameterNo

Done

(WORD)

(BOOL)

AreaID

Error

(INT)

(WORD)

AreaNo

ErrorID

(WORD)

Value

Busy flag

Bit B

Parameter read completed

Error

Error code

Read value

D10

_INV002_Refresh (BOOL) (BOOL) EN ENO (INT) (BOOL) Busy flag UnitSelect BUSY (INT) (INT) Current axis
_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
(INT)
AreaNo
(WORD)
MSGAreaID
(INT)
_INV002_Refresh is required for
each MODBUS line.
more than one _INV002_Refresh
cannot be used to control same
PortNo. It does not work correctly
MSGAreaNo

SYSDRIVE 3G3MV Series Multi-function Compact Inverter User’s Manual (I527)

SYSDRIVE 3G3RV Series High-function General-purpose Inverter User’s Manual (I532)

CIMR-F7Z User’s Manual (YEG-TOE-S616-55.1-OY)

CIMR-E7Z User’s Manual (YEG-TOE-S616-56.1-OY)

CIMR-L7Z User’s Manual (TOMCC71067600AA-OY)

CIMR-G7 User’s Manual (TOE-S616-60.2)

Variable Table

_INV201_ReadParameter (3/3)

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.

Parameter No.

 

ParameterNo

WORD

&0

 

Register No. of the inverter

Message Area ID

 

MSGAreaID

WORD

#0082

 

The Area specified for the Refresh FB _INV002_Refresh that controls the concerned serial port.

Message Area No.

 

MSGAreaNo

INT

&0

 

Output Variables

 

Name

Variable name

Data type

Range

Description

ENO (May be omitted)

 

ENO

BOOL

 

1

(ON): FB operating normally

0

(OFF): FB not started or ended with error

Busy flag

BUSY

BOOL

 

(OFF): Communications completed (OFF at least for 1 cycle)

0

1

(ON): Communications in progress

Parameter

read

Done

BOOL

 

0

(OFF): Other than the below

completed

1

(ON): Communications completed without error

Error

Error

BOOL

 

0

(OFF): Other than the below

1

(ON): An error has occurred in the Inverter

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.

Read value

Value

WORD

 

Read value will be output.

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.