Host Link Commands
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
Response Format
4-5-25 FORCED SET/RESET CANCEL – KC
Command Format
Name, Word address (Command)
In "Name," specify the area (i.e., IR, SR, LR, HR, AR, or TC) that is to be forced
set or reset. Specify the name in four characters. In "Word address," specify the
address of the word that is to be forced set or reset.
Classification
Completion Flag (high-speed timer)
Completion Flag (long timer)
Completion Flag (very high-speed timer) 0000 to 0255
Completion Flag (reversible counter)
Forced set/Reset/Cancel data (Command)
If a timer or counter completion flag is specified, only bit 15 is effective and all
other bits will be ignored. Only force-setting and force-resetting are possible for
timers/counters.
If a word address is specified, the content of the word specifies the desired pro-
cess for each bit in the specified word, as shown in the following table.
Hexadecimal setting
0000
0002
0003
0004
0005
0008
The bits that are merely set or reset may change status the next time the pro-
gram is executed, but bits that are force-set or force-reset will maintain the
forced status until it is cleared.
An end code of 00 indicates normal completion.
1
x 10
x 10
@
Node no.
Cancels all forced set and forced reset bits (including those set by FORCED
SET, FORCED RESET, and MULTIPLE FORCED SET/RESET). If multiple bits
are set, the forced status will be cancelled for all of them. It is not possible to can-
cel bits one by one using KC.
x 10
@
Word address setting range
CPM2A/CPM2C
PCs
0000 to 0049
0200 to 0252
0000 to 0015
0000 to 0019
0000 to 0023
0000 to 0255
0000 to 0255
0000 to 0255
No action (bit status not changed)
Reset
Set
Forced-reset
Forced-set
Forced set/reset status cancel
0
1
0
x 16
x 16
F
K
Header
End code
code
1
0
x 10
K
C
Node no.
Header
FCS
code
Section
CPM1/CPM1A/
SRM1(-V2) PCs
0000 to 0019
0200 to 0252
0000 to 0015
0000 to 0019
0000 to 0015
0000 to 0127
0000 to 0127
0000 to 0127
0000 to 0127
Process
:
FCS
Terminator
:
Terminator
4-5
299
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