Omron C200HX Computer Hardware User Manual


 
469
Execution Conditions
Commands Responses
Single Multiple Single Multiple
OK OK OK ---
End Codes An end code of 14 (format error) will be returned if the length of the command is
incorrect or the first word of write data isnt in the first frame.
An end code of 15 (entry number data error) will be returned if the specified write
data exceeds the data area boundary, the beginning word isnt specified in BCD,
or the write data isnt hexadecimal. (An end code of A5 will be returned instead of
15 for non-hexadecimal write data in multiple command frames.)
With Host Link Units, an end code of 15 (entry number data error) will be re-
turned if the write data isnt BCD.
End code Contents
00 Normal completion
01 Not executable in RUN mode
13 FCS error
14 Format error
15 Entry number data error
18 Frame length error
A3 Aborted due to FCS error in transmit data
A4 Aborted due to format error in transmit data
A5 Aborted due to entry number data error in transmit data
A8 Aborted due to frame length error in transmit data
10-3-13 TC STATUS WRITE –– WG
Writes the status of the Completion Flags for timers and counters in the TC area,
starting from the specified timer/counter (number). Writing is done number by
number. When a Completion Flag is ON, it indicates that the time or count is up.
Command Format
@ WG
FCS
x 10
1
x 10
0
x 10
3
x 10
2
x 10
1
x 10
0
Node no. Header
code
Write data
(1 timer/counter)
Write data
(for number of TC to write)
Beginning timer/counter
(0000 to 0511)
Terminator
ON/
OFF
Response Format
@ WG
x 10
1
x 10
0
x 16
1
x 16
0
FCSNode no. End codeHeader
code
Terminator
PC Settings
PC Mode UM Area
RUN MONITOR PROGRAM Write-protected Read-protected
--- OK OK OK OK
Execution Conditions
Commands Responses
Single Multiple Single Multiple
OK OK OK ---
Host Link Commands
Section 10-3