
7. LW3 Programmers’ Reference
RAP-B511 series
– User's Manual
71
Applied firmware package: v1.1.0b3b3 | LDC software: v2.5.1b5
7.5.3.
Logout from the Device
Command and Response
ç
CALL·/LOGIN:logout(
<password>
)
æ
mO·/LOGIN:logout
Example
ç
CALL /LOGIN:logout(pr0t3ctED)
æ
mO /LOGIN:logout
After a successful logout, the
LoggedIn
property becomes
false
and the LW3 tree is protected.
7.5.4.
Enable the Cleartext Login Function
ATTENTION!
This property can be changed only, if the
LoggedIn
property is
true
.
Command and Response
ç
SET·/LOGIN:LoginEnable=
<login_state>
æ
pw·/LOGIN.LoginEnable=
<login_state>
Parameters
If the
<login_state>
parameter is
true
(or
1
), the Cleartext login function is
enabled
, if the parameter is
false
(or
0
), the function is
disabled
. Please note that the function can be enabled without setting a password by the
setPassword
method.
Example
ç
SET /LOGIN.LoginEnable=true
æ
pw /LOGIN.LoginEnable=true
7.6.
Time Settings
7.6.1. Query the Timezone
Command and Response
ç
SET·/SYS/MB/TIMEZONE.Timezone=
<timezone>
æ
pw·/SYS/MB/TIMEZONE.Timezone =
<timezone>
Parameters
<timezone>
Time zone setting in POSIX TZ format.
Example
ç
SET /SYS/MB/TIMEZONE.Timezone=CET-1CEST,M3.5.0/2,M10.5.0/3
æ
pw /SYS/MB/TIMEZONE.Timezone=CET-1CEST,M3.5.0/2,M10.5.0/3
TIPS AND TRICKS:
Timezone and daylight saving settings can be done easily and quickly with Lightware
Device Controller software in the
section.
TIPS AND TRICKS:
Enable Network Time Protocol (NTP)
Enabling Network Time Protocol means, that the RAP-B511 is permitted to get time information from an
NTP server. The device time synchronized repeatedly and automatically.
Command and Response
ç
SET·/SYS/MB/NTP.Enable=
<enable_ntp>
æ
pw·/SYS/MB/NTP.Enable=
<enable_ntp>
Parameters
<enable_ntp>
true: NTP
enabled
false: NTP
disabled
Example
ç
SET /SYS/MB/NTP.Enable=true
æ
pw /SYS/MB/NTP.Enable=true