SmartPLC SafeLine AC4S with fieldbus interfaces
49
>
7.2.1
Use remanent variables
42556
The Standard PLC of the device supports the use of remanent variables. Variables declared as VAR
RETAIN are stored in a memory area that is also maintained when the device is switched off.
The declaration of a variable as RETAIN also influences its behaviour when the Standard PLC
application is reset (
→
Supported reset variants
(
The memory area for RETAIN variables comprises 4072 bytes.
► Pay attention to the maximum size of the RETAIN memory area when declaring RETAIN
variables!
>
7.2.2
Supported programming languages
42571
The following table shows which programming languages according to IEC 61131 are supported by
the ifm function libraries:
Library
Funct
io
n
B
lock
D
ia
gra
m
(
FB
D
)
S
e
quent
ia
l
Funct
ion
C
har
t
(S
F
C
)
Inst
ruc
ti
o
n
L
is
t
(I
L)
C
ontin
u
ous
Funct
ion
C
har
t
(C
FC
)
Ladde
r
D
ia
gra
m
(
LD
)
S
truc
ture
d
Tex
t
(S
T)
ACnnnn_Utils.library
X
X
X
X
X
X
ACnnnn_SYS_CMD.library
X
X
X
X
X
X
Legend:
X ... is supported
– ... is not supported
>
7.2.3
Change system time of the device
42484
WARNING!
The use of the CODESYS function
SysTimeRtcSet
for setting the time may lead to
malfunction.
>
Risk of undesired system behaviour
► To set the system time (date, time) of the device only use the following device-specific
commands:
Function block
Set_DateTime
(
→
Set_TimeDate
(
System command 0x1109 with function block ACnnnn_SysCmd
(
→
ACnnnn_SysCmd
(