Plc programming – Lenze ETC Motion Control User Manual

Page 366

Advertising
background image

PLC programming

Library
General functions

8

8.8
8.8.1

l

366

EDSTCXN EN 2.0

8.8.1.10

READ_PARAM_DINT (only ETCxC)

FUNCTION READ_PARAM_DINT: DINT

VAR_INPUT

IDX_DI

: DINT;

(* Parameter index *)

END_VAR

The function returns the value of the parameter idx_di (as data type DINT)
from the P field.

8.8.1.11

READ_PARAM_REAL (only ETCxC)

FUNCTION

VAR_INPUT

IDX_DI

: DINT;

(* Parameter index *)

END_VAR

The function returns the value of the parameter idx_di (as data type REAL)
from the P field.

8.8.1.12

READ_PARAM_LREAL (nur ETCxC)

FUNCTION READ_PARAM_LREAL: LREAL

VAR_INPUT

IDX_DI

: DINT;

(* Parameter index *)

END_VAR

The function returns the value of the parameter idx_di (as data type LREAL)
from the P field.

8.8.1.13

READ_SYSPARAM (only ETCxC)

FUNCTION READ_SYSPARAM: WORD

VAR_INPUT

IDX_I

: DINT;

END_VAR

READ_SYSPARAM reads a value from the operating data.

wert_w

: WORD;

wert_w

: = READ_SYSPARAM(101);

Returns the value of the operating data word 101.

Declaration

Description

Declaration

Description

Declaration

Description

Declaration

Description

Example

Advertising