Tc Status Write - Omron CPM1 Programming Manual

Hide thumbs Also See for CPM1:
Table of Contents

Advertisement

4-5-11 PV WRITE - - - - WC
Command Format
1
0
x 10
x 10
@
W
Node no.
Header
code
Response Format
Parameters
4-5-12 TC STATUS WRITE - - - - WG
Command Format
1
x 10
x 10
@
Node no.
Writes the PVs (present values) of timers/counters starting from the specified
timer/counter.
3
2
1
0
x 10
x 10
x 10
x 10
C
Beginning timer/counter*
Note
1. Beginning T/C: 0000 to 0255 in CPM2A/CPM2C PCs, 0000 to 0127 in
CPM1/ CPM1A/SRM1(-V2) PCs
2. Divide the command when writing more than 29 words of data.
An end code of 00 indicates normal completion.
x 10
@
Node no.
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, 126 is specified as the beginning word for writing in a CPM1 PC, and
three words of data are specified, then 128 will become the last word for writ-
ing data, and the command will not be executed because TC 128 is beyond
area boundary.
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
2
x 10
x 10
x 10
W
G
Header
Beginning timer/counter*
code
Note
1. Beginning T/C: 0000 to 0255 in CPM2A/CPM2C PCs, 0000 to 0127 in
CPM1/ CPM1A/SRM1(-V2) PCs
2. Divide the command when writing the status of more than 118 timer/count-
ers.
3
2
1
0
x 10
x 10
x 10
x 10
Write data (1 timer/counter)
Write data
(for no. of PV to write)
1
0
1
x 10
x 16
x 16
W
C
Header
End code
code
ON/
1
0
x 10
OFF
Write data
(1 timer/counter)
Write data
(for number of TC to write)
Section

FCS
Terminator

0
FCS
Terminator

FCS
Terminator
4-5

Advertisement

Table of Contents
loading

This manual is also suitable for:

Srm-v2Cpm1aCpm2aSrm1Cpm2c

Table of Contents