Lightware RAP-B511-EU User Manual page 103

Room automation panel
Table of Contents

Advertisement

 
7. LW3 Programmers' Reference
Querying the Condition Trigger Counter
ç GET·/EVENTS/E<loc>.ExternalConditionTriggerCount
Testing an Action
ç CALL·/EVENTS/E<loc>:ActionTest(1)
Variable-Management
Value Assignment
SET·/CTRL/VARS/V<loc>.Value=<value>
ç
Addition and Subtraction (Add Method)
ç CALL·/CTRL/VARS/V<loc>:add(<operand>;<min>;<max>)
Addition and Subtraction (Cycle Method)
ç CALL·/CTRL/VARS/V<loc>:cycle(<operand>;<min>;<max>)
Value Change with Intervals (Case)
CALL·/CTRL/VARS/V<loc>:case(<min> <max>
ç
Scan and Store
ç CALL·/CTRL/VARS/V<loc>:scanf(<path>.<property>;<pattern>)
Reformatting a Value
ç CALL·/CTRL/VARS/V<loc>:printf(<prefix>%s<postfix>)
Ethernet Port Configuration
Query the DHCP State
ç GET·/MANAGEMENT/NETWORK.DhcpEnabled
Change the DHCP State
SET·/MANAGEMENT/NETWORK.DhcpEnabled=<DHCP_state>
ç
Query the IP Address
ç GET·/MANAGEMENT/NETWORK.IpAddress
Change the IP Address (Static)
SET·/MANAGEMENT/NETWORK.StaticIpAddress=<IP_address>
ç
Query the Subnet Mask
ç GET·/MANAGEMENT/NETWORK.NetworkMask
Change the Subnet Mask (Static)
SET·/MANAGEMENT/NETWORK.StaticNetworkMask=<netmask>
ç
<val>;)
Applied firmware package: v1.1.0b3b3 | LDC software: v2.5.1b5
RAP-B511 series – User's Manual
Query the Gateway Address
ç GET·/MANAGEMENT/NETWORK.GatewayAddress
Change the Gateway Address (Static)
SET·/MANAGEMENT/NETWORK.StaticGatewayAddress=<gw_add>
ç
Apply Network Settings
ç CALL·/MANAGEMENT/NETWORK:ApplySettings()
Ethernet Tool Kit
Device Filter Based on MAC Address
SET·/MANAGEMENT/MACFILTER.MACaddress<loc>=<MAC_
ç
address>;<receive>;<send>;<name>
LW2 Control Port Blocking
SET·/MANAGEMENT/SERVICEFILTER.Lw2Enabled=<port_mode>
ç
HTTP Port Blocking
SET·/MANAGEMENT/SERVICEFILTER.HttpEnabled=<port_mode>
ç
HTTP Post Receiving Blocking
SET·/MANAGEMENT/SERVICEFILTER.HttpEnabled=<port_mode>
ç
Powering on a Computer over Ethernet (Wake-on-LAN)
ç CALL·/MEDIA/ETHERNET:wakeOnLan(MAC_address)
Ethernet Message Sending
Sending a TCP Message (ASCII-format)
ç CALL·/MEDIA/ETHERNET:tcpMessage(<IP_address>:<port_no>=<message>)
Sending a TCP Text (ASCII-format)
ç CALL·/MEDIA/ETHERNET:tcpText(<IP_address>:<port_no>=<text>)
Sending a TCP Binary Message (HEX-format)
ç CALL·/MEDIA/ETHERNET.tcpBinary(<IP_address>:<port_no>=<HEX_message>)
Sending a UDP Message (ASCII-format)
ç CALL·/MEDIA/ETHERNET:udpMessage(<IP_address>:<port_no>=<message>)
Sending a UDP Text (ASCII-format)
ç CALL·/MEDIA/ETHERNET:udpText(<IP_address>:<port_no>=<text>)
Sending a UDP Binary Message (HEX-format)
ç CALL·/MEDIA/ETHERNET:udpBinary(<IP_address>:<port_no>=<HEX_message>)
103

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rap-b511-kRap-b511-wRap-b511-sRap-b511-ukRap-b511-us

Table of Contents