11
ld
m40.0
(load marker bit)
jmpc l
abel7
(jump if true)
mov
c0 m40.2
(reset interlock bit)
label7:
(jump label)
ld m40.1
(load marker bit)
andn
m40.3
(and the interlock bit negated)
jmpcn
label8
(jump if false)
mov
bc1 bm3
(select telephone number 0)
mov
bc1 bm19
(select message number 0)
mov
bc3 bm2
(send SMS)
mov
c1 m40.3
(set interlock bit)
mov
c1 m40.4
(set second interlock bit)
jmp
label11
(jump)
label8:
(jump label)
ld
m40.1
(load marker bit)
jmpc
label9
(jump if true)
mov
c0 m40.3
(reset interlock bit)
label9:
(jump label)
label10:
ld
m20.4
(load Message Sent bit)
or
m20.7
(or Message Failed bit)
jmpcn
label11
(jump if false)
mov
c0 m40.4
(reset second interlock bit)
label11:
(jump label)
ep
If you cut and paste these instructions into a B-CON editor please ensure that the comments
in brackets are prefixed with a forward slash (/).
The above may not be exactly what you need for your application but it will, hopefully, give
you head start in implementing SMS functions into an RTU8.
Brodersen Controls A/S
●
Industrivej 3
●
DK-4000 Roskilde
●
Tel: +45 46 74 00 00
●
Fax: +45 46 75 73 36
E-mail: [email protected]
●
Internet: www.brodersencontrols.com