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 #396 background imageLoading...
Page #396 background image
375
Host Link Commands Section 6-3
3. Use this command only when it is definite that a constant SV has been set.
4. The response end code will indicate an error (16) if the SV wasn’t entered
as a constant.
6-3-16 SV READ 2 –– R$
Reads the constant SV or the word address where the SV is stored. The SV
that is read is a 4-digit decimal number (BCD) written as the second operand
for the TIM, TIMH(15), CNT, or CNTR(12) instruction at the specified program
address in the user’s program. This can only be done with a program of less
than 10K.
Command Format
Note TC number: 0000 to 0511 in CQM1 PCs, 0000 to 0127 in CPM1/CPM1A/
SRM1 PCs
Response Format An end code of 00 indicates normal completion.
Parameters Name, TC Number (Command)
Specify the name of the instruction for reading the SV in “Name.” Make this
setting in 4 characters. In “TC number,” specify the timer/counter number used
by the instruction.
Operand, SV (Response)
The name that indicates the SV classification is returned to “Operand,” and
either the word address where the SV is stored or the constant SV is returned
to “SV.
Note The instruction name specified under “Name” must be in four characters. Fill
any gaps with spaces to make a total of four characters.
x 10
0
x 10
0
@ R$x 10
0
x 10
1
x 10
3
x 10
2
x 10
1
OP1 OP2 OP3 OP4 x 10
3
x 10
2
x 10
1
Node no. Program
address
Name TC number* TerminatorFCSHeader
code
x 16
0
@ R$ OP1 OP2 OP3 OP4 x 10
0
x 10
0
x 10
1
x 16
1
x 10
3
x 10
2
x 10
1
Node no. Header
code
End code Operand SV TerminatorFCS
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
Operand Classification Constant or word address
OP1 OP2 OP3 OP4 CQM1 PCs CPM1 PCs
C I O (Space) IR or SR 0000 to 0255 0000 to 0019
0200 to 0255
L R (Space) (Space) LR 0000 to 0063 0000 to 0015
H R (Space) (Space) HR 0000 to 0099 0000 to 0019
A R (Space) (Space) AR 0000 to 0027 0000 to 0015
D M (Space) (Space) DM 0000 to 6655 0000 to 6655
DM* (Space) DM (indirect) 0000 to 6655 0000 to 6655
C O N (Space) Constant 0000 to 9999 0000 to 9999

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