Host Link Commands - Omron SYSMAC C200HS Operation Manual

Programmable controllers
Hide thumbs Also See for SYSMAC C200HS:
Table of Contents

Advertisement

Host Link Commands

11-3-11 PV WRITE –– WC
Command Format
1
0
x 10
x 10
@
W
Node no.
Header
code
Response Format
Parameters
11-3-12 TC STATUS WRITE –– WG
Command Format
1
x 10
@
Node no.
Response Format
Parameters
412
Writes the PVs (present values) of timers/counters starting from the specified
timer/counter.
3
2
1
x 10
x 10
x 10
x 10
C
Beginning timer/counter
(0000 to 0511)
@
Write Data (Command)
Specify in decimal numbers (BCD) the present values for the number of timers/
counters that are to be written, starting from the beginning timer/counter.
Note
1. When this command is used to write data to the PV area, the Completion
Flags for the timers/counters that are written will be turned OFF.
2. If data is specified for writing which exceeds the allowable range, an error
will be generated and the writing operation will not be executed. If, for exam-
ple, 510 is specified as the beginning word for writing, and three words of
data are specified, then 512 will become the last word for writing data, and
the command will not be executed because TC 512 is beyond area bound-
ary.
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.
0
3
x 10
x 10
x 10
W
G
Header
Beginning timer/counter
code
(0000 to 0511)
@
Write Data (Command)
Specify the status of the Completion Flags, for the number of timers/counters to
be written, in order (from the beginning word) as ON (i.e., "1") or OFF (i.e., "0").
When a Completion Flag is ON, it indicates that the time or count is up.
0
3
2
1
0
x 16
x 16
x 16
x 16
Write data (1 timer/counter)
Write data
(for no. of PV to write)
1
0
x 10
x 10
x 16
W
C
Node no.
Header
End code
code
ON/
2
1
0
x 10
x 10
OFF
Write data
(1 timer/counter)
Write data
(for number of TC to write)
1
0
x 10
x 10
x 16
W
G
Node no.
Header
End code
code
Section 11-3
:
Terminator
FCS
1
0
:
x 16
FCS
Terminator
:
FCS
Terminator
1
0
:
x 16
FCS
Terminator

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents