Omron CPM1 - PROGRAMING MANUAL 02-2001 Programming Manual page 323

Hide thumbs Also See for CPM1 - PROGRAMING MANUAL 02-2001:
Table of Contents

Advertisement

Host Link Commands
Area
classification
l
ifi
ti
IR or SR
Bit
Word
LR
Bit
Word
HR
Bit
Word
AR
Bit
Bit
Timer
Completion Flag
PV
High-speed timer
g
p
Completion Flag
PV
Long timer
g
Completion Flag
PV
Very high-speed timer
y
g
p
Completion Flag
PV
Counter
Completion Flag
PV
Reversible counter
Completion Flag
PV
DM
Word
Batch Reading
Command Format
Read Word address, Data Format (Command)
Depending on the area and type of data that are to be read, the information to be
read is as shown in the following table. The "read data" is specified in four digits
BCD, and the data format is specified in two digits BCD.
Read data
Read area
C I O (S)
( )
L R (S) (S)
( ) ( )
H R (S) (S)
( ) ( )
A R (S) (S)
( ) ( )
T I M (S)
( )
T I M H
T I M L
T M H H
C N T (S)
( )
C N T R
D M (S) (S)
Note *For SRM1(-V2) PCs, the DM range is from 0000 to 2047.
(S): Space
Data Break (Command)
The read information is specified one item at a time separated by a break code
(,). The maximum number of items that can be specified is 128. (When the PV of
a timer/counter is specified, however, the status of the Completion Flag is also
returned, and must therefore be counted as two items.)
The bit, word, and timer/counter status is read as a batch according to the read
information that was registered with QQ.
x 10
@
Read word
CPM2A/
CPM1/
CPM2C PCs
CPM1A/
SRM1(-V2)
PCs
0000 to 0049
0000 to 0019
0200
0200 to 0255
0255
0200
0200 to 0255
0000 to 0015
0000 to 0015
0000 to 0019
0000 to 0019
0000 to 0023
0000 to 0015
0000 to 0255
0000 to 0127
0000 to 0255
0000 to 0127
0000 to 0255
Not used.
0000 to 0255
Not used.
0000 to 0255
0000 to 0127
0000 to 0255
0000 to 0127
0000 to 2047
0000 to 1023*
6144 to 6655
6144 to 6655
1
0
x 10
Q
Q
I
Node no.
Header
Sub-header
code
code
Section
Data format
00 to 15 (decimal)
0255
"CH"
00 to 15 (decimal)
"CH"
00 to 15 (decimal)
"CH"
00 to 15 (decimal)
"CH"
2 characters other than "CH"
"CH"
2 characters other than "CH"
"CH"
2 characters other than "CH"
"CH"
2 characters other than "CH"
"CH"
2 characters other than "CH"
"CH"
2 characters other than "CH"
"CH"
Any 2 characters
:
R
FCS
Terminator
4-5
303

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents