Mitsubishi Electronics C6 Home Safety Product User Manual


 
9. Exclusive Commands 1
READ, SREAD, WRITE, SWRITE
- 309 -
Function
READ/SREAD
Reads the word device data of the designated station out to the local station.
SREAD turns the target station device ON at read completion, that enables the target station to
confirm the data has been read out.
(1) Control data
[Control data composition (S1)]
Data set
Device Item
by User
(at execution )
*1
by System
(at completion )
*2
(S1) Execution/Error complete
type
{
(S1)+ 1 Completion status
{
(S1)+ 2 Channel used by the local
station
{
(S1)+ 3 (Not used)
(S1)+ 4 Target station network No.
{
(S1)+ 5 Target station No.
{
(S1)+ 6 (Not used)
(S1)+ 7 Number of resends
{ {
(S1)+ 8 Arrival monitoring time
{
(S1)+ 9 Read data length
{
(S1)+10 (Not used)
(S1)+11 Clock set flag
(Set only when an error is
detected)
{
(S1)+12 Year/Month of error
occurrence
{
(S1)+13 Date/Hour of error
occurrence
{
(S1)+14 Minute/Second of error
occurrence
{
(S1)+15 Day of the week of error
occurrence
{
(S1)+16 Error detection network
No.
{
(S1)+17
Error detection station No.
{
Used when
"Error complete
type" is set as
"Clock data
setting
required".
*1:Items set in a sequence program.
*2:Items to be stored automatically at command completion.
Control data
Device Item Set data
Setting
range
Set by
Execution type With arrival confirmation
(bit0=1 fixed)
(S1)+0
Error complete type Error complete type (bit 7)
Set whether or not the clock data setting is
required at error completion.
0:Clock data setting is not required
Clock data is not stored in (S1)+11 to
(S1)+17 when errors occur.
1:Clock data setting is required
Clock data is stored in (S1)+11 to
(S1)+17 when errors occur.
0001
H
0081
H
User