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.
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;
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.
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.
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.
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