Vous êtes sur la page 1sur 2

INVDRT401_WriteParameter (1/2)

INVDRT
-401 Parameter Write: _INVDRT401_WriteParameter
Basic Writes a parameter in the Inverter connected to DeviceNet.
function
Symbol
Start trigger _INVDRT401_WriteParameter
(BOOL) (BOOL)
EN ENO
Master Unit No. (INT) (BOOL) Busy Flag
Busy Flag MasterUnitNo BUSY
Inverter slave address (INT) (BOOL)
Normal end
NodeNo Done
Inverter model (INT) (BOOL)
Error end
INVtype Error
(WORD) (WORD) Error number
Parameter No.
ParameterNo ErrorID (May be omitted.)
(WORD)
Write value
Value

File name Lib\FBL\omronlib\Inverter\INVRT\Dnet\_INVDRT401_WriteParameter10.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 followings 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.

EEPROM Write
This FB will write data into RAM. Turning the power off would return the parameter to the previous value.
Please write into the ENTER command when those value are needed to be saved after turn off the power.
Please refer to Chapter 7-4 Entar instruction in SYSDRIVE 3G3MV user's manual for address to write in.
Refer to section 2 in the SYSDRIVE DeviceNet Communications Unit/Card User's Manual for the complete
procedure.
Function The value of the specified parameter is written to the Inverter specified by the Master Unit No. and the
description Inverter Slave Address.
Refer to the manual for the Inverter for parameter register numbers and settings.
(For Inverters other than the 3G3MV,CIMR-V7AZ Inverters, the Enter command (FFDD) will be sent
immediately after the parameter to automatically enable the new parameter setting.)
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
INVDRT401_WriteParameter (2/2)

Output This FB requires multiple cycles to process. Always connect an OR including the BUSY output variable
variables 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.
Application The acceleration time (register #0113) in Inverter 20 (3G3MV) connected to the DeviceNet Unit with a unit
example number of 10 is changed to 5 s (&50).
&10 Unit No.: 10
Area selection: 1
CPU DRM

Inverter DRT2: 20

DRT2 20

Inverter

Bit A _INVDRT401_WriteParameter
(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
Inverter model (INT) (BOOL)
Error end
3G3MV &0 INVtype Error
Parameter No. WORD) (WORD)
ParameterNo ErrorID Error number
Acceleration time 113 Hex  #0113
Write value (WORD)
50.0 s&50 Value

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


manuals SYSDRIVE 3G3RV High-function General-purpose Inverters Users Manual (I532)
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
Inverter model INVtype INT &0 &0 to &1 &0: 3G3MV, CIMR-V7AZ
&1: 3G3RV, CIMR - (F7Z,E7Z)
Parameter No. ParameterNo WORD &0 The register number in the Inverter
Write value Value WORD &0 Write value

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 0 to FFFF #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.

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