SET_LED. IFM CR0403

Add to My manuals
231 Pages

advertisement

SET_LED. IFM CR0403 | Manualzz

BasicController CR0403

SET_LED

Unit type = function block (FB)

Unit is contained in the library ifm_CR0403_Vxxyyzz.LIB

Symbol in CODESYS:

34997

>

Description

Via SET_LED frequency and color of the status LED can be changed in the application program.

>

If the flashing mode is changed in the application program, the default setting table is no longer valid (

chapter Status-LED

(→ p. 25 )).

35329

Parameters of the inputs

Parameter

ENABLE

COLOR_1

COLOR_2

FREQUENCY

Data type

BOOL

BYTE

BYTE

BYTE

35151

Description

TRUE: execute this function element

FALSE: unit is not executed

> Function block inputs are not active

> Function block outputs are not specified

LED color for "switched on" color constant from the data structure "System LED Color"; allowed:

00 = LED_BLACK (= LED out)

01 = LED_RED

02 = LED_GREEN

03 = LED_YELLOW

LED color for "switched off" color constant from the data structure "System LED Color"; allowed:

00 = LED_BLACK (= LED out)

01 = LED_RED

02 = LED_GREEN

03 = LED_YELLOW

LED flashing frequency

Frequency constant from the data structure "System LED Frequency"; allowed:

00 = LED_0HZ = permanently ON

01 = LED_05HZ = flashes at 0.5 Hz

02 = LED_1HZ = flashes at 1 Hz

04 = LED_2HZ = flashes at 2 Hz

10 = LED_5HZ = flashes at 5 Hz

197

>

BasicController CR0403

Parameters of the outputs

Parameter

RESULT

Data type

BYTE

Description feedback of the function block

(possible messages → following table)

Possible results for RESULT:

Value dec | hex

Description

0

1

2

133

151

00

01

02

85

97

FB is inactive function block execution completed without error function block is active (action not yet completed) value for FREQUENCY is invalid value for color is invalid

35109

198

advertisement

Related manuals

Download PDF

advertisement

Table of contents