Omron C200HX Operation Manual page 491

Hide thumbs Also See for C200HX:
Table of Contents

Advertisement

Host Link Commands
Execution Conditions
End Codes
10-3-13 TC STATUS WRITE –– WG
Command Format
1
x 10
x 10
@
Node no.
Response Format
PC Settings
Execution Conditions
Commands
Single
OK
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 isn't 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 isn't specified in BCD,
or the write data isn't 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 isn't BCD.
End code
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
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.
0
3
2
x 10
x 10
x 10
W
G
Header
Beginning timer/counter
code
(0000 to 0511)
1
x 10
@
Node no.
PC Mode
RUN
MONITOR
---
OK
Commands
Single
OK
Multiple
OK
Contents
ON/
1
0
x 10
OFF
Write data
(1 timer/counter)
Write data
(for number of TC to write)
0
1
0
x 10
x 16
x 16
W
G
Header
End code
code
PROGRAM
Write-protected
OK
Multiple
OK
Section 10-3
Responses
Single
Multiple
OK
---

FCS
Terminator

FCS
Terminator
UM Area
Read-protected
OK
OK
Responses
Single
Multiple
OK
---
473

Advertisement

Table of Contents
loading

This manual is also suitable for:

C200hgC200he

Table of Contents