Sie sind auf Seite 1von 2

INVDRT401_WriteParameter (1/2)

INVDRT
-401

Parameter Write: _INVDRT401_WriteParameter

Basic
function
Symbol

Writes a parameter in the Inverter connected to DeviceNet.


Start trigger

Master Unit No.

Busy Flag

Inverter slave address


Inverter model
Parameter No.
Write value

File name
Applicable
models

Conditions
for usage

Function
description

FB
precautions

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

Busy Flag
Normal end
Error end
Error number
(May be omitted.)

Lib\FBL\omronlib\Inverter\INVRT\Dnet\_INVDRT401_WriteParameter10.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 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.
The value of the specified parameter is written to 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.
(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.)
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

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.

INVDRT401_WriteParameter (2/2)

Output
variables
Application
example

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.
The acceleration time (register #0113) in Inverter 20 (3G3MV) connected to the DeviceNet Unit with a unit
number of 10 is changed to 5 s (&50).
Unit No.: 10
Area selection: 1

&10
CPU

DRM

Inverter DRT2: 20
DRT2 20
Inverter
Bit A

Master Unit No.


&10
Inverter slave address
&20
Inverter model
3G3MV &0
Parameter No.
Acceleration time 113 Hex  #0113
Write value
50.0 s&50

Bit B

Related
manuals

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

Busy Flag
Bit B
Normal end
Error end
Error number

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


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
EN

Variable name
EN

Data type
BOOL

Default

Range

Master Unit No.

MasterUnitNo

INT

Inverter slave
address
Inverter model

NodeNo

INT

&0

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

INVtype

INT

&0

&0 to &1

Parameter No.
Write value

ParameterNo
Value

WORD
WORD

&0
&0

Variable name
ENO

Data type
BOOL

Range

BUSY

BOOL

Normal end

Done

BOOL

Error end

Error

BOOL

Error number

ErrorID

WORD

Version History
Version
1.00

Date
2004.6.

Contents
Original production

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

0 to FFFF

Description
1 (ON): FB started
0 (OFF): FB not started.
The unit number of the DeviceNet Unit
The address of the slave
&0: 3G3MV, CIMR-V7AZ
&1: 3G3RV, CIMR - (F7Z,E7Z)
The register number in the Inverter
Write value

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.

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.

Das könnte Ihnen auch gefallen