Forced Reset - Kr - 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
0
x 10
x 10
@
K
Node no.
Header
code
Response Format
Parameters
Name
OP1 OP2
OP3
OP4
C
I
O
(Space) IR or SR
L
R
(Space) (Space) LR
H
R
(Space) (Space) HR
A
R
(Space) (Space) AR
T
I
M
(Space) Completion Flag (timer)
T
I
M
H
T
I
M
L
T
M
H
H
C
N
T
(Space) Completion Flag (counter)
C
N
T
R
4-5-23 FORCED RESET – KR
Command Format
1
0
x 10
x 10
@
K
Node no.
Header
code
Response Format
OP1 OP2 OP3 OP4
S
Name
An end code of 00 indicates normal completion.
x 10
@
Node no.
Name, Word address, Bit (Command)
In "Name," specify the area (i.e., IR, SR, LR, HR, AR, or TC) that is to be forced
set. Specify the name in four characters. In "Word address," specify the address
of the word, and in "Bit" the number of the bit that is to be forced set.
Classification
Completion Flag (high-speed timer)
Completion Flag (long timer)
Completion Flag (very high-speed timer)
Completion Flag (reversible counter)
Note The area specified under "Name" must be in four characters. Add spaces after
the data area name if it is shorter than four characters.
Force resets a bit in the IR, SR, LR, HR, AR, or TC area. Just one bit can be force
reset at a time.
Once a bit has been forced set or reset, that status will be retained until a
FORCED SET/RESET CANCEL (KC) command or the next FORCED SET/RE-
SET command is transmitted.
OP1 OP2 OP3 OP4
R
Name
An end code of 00 indicates normal completion.
x 10
@
3
2
1
0
x 10
x 10
x 10
x 10
x 10
Word
address
1
0
1
x 10
x 16
K
S
Header
End code
code
Word address setting range
CPM2A/
CPM2C PCs
0000 to 0049
0200 to 0252
0000 to 0015 0000 to 0015
0000 to 0019 0000 to 0019
0000 to 0023 0000 to 0015
0000 to 0255 0000 to 0127
3
2
1
0
x 10
x 10
x 10
x 10
x 10
Word
address
1
0
1
x 10
x 16
K
R
Node no.
Header
End code
code
Section
:
1
0
x 10
Bit
FCS
Terminator
:
0
x 16
FCS
Terminator
CPM1/ CPM1A/
SRM1(-V2) PCs
0000 to 0019
0200 to 0252
1
0
:
x 10
Bit
FCS
Terminator
:
0
x 16
FCS
Terminator
4-5
Bit
00 to 15
(dec
(decimal)
a )
Always
y
00
00
297

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CPM1 - PROGRAMING MANUAL 02-2001 and is the answer not in the manual?

Questions and answers

Table of Contents