You are on page 1of 2

INVDRT201_ReadParameter (1/2)

INVDRT
-201

Parameter Read: _INVDRT201_ReadParameter

Basic
function
Symbol

Reads the parameter value from the Inverter connected to DeviceNet.


Start trigger

Busy Flag

Master Unit No.


Inverter slave address
Parameter No.

File name
Applicable
models

Conditions
for usage

Function
description
FB
precautions

_INVDRT201_ReadParameter
(BOOL)
(BOOL)
EN
ENO
(INT)
(BOOL)
MasterUnitNo
BUSY
(INT)
(BOOL)
NodeNo
Done
(WORD)
(BOOL)
Error
ParameterNo
(WORD)
ErrorID
(WORD)
Value

Busy Flag
Normal end
Error end
Error number
Read value

Lib\FBL\omronlib\Inverter\INVRT\Dnet\_INVDRT201_ReadParameter10.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
Settings
PLC Setup: Shared Settings for Communications Instructions in FBs
DeviceNet Response Timeout Time (default: 2 s)
Number of retries (default: 0)
Shared Resources
Communications ports (internal logical ports)
Inverter Settings
The following 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 Unit.)
Use Fixed allocation for I/O memory allocation. This FB does not use I/O memory for read but is
designed to be used under Fixed allocation.
If the Configurator software is used to set any allocation different from the fixed allocation, some FB
cannot be used.
Refer to section 2 in the SYSDRIVE DeviceNet Communications Unit/Card User's Manual for the complete
procedure.
The value is read from the Inverter specified by the Master Unit No. and the Inverter Slave Address.
Refer to the manual for the Inverter for parameter register numbers and settings.
The FB is processed over multiple cycles. The BUSY output variable can be used to check whether the
FB is being processed.
Done or Error will be turned ON for one cycle only after processing is completed. Use these flags to
detect the end of FB processing.
Timechart
Start Trigger

ON
OFF

Busy Flag (BUSY)

ON
OFF

Normal end (Done)


or Error end (Error)

ON
OFF
FB execution completed.

EN input
condition
Restrictions
Input
variables
Output
variables

Connect EN to an OR between an upwardly differentiated condition for the start trigger and the BUSY output
from the FB.
Always use an upwardly differentiated condition for EN.
If the input variables are out of range, the ENO Flag will turn OFF and the FB will not be processed.
This FB requires multiple cycles to process. Always connect an OR including the BUSY output variable to
the EN input variable to ensure that the FB is processed to completion (see Symbol).
Do not turn the BUSY output variable ON or OFF outside the FB.

INVDRT201_ReadParameter (2/2)

Application
example

Parameter 100 is read from Inverter 20 connected to the DeviceNet Unit with a unit number of 10.
&10
CPU

Unit No.: 10

DRM

Inverter DRT2: 20
DRT2 20
Inverter
Bit A

Bit B

Related
manuals

Master Unit No.


&10
Inverter slave address
&20
Parameter No.
&100

_INVDRT201_ReadParameter
(BOOL)
(BOOL)
EN
ENO
(INT)
(BOOL)
BUSY
MasterUnitNo
(INT)
(BOOL)
Done
NodeNo
(WORD)
(BOOL)
Error
ParameterNo
(WORD)
ErrorID
(WORD)
Value

Busy Flag
Bit B
Normal end
Error end
Error number
Read value
D0

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)
8-4 Inverter Faults
CIMR-F7Z Users Manual (YEG-TOE-S616-55.1-OY)
CIMR-E7Z Users Manual (YEG-TOE-S616-56.1-OY)

 Variable Tables
Input Variables
Name
EN

Variable name
EN

Data type
BOOL

Default

Range

Master Unit No.

MasterUnitNo

INT

Inverter slave
address
Parameter No.

NodeNo

INT

&0

&0 to &15
#0 to #F
&0 to &63

ParameterNo

WORD

&0

Variable name
ENO

Data type
BOOL

Range

BUSY

BOOL

Normal end

Done

BOOL

Error end

Error

BOOL

Error number

ErrorID

WORD

Read value

Value

WORD

Version History
Version
1.00

Date
2004.6.

Contents
Original production

Output Variables
Name
ENO
(May be omitted.)
Busy Flag

Description
1 (ON): FB started
0 (OFF): FB not started.
The unit number of the DeviceNet Unit
The address of the slave
The register number in the Inverter

Description
1 (ON): FB processed normally.
0 (OFF): FB not processed or ended in an error.
0 (OFF): Communication completed (turns OFF for 1
cycle)
1 (ON): Communicating
0 (OFF): Other status
1 (ON): Communications completed with no error
0 (OFF): Other status
1 (ON): An error occurred in the Inverter.
#0000: No error or communications error prevented
getting the error number
#0001 to #FFFF: Error number from Inverter
Refer to the Related Manuals for details.
Read 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.

You might also like