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 #395 background imageLoading...
Page #395 background image
374
Host Link Commands Section 6-3
Response Format An end code of 00 indicates normal completion.
Parameters Write Data (Command)
Specify in order the contents of the number of words to be written to the AR
area in hexadecimal, starting with the specified beginning word.
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, 26
is specified as the beginning word for writing, and three words of data are
specified, then 28 will become the last word for writing data, and the com-
mand will not be executed because AR 28 is beyond the writable range.
6-3-15 SV READ 1 –– R#
Searches for the first instance of a TIM, TIMH(15), CNT, and CNTR(12)
instruction with the specified TC number in the user’s program and reads the
PV, which assumed to be set as a constant. The SV that is read is a 4-digit
decimal number (BCD). The program is searched from the beginning, which
may take as much as 10 seconds to produce a response.
Command Format
Note TC number: 0000 to 0511 in CQM1 PCs, 0000 to 0127 in CPM1/CPM1A/
SRM1 PCs
Response Format
Parameters Name, TC Number (Command)
Specify the instruction for reading the SV in “Name.” Make this setting in 4
characters. In “TC number,” specify the timer/counter number used for the
instruction.
SV (Response)
The constant SV is returned.
Note 1. The instruction specified under “Name” must be in four characters.
2. If the same instruction is used more than once in a program, only the first
one will be read.
@
FCS
WJx 10
1
x 10
0
x 16
1
x 16
0
*
Node no. End codeHeader
code
Terminator
@
FCS
R#x 10
1
x 10
0
OP
1
OP
2
OP
3
OP
4
x 10
3
x 10
2
x 10
1
x 10
0
Node no. Header
code
TerminatorName TC number*
@
FCS
R#x 10
1
x 10
0
x 16
1
x 16
0
x 10
3
x 10
2
x 10
1
x 10
0
SV TerminatorNode no. Header
code
End code
Instruction name Classification
OP1 OP2 OP3 OP4
T I M (Space) TIMER
T I M H HIGH-SPEED TIMER
C N T (Space) COUNTER
C N T R REVERSIBLE COUNTER

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