7.LW3Programmers’Reference
HDMI-TPS-RX110AYseries–User'sManual
97
Appliedfirmwarepackage:v1.5.0b3 | LDCsoftware:v2.5.9b2
Examples
Change messages (CHG) can be seen after each response for the better understanding, which is not the part
of the command, but it can be set as described in the
section.
Example 1 – addition
ç
GET/CTRL/VARS/V1.Value
æ
pw/CTRL/VARS/V1.Value=6
ç
CALL/CTRL/VARS/V1:add(1)
æ
mO/CTRL/VARS/V1:add
æ
CHG/CTRL/VARS/V1.Value=7
ç
CALL/CTRL/VARS/V1:add(1)
æ
mO/CTRL/VARS/V1:add
æ
CHG/CTRL/VARS/V1.Value=8
ç
CALL/CTRL/VARS/V1:add(2)
æ
mO/CTRL/VARS/V1:add
æ
CHG/CTRL/VARS/V1.Value=10
Example 3 – addition with 'max' value
ç
GET/CTRL/VARS/V1.Value
æ
pw/CTRL/VARS/V1.Value=16
ç
CALL/CTRL/VARS/V1:add(2;10;20)
æ
mO/CTRL/VARS/V1:add
æ
CHG/CTRL/VARS/V1.Value=18
ç
CALL/CTRL/VARS/V1:add(2;10;20)
æ
mO/CTRL/VARS/V1:add
æ
CHG/CTRL/VARS/V1.Value=20
ç
CALL/CTRL/VARS/V1:add(2;10;20)
æ
mO/CTRL/VARS/V1:add
æ
CHG/CTRL/VARS/V1.Value=20
Example 2 – subtraction
ç
GET/CTRL/VARS/V1.Value
æ
pw/CTRL/VARS/V1.Value=10
ç
CALL/CTRL/VARS/V1:add(-2)
æ
mO/CTRL/VARS/V1:add
æ
CHG/CTRL/VARS/V1.Value=8
ç
CALL/CTRL/VARS/V1:add(-2)
æ
mO/CTRL/VARS/V1:add
æ
CHG/CTRL/VARS/V1.Value=6
ç
CALL/CTRL/VARS/V1:add(-10)
æ
mO/CTRL/VARS/V1:add
æ
CHG/CTRL/VARS/V1.Value=-4
Example 4 – subtraction with 'min' value
ç
GET/CTRL/VARS/V1.Value
æ
pw/CTRL/VARS/V1.Value=14
ç
CALL/CTRL/VARS/V1:add(-2;10;20)
æ
mO/CTRL/VARS/V1:add
æ
CHG/CTRL/VARS/V1.Value=12
ç
CALL/CTRL/VARS/V1:add(-2;10;20)
æ
mO/CTRL/VARS/V1:add
æ
CHG/CTRL/VARS/V1.Value=10
ç
CALL/CTRL/VARS/V1:add(-2;10;20)
æ
mO/CTRL/VARS/V1:add
æ
CHG/CTRL/VARS/V1.Value=10
7.11.3.
Addition and Subtraction (Cycle Method)
The value of a numeric variable can be increased by adding a positive value or it can be decreased by adding
anegativevalue.Minimumandmaximumvaluescanbedefinedaslimits.Thismethodhasthefeaturethat
ifthevaluehitsthelimit(min/max),thevaluewillbesteppedtotheotherendoftheinterval.
Command and Response
ç
CALL·/CTRL/VARS/V
<loc>
:cycle(
<operand>
;
<min>
;
<max>
)
æ
mO·/CTRL/VARS/V
<loc>
:cycle
Parameters
Parameter
Parameter description
Value
Valuedescription
<loc>
The location of the variable
1-30
<operand>
The value that is added to the variable
Integer
Negative value is also accepted
<min>
The lowest allowed value (optional)
Integer
Negative value is also accepted
<max>
The highest allowed value (optional)
Integer
Negative value is also accepted
Ifthecalculatedvalueisbeyondthelimit(min/max),thevaluewillbesteppedtotheotherendoftheinterval.
Examples
Change messages (CHG) can be seen after each response for the better understanding, which is not the part
of the command, but it can be set as described in the
section.
Example 1 – addition
ç
GET/CTRL/VARS/V1.Value
æ
pw/CTRL/VARS/V1.Value=18
ç
CALL/CTRL/VARS/V1:cycle(1;10;20)
æ
mO/CTRL/VARS/V1:cycle
æ
CHG/CTRL/VARS/V1.Value=19
ç
CALL/CTRL/VARS/V1:cycle(1;10;20)
æ
mO/CTRL/VARS/V1:cycle
æ
CHG/CTRL/VARS/V1.Value=20
ç
CALL/CTRL/VARS/V1:cycle(1;10;20)
æ
mO/CTRL/VARS/V1:cycle
æ
CHG/CTRL/VARS/V1.Value=10
ç
CALL/CTRL/VARS/V1:cycle(1;10;20)
æ
mO/CTRL/VARS/V1:cycle
æ
CHG/CTRL/VARS/V1.Value=11
Example 2 – subtraction
ç
GET/CTRL/VARS/V1.Value
æ
pw/CTRL/VARS/V1.Value=13
ç
CALL/CTRL/VARS/V1:cycle(-2;10;20)
æ
mO/CTRL/VARS/V1:cycle
æ
CHG/CTRL/VARS/V1.Value=11
ç
CALL/CTRL/VARS/V1:cycle(-2;10;20)
æ
mO/CTRL/VARS/V1:cycle
æ
CHG/CTRL/VARS/V1.Value=20
ç
CALL/CTRL/VARS/V1:cycle(-2;10;20)
æ
mO/CTRL/VARS/V1:cycle
æ
CHG/CTRL/VARS/V1.Value=18