Safety_Standard.libPermalink

This is the web edition of the original ‎⮫ AC500-S safety user manual, version 1.3.2. This web edition is provided for quick reference only. The original safety user manual must be used to meet functional safety application requirements.

Only a short description is provided for standard POUs from Safety_Standard.lib.

RS

04.06.037_RS

Bistable function, reset dominant

Q1 = NOT RESET1 AND (SET OR Q1)

SEMA

04.06.038_SEMA

Software semaphore. Interruptible!

BUSY is TRUE, if there was a call with CLAIM = TRUE,

but no call with RELEASE = TRUE.

CLAIM = TRUE sets BUSY = TRUE;

RELEASE = TRUE sets BUSY = FALSE;

SR

04.06.039_SR

Bistable function, set dominant

Q1 = SET1 OR (NOT RESET AND Q1)

CTD

04.06.040_CTD

Counter down.

CV is decremented by 1 if CD has a rising edge.

Q is TRUE, if CV reached 0.

CTU

04.06.041_CTU

Counter up.

CV is incremented by 1 if CU has a rising edge.

Q is TRUE, if CV is reached PV.

CTUD

04.06.042_CTUD

Counter up down

CV is incremented by 1 if CU has a rising edge.

CV is decremented by 1 if CD has a rising edge.

QU is TRUE, if counter is PV.

QD is TRUE, if counter is 0.

CONCAT

04.06.043_CONCAT

Concatenation of two strings.

DELETE

04.06.044_DELETE

Delete LEN characters of STR, beginning at the POS-th character position.

POS = 1 is the first character.

FIND

04.06.045_FIND

Find the character position of the beginning of the first occurrence of STR2 in STR1.

If no occurrence of STR1 is found, then the result is 0.

INSERT

04.06.046_INSERT

Insert STR2 into STR1 after the POS-th character position.

POS = 0 inserts before the first character.

POS = 1 inserts after the first character.

LEFT

04.06.047_LEFT

Return leftmost SIZE characters of STR.

LEN

04.06.048_LEN

String length function.

Returns the number of characters in STR.

MID

04.06.049_MID

Return LEN characters of STR, beginning at the POS-th character position.

POS = 1 is the first character.

REPLACE

04.06.050_REPLACE

Replaces L characters of STR1 by STR2,

starting at the POS-th character position and returns the new string.

POS = 1 is the first character.

RIGHT

04.06.051_RIGHT

Returns rightmost SIZE characters of STR.

RTC

04.06.052_RTC

Sets CDT to PDT when rising edge in EN and starts increasing CDT.

With EN = FALSE, CDT set to DT#1970-01-01-00-00:00

TOF

04.06.053_TOF

Timer of delay.

Q is FALSE, PT milliseconds after IN had a falling edge.

TON

04.06.054_TON

Timer on delay.

Q is TRUE, PT milliseconds after IN had a rising edge.

TP

04.06.055_TP

Timer pulse.

Q produces a high-signal with the length of PT on every rising edge on IN.

F_TRIG

04.06.056_F-TRIG

Falling edge detection.

R_TRIG

04.06.057_R-TRIG

Rising edge detection.