NORD Drivesystems BU0550 User Manual

Page 53

Advertising
background image

3 AWL (Instruction List, IL)

BU 0550 GB-0813

53

3.5.2.2

MC_WriteParameter_16 / MC_WriteParameter_32

Writes a 16/32 Bit parameter into the frequency inverter, if EXECUTE changes from 0 to 1 (flank). The
parameter has been written if DONE is set to 1. For the duration of the reading process the BUSY output is
set to 1. In case of error, ERROR is set to 1 and the ERRORID contains the error code. The signals DONE,
ERROR, ERRORID remain set until EXECUTE changes back to 0. The writing process is not interrupted if
the EXECUTE signal changes to 0. It is only the DONE signal which only remains set for 1 PLC cycle.

If the RAMONLY input is set to 1, the settings will only be saved to the RAM. The changed settings will
therefore be lost if the FI is switched off.

Table 72 MC_WriteParameter16 / MC_WriteParameter32

VAR_INPUT

VAR_OUTPUT

Input

Explanation

Type

Output

Explanation

Type

EXECUTE

Enable

BOOL

DONE

Value is valid

BOOL

PARAMETER NUMBER

Parameter number

INT

BUSY

The writing process is active

BOOL

PARAMETER INDEX

Parameter index

INT

ERROR

Reading has failed

BOOL

VALUE

Value to be written

INT, DINT

ERRORID

Error code

INT

RAMONLY

Only save in RAM

ERRORID

Explanation

0

Invalid parameter number

1

Parameter value cannot be changed

2

Lower or upper value limit exceeded

3

Incorrect parameter index

4

No array

5

Invalid data type

6

Only resettable (only 0 may be written)

7

Description element cannot be changed

201

Invalid order element in the last order received

202

Internal response label cannot be depicted

Advertising