EasyManuals Logo

Omron CPM1 Programming Manual

Omron CPM1
541 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #393 background imageLoading...
Page #393 background image
372
Host Link Commands Section 6-3
Parameters Write Data (Command)
Specify in decimal numbers (BCD) the present values for the number of tim-
ers/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 ex-
ample, 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
boundary.
6-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 num-
ber by number.
Command Format
Note 1. Beginning T/C:0000 to 0511 in CQM1 PCs, 0000 to 0127 in CPM1/
CPM1A/SRM1 PCs
2. Divide the command when writing the status of more than 118 timer/
counters.
Response Format An end code of 00 indicates normal completion.
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.
Note 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 example,
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 com-
mand will not be executed because TC 512 is beyond area boundary.
@
FCS
WG
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* Terminator
ON/
OFF
@
FCS
WGx 10
1
x 10
0
x 16
1
x 16
0
*
Node no. End codeHeader
code
Terminator

Table of Contents

Other manuals for Omron CPM1

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CPM1 and is the answer not in the manual?

Omron CPM1 Specifications

General IconGeneral
ModelCPM1
ManufacturerOmron
Instruction SetBasic and advanced instructions
Power Supply100 to 240 VAC or 24 VDC
CommunicationRS-232C
I/O Points10, 20, 30, or 40 points depending on the model
TimersYes, multiple timers available
CountersYes, multiple counters available
Input Voltage24V DC
Output TypeRelay or transistor
Number of I/O Points10, 20, 30, 40
Communication PortsRS-232C (optional)
Operating Temperature0°C to 55°C
Storage Temperature-20°C
Humidity10% to 90% (non-condensing)
DimensionsVaries depending on the model
WeightVaries depending on the model
Program Memory2048 steps (2K steps)

Related product manuals