Mitsubishi Electronics C64 Home Safety Product User Manual


 
9. Exclusive Commands 1
READ, SREAD, WRITE, SWRITE
- 310 -
Device Item Set data
Setting
range
Set by
(S1)+1 Completion status Store the status at completion of a command.
0 : Normal
Other than 0 : Error (error code)
— System
(S1)+2 Channel used by the
local station
Designate the channel used by the local
station.
1 to 8 User
(S1)+3 (Not used) — —
(S1)+4 Target station
network No.
Designate the network No. of the target
station.
1 to 239:Network No.
254:When 254 is designated in "Un"
1 to 239,
254
User
(S1)+5 Target station No. Designate the target station.
1 to 64:The station with the corresponding
station No.
1 to 64 User
(S1)+6 (Not used) (Fixed value) 0 User
(1) At command execution
Set the number of resends when the
command is not completed within the
monitoring time designated by (S1)+8.
0 to 15 (times)
User (S1)+7 Number of resends
(2) At command completion
Store the number of resends executed
(result).
0 to 15 (times)
0 to 15
System
(S1)+8 Arrival monitoring
time
When the command fails to complete within
the monitoring time, it is resent for the number
of resends designated in (S1)+7.
1 to
32767
0:
10
seconds
User
(S1)+9 Read data length Designate the number of data to be read.
1 to 480 (Words)
1 to 480 User
(S1)+10 (Not used)
(S1)+11 Clock set flag
(Set only when an
error is detected)
Store the valid/invalid status of the data in
((S1)+12 to (S1)+17).
0:Invalid
1:Valid
— System
(S1)+12 Year/Month of error
occurrence
Higher 8 bits : month (01H to 12H),
lower 8 bits : last 2 digits of year (00H to 99H)
b15 to b8 b7 to b0
Month (01H to 12H) Year (00H to 99H)
— System
(S1)+13 Date/Hour of error
occurrence
Higher 8 bits : hour (00H to 23H),
lower 8 bits : date (01H to 31H)
b15 to b8 b7 to b0
Hour (00H to 23H) Date (01H to 31H)
— System
(S1)+14 Minute/Second of
error occurrence
Higher 8 bits : second (00H to 59H),
lower 8 bits : minute (00H to 59H)
b15 to b8 b7 to b0
Second (00H to 59H) Minute (00H to 59H)
— System
(S1)+15 Day of the week of
error occurrence
Higher 8 bits : 00H,
lower 8 bits : day of the week
(00H(Sunday) to 06H(Saturday))
b15 to b8 b7 to b0
00H Day of week
(00H to 06H)
— System