![background image](http://html1.mh-extra.com/html/omron/sysmac-c200hs/sysmac-c200hs_operation-manual_742436417.webp)
412
11-3-11 PV WRITE –– WC
Writes the PVs (present values) of timers/counters starting from the specified
timer/counter.
Command Format
@
W
C
FCS
x 10
1
x 10
0
x 10
3
x 10
2
:
↵
x 10
1
x 10
0
x 16
3
x 16
2
x 16
1
x 16
0
Node no.
Header
code
Terminator
Beginning timer/counter
(0000 to 0511)
Write data (1 timer/counter)
Write data
(for no. of PV to write)
Response Format
@
W
C
x 10
1
x 10
0
x 16
1
x 16
0
:
↵
FCS
Node no.
End code
Header
code
Terminator
Parameters
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.
11-3-12 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.
Command Format
@
W
G
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
@
W
G
x 10
1
x 10
0
x 16
1
x 16
0
:
↵
FCS
Node no.
End code
Header
code
Terminator
Parameters
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.
Host Link Commands
Section 11-3
Содержание SYSMAC C200HS
Страница 1: ...Cat No W235 E1 05 C200HS SYSMAC Programmable Controllers...
Страница 2: ...C200HS Programmable Controllers Operation Manual Revised February 2002...
Страница 3: ...iv...
Страница 5: ...vi...
Страница 379: ...371 SR word Corresponding key s Bit 279 03 04 05 3 06 07 VER 08 09 Monitoring Operation and Modifying Data Section 7 1...
Страница 470: ...468 Programmer Program Date Page Word Contents Notes Word Contents Notes Data Storage...
Страница 471: ...469 Programmer Program Date Page TC address T or C Set value Notes TC address T or C Set value Notes Timers and Counters...