Tc Status Read - Rg; Dm Area Read - Rd - Omron CPM1 - PROGRAMING MANUAL 02-2001 Programming Manual

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

Advertisement

Host Link Commands
Command Format
1
x 10
x 10
@
Node no.
Response Format
1
x 10
x 10
@
Node no.
Parameters
4-5-5 TC STATUS READ – RG
Command Format
1
x 10
x 10
@
Node no.
Response Format
Parameters
4-5-6 DM AREA READ – RD
0
3
2
x 10
x 10
x 10
R
C
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. No. of T/Cs:
CPM1/CPM1A/SRM1(-V2) PCs
An end code of 00 indicates normal completion.
0
1
0
x 16
x 16
x 10
R
C
Header
End code
code
Read data (for number of words read)
The response will be divided when reading more than 30 words of data.
Read Data (Response)
The number of present values specified by the command is returned in hexade-
cimal as a response. The PVs are returned in order, starting with the specified
beginning timer/counter.
Reads the status of the Completion Flags of the specified number of timers/
counters, starting from the specified timer/counter.
0
3
2
x 10
x 10
x 10
R
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. No. of T/Cs:
CPM1/CPM1A/SRM1(-V2) PCs
An end code of 00 indicates normal completion.
1
0
x 10
x 10
@
Node no.
The response will be divided when reading the status of more than 123 timer/
counters.
Read Data (Response)
The status of the number of Completion Flags specified by the command is re-
turned as a response. "1" indicates that the Completion Flag is ON.
Reads the contents of the specified number of DM words, starting from the spe-
cified word.
1
0
3
2
1
x 10
x 10
x 10
x 10
x 10
1
No. of timers/counters
0001 to 0256 in CPM2A/CPM2C PCs, 0001 to 0128 in
3
2
1
0
x 10
x 10
x 10
Read data (1 word)
1
0
3
2
1
x 10
x 10
x 10
x 10
x 10
1
No. of timers/counters
0001 to 0256 in CPM2A/CPM2C PCs, 0001 to 0128 in
ON/
1
0
x 16
x 16
R
G
OFF
Header
End code
code
Read data
(1 timer/counter)
Read data
(for number of TC read)
Section
0
:
2
FCS
Terminator
:
FCS
Terminator
0
:
2
FCS
Terminator
:
FCS
Terminator
4-5
283

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents