subtraction: A1÷A2
function subtracts the arguments and writes the
result to the Lx counter
division: A1÷A2
the function divides two arguments and writes the
result to the Lx counter
increase: A1÷A2
the function increases two arguments and writes the
result to the Lx counter
the rest of the division of integers (modulo)
function returns the remainder of dividing two
integers, and writes the value to the counter Lx
wait: A1
function stops loop for time of the argument [ms] or a
given value
send SMS: A1÷A2
the function generates the SMS to the indicated
numbers, as the argument A1, you can give the text
and phone numbers in the form '$ 1,2,3,4,5,6,7,8'
and A2 argument another system argument, eg
power, function will combine A1 and A2
this function will arm the module in full armed mode
function disarms the module
Example
Light control from the PIR motion detector at designated times.
Motion detection from the PIR detector activates the illumination for 30 seconds. The function works
from 21:00 to 6:00.
Resources used:
• I1 input - motion detector
• O4 output - controls the RM85 output relay for lighting
(Https://ropam.com.pl/pl/towar/174/rm8512v1p.html)
• T1 calendar timer operating in day mode
• time relay PONS
Timer Settings (sets the hours when the detector's light is on).