|
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

Bistable function, reset dominant
Q1 = NOT RESET1 AND (SET OR Q1)
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

Bistable function, set dominant
Q1 = SET1 OR (NOT RESET AND Q1)
CTD

Counter down.
CV is decremented by 1 if CD has a rising edge.
Q is TRUE, if CV reached 0.
CTU

Counter up.
CV is incremented by 1 if CU has a rising edge.
Q is TRUE, if CV is reached PV.
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

Concatenation of two strings.
DELETE

Delete LEN characters of STR, beginning at the POS-th character position.
POS = 1 is the first character.
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

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

Return leftmost SIZE characters of STR.
LEN

String length function.
Returns the number of characters in STR.
MID

Return LEN characters of STR, beginning at the POS-th character position.
POS = 1 is the first character.
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

Returns rightmost SIZE characters of STR.
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

Timer of delay.
Q is FALSE, PT milliseconds after IN had a falling edge.
TON

Timer on delay.
Q is TRUE, PT milliseconds after IN had a rising edge.
TP

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

Falling edge detection.
R_TRIG

Rising edge detection.