NORD Drivesystems BU0550 User Manual

Page 67

Advertising
background image

3 AWL (Instruction List, IL)

BU 0550 GB-0813

67

3.5.6.2

FB_STRINGToPBox

This function module copies a string (chain of characters) into the P-Box memory array. Via ROW and
COLUMN the starting position of the string is set in the P-Box display. The parameter TEXT communicates
the required string to the function module. The string name can be obtained from the table of variables.

As long as ENABLE is set to 1, all changes at the inputs are adopted immediately.

If the CLEAR input is set, the entire display content is overwritten with spaces before the selected string is
written.

If DONE switches to 1, the string has been transferred correctly.

In case of error, ERROR is set to 1. In this case, DONE is 0. The corresponding error code in the ERRORID
applies.

DONE, ERROR and ERRORID are reset with a negative flank on ENABLE.

Table 92 FB_STRINGToPBox

VAR_INPUT

VAR_OUTPUT

Input

Explanation

Type

Output

Explanation

Type

ENABLE

Transfer of string

BOOL

DONE

String transferred

BOOL

CLEAR

Clear display

BOOL

ERROR

Error in FB

BOOL

ROW

Row of the display

Value range = 0 to 3

BYTE

ERRORID

Error code

INT

COLUMN

Column of the display

Value range = 0 to 19

BYTE

TEXT

Text to be displayed

STRING

ERRORID

Explanation

0

No error

1500h

String overwrites the memory area of the P-Box array

1501h

Value range exceeded at ROW input

1502h

Value range exceeded at COLUMN input

1503h

The selected string number does not exist

1506h

The option "Allow ParameterBox function modules" is not activated in the PLC configuration.

Advertising