
7. LW3 Programmers’ Reference
UMX-TPS-TX100 series – User's Manual
104
Applied firmware packages: (UMX-TPS): v1.5.0b4 | (WP-UMX-TPS): v1.4.0b8 | (FP-UMX-TPS): v1.4.0b8 | LDC software: v2.5.6b2
7.4.11.
Running a Macro
DIFFERENCE:
This feature is available only in UMX-TPS-TX140K and TX140-Plus models from FW
package v1.5.0b4.
DEFINITION:
Macro is a batch of pre-defined commands stored in the device.
#macro
You can create your custom macros in a file, upload to the device and run at any time. The uploading can
be done over LDC, see the
Uploading New Macros into the Internal Device Configuration Preset
following LW3 command is suitable only for running a macro.
Command and Response
ç
CALL·/CTRL/MACROS:run(
<macro_name>
)
æ
mO·/CTRL/MACROS:run
Example
ç
CALL /CTRL/MACROS:run(Macro1)
æ
mO /CTRL/MACROS:run
7.5.
Cleartext Login Protection
DIFFERENCE:
This feature is available only in UMX-TPS-TX140K and TX140-Plus models from FW
package v1.5.0b4.
This cleartext login tool allows setting a password for login, thus, any change in the device can be performed
only after a successful login – coming from any control interface (RS-232, Ethernet, etc…). The login is valid
until a TCP socket break in case of Ethernet connection.
#login
ATTENTION!
If the login is enabled, the miniweb is not available.
INFO:
The login password is erased and the login is disabled when restoring the factory default values.
The following can be queried without login:
▪
ProductName
▪
PartNumber
▪
SerialNumber
▪
FirmwareVersion
▪
PackageVersion
▪
MacAddress
7.5.1.
Setting the Login Password
Command and Response
ç
CALL·/LOGIN:setPassword(
<password>
)
æ
mO·/LOGIN:setPassword
Example
ç
CALL /LOGIN:setPassword(pr0t3ctED)
æ
mO /LOGIN:setPassword
7.5.2.
Login the Device
Command and Response
ç
CALL·/LOGIN:login(
<password>
)
æ
mO·/LOGIN:login
Example
ç
CALL /LOGIN:login(pr0t3ctED)
æ
mO /LOGIN:login
After a successful login, the
LoggedIn
property becomes
true
and the LW3 tree is available.
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