Vous êtes sur la page 1sur 2

INVDRT201_ReadParameter (1/2)

INVDRT
-201 Parameter Read: _INVDRT201_ReadParameter
Basic Reads the parameter value from the Inverter connected to DeviceNet.
function
Symbol
Start trigger _INVDRT201_ReadParameter
(BOOL) (BOOL)
EN ENO
(INT) (BOOL) Busy Flag
Busy Flag Master Unit No. MasterUnitNo BUSY
(INT) (BOOL) Normal end
Inverter slave address NodeNo Done
(WORD) (BOOL) Error end
Parameter No. ParameterNo Error
(WORD)
Error number
ErrorID
(WORD)
Read value
Value

File name Lib\FBL\omronlib\Inverter\INVRT\Dnet\_INVDRT201_ReadParameter10.cxf


Applicable Applicable Master Unit CS1W-DRM21(-V1), CJ1W-DRM21
models 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
Conditions Settings
for usage 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.
Function The value is read from the Inverter specified by the Master Unit No. and the Inverter Slave Address.
description Refer to the manual for the Inverter for parameter register numbers and settings.
FB The FB is processed over multiple cycles. The BUSY output variable can be used to check whether the
precautions 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) ON


or Error end (Error) OFF

FB execution completed.

EN input Connect EN to an OR between an upwardly differentiated condition for the start trigger and the BUSY output
condition from the FB.
Restrictions Always use an upwardly differentiated condition for EN.
Input If the input variables are out of range, the ENO Flag will turn OFF and the FB will not be processed.
variables
Output This FB requires multiple cycles to process. Always connect an OR including the BUSY output variable to
variables 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 Parameter 100 is read from Inverter 20 connected to the DeviceNet Unit with a unit number of 10.
example &10 Unit No.: 10
CPU DRM

Inverter DRT2: 20

DRT2 20

Inverter

Bit A _INVDRT201_ReadParameter
(BOOL) (BOOL)

EN ENO
Master Unit No. (INT) (BOOL) Busy Flag
Bit B &10 MasterUnitNo BUSY Bit B
Inverter slave address (INT) (BOOL) Normal end
&20 NodeNo Done
Parameter No. (WORD) (BOOL) Error end
&100 ParameterNo Error
(WORD) Error number
ErrorID
(WORD) Read value
Value D0

Related SYSDRIVE 3G3MV Multi-function Compact Inverters Users Manual (I527)


manuals 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 Variable name Data type Default Range Description
EN EN BOOL 1 (ON): FB started
0 (OFF): FB not started.
Master Unit No. MasterUnitNo INT 0 &0 to &15 The unit number of the DeviceNet Unit
#0 to #F
Inverter slave NodeNo INT &0 &0 to &63 The address of the slave
address
Parameter No. ParameterNo WORD &0 The register number in the Inverter

Output Variables
Name Variable name Data type Range Description
ENO ENO BOOL 1 (ON): FB processed normally.
(May be omitted.) 0 (OFF): FB not processed or ended in an error.
Busy Flag BUSY BOOL 0 (OFF): Communication completed (turns OFF for 1
cycle)
1 (ON): Communicating
Normal end Done BOOL 0 (OFF): Other status
1 (ON): Communications completed with no error
Error end Error BOOL 0 (OFF): Other status
1 (ON): An error occurred in the Inverter.
Error number ErrorID WORD #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 Value WORD Read value

Version History
Version Date Contents
1.00 2004.6. Original production

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.

Vous aimerez peut-être aussi