Download OPERATION MANUAL

Transcript
Appendix C
C-mode (Host Link) Command Master
STATUS READ (MS Command)
(Sequence No. 717 (Hex 02CD))
Reads the CPU Unit's operating conditions (status) from the specified Host Link Unit and stores in the words
starting from the designated word.
Send Data Word Allocation (3rd Operand of PMCR(260))
First word of
send data
Offset
+0
Number of send data words
+1
(Undefined)
Host Link unit No.
+0
Contents (data format)
Number of send data words
Data
Always 0002 hex (2 decimal)
+1
(Undefined)
00 to 31
Host Link unit
No.
(2 digits BCD)
Receive Data Word Allocation (4th Operand of PMCR(260))
Receive data
storage words
+0
Number of receive data words
+1
(Undefined)
+2
Status data
+3
Message
End code
+4
+5
+6
+0
Offset
Contents (data format)
Number of receive data words
Data
0003 hex or 0007 hex (3 or 7 decimal)
+1
(Undefined)
The end code is stored in hexadecimal.
+2
End code
(2 digits hex)
Status data (4 digits hex)
+3
Message
The message is stored only when FAL/
FALS messages are used.
+4
The CPU Unit status is stored.
+5
+6
STATUS CHANGE (SC Command)
(Sequence No. 718 (Hex 02CE))
Changes the CPU Unit's operating mode for the specified Host Link Unit.
Send Data Word Allocation (3rd Operand of PMCR(260))
First word of
send data
Offset
+0
+1
+2
414
+0
Number of send data words
+1
(Undefined)
Host Link unit No.
+2
(Undefined)
Mode
Contents (data format)
Number of send data words
(Undefined)
Host Link unit
No.
(2 digits BCD)
(Undefined)
Mode
(2 digits hex)
Data
Always 0003 hex (3 decimal)
00 to 31
00 hex: PROGRAM mode
02 hex: MONITOR mode
03 hex: RUN mode