Mitsubishi Electronics C6 Home Safety Product User Manual


 
9. Exclusive Commands 1
READ, SREAD, WRITE, SWRITE
- 317 -
(b) Program of Ch.2 (WRITE command)
To execute the program as below, apply the interlock.
MOV K3 D5
MOV K5 D7
MOV K20 D8
MOV K4 D9
Command to set control data
MOV H81 D0
MOV K6 D2
MOV K20 D4
Write command
G.SWRITE U20 D0 D300 D50 M60 M100
M60
Processing at write completion
Processing at normal completion
Processing at error completion
MOV K10 D300
MOV K20 D301
MOV K30 D302
M61
M61
MOV K40 D303
With arrival confirmation. Sets the clock data.
Channel used by the local station
Target station network No.
Target station No.
Number of resends
A
rrival monitoring time (20 seconds)
Write data length (4 words)
Read the error code
,
etc.
Write data
Write data setting command
20
47
65
7
MOV D1 D100
Coding
No. of
steps
Com-
mand
Device
20 LDP
26 MOV H81 D0
29 MOV K6 D2
32 MOV K20 D4
35 MOV K3 D5
38 MOV K5 D7
41 MOV K20 D8
44 MOV K4 D9
47 LDP
53 MOV K10 D300
56 MOV K20 D301
59 MOV K30 D302
62 MOV K40 D303
65 LD
66 G.SWRITE U20 D0 D300 D50 M60 M100
73