Communication protocols
PROGRAMMING MANUAL
160
Revi
si
on 3.0
The Host Link Master protocol supports the commands only in single frame.
The following table shows how you can use the Host Link protocol with the
BASIC commands, and for which CPU unit operating mode (RUN, MON or
PROG) the command is valid.
/i
I/O memory
writing
WR
CIO AREA
WRITE
Writes the specified data in word
units beginning with the designated
CIO/IR
word.
WL
LR AREA WRITE
Writes the specified data in word
units beginning with the designated
LR
word.
WH
HR AREA
WRITE
Writes the specified data in word
units beginning with the designated
HR
word.
WD
DM AREA
WRITE
Writes the specified data in word
units beginning with the designated
DM
word.
WJ
AR AREA
WRITE
Writes the specified data in word
units beginning with the designated
AR
word.
WE
EM AREA
WRITE
Writes the specified data in word
units beginning with the designated
EM
word.
CPU unit
status
SC
STATUS WRITE
Changes the operating mode of the
CPU unit.
Testing
TS
TEST
Returns, unaltered, a single block
that was sent from the master.
PC model
code reading
MM
PC MODEL
READ
Reads the model code of the CPU
unit
Host Link
communica-
tions
processing
XZ
ABORT
(command only)
Aborts the operation that is per-
formed by a Host Link command,
and returns to the initial status.
**
INITIALIZE
(com-
mand only)
Initializes the transfer control proce-
dures for all Host Link units.
IC
Undefined com-
mand (response
only)
This is the response when the com-
mand header code is invalid.
Type
Header code
Name
Function
Note
The Host Link protocol supports only C commands. It does not
support FINS.
Header
code
Name
BASIC command
required
RUN
MON
PRG
RR
CIO AREA READ
HLM_READ
Valid
Valid
Valid
RL
LR AREA READ
HLM_READ
Valid
Valid
Valid
RH
HR AREA READ
HLM_READ
Valid
Valid
Valid
RD
DM AREA READ
HLM_READ
Valid
Valid
Valid
RJ
AR AREA READ
HLM_READ
Valid
Valid
Valid
RE
EM AREA READ
HLM_READ
Valid
Valid
Valid
WR
CIO AREA WRITE
HLM_WRITE
Not valid
Valid
Valid
WL
LR AREA WRITE
HLM_WRITE
Not valid
Valid
Valid
WH
HR AREA WRITE
HLM_WRITE
Not valid
Valid
Valid
WD
DM AREA WRITE
HLM_WRITE
Not valid
Valid
Valid
WJ
AR AREA WRITE
HLM_WRITE
Not valid
Valid
Valid
WE
EM AREA WRITE
HLM_WRITE
Not valid
Valid
Valid
SC
STATUS CHANGE
HLM_COMMAND
Valid
Valid
Valid
TS
TEST
HLM_COMMAND
Valid
Valid
Valid
MM
PC MODEL READ
HLM_COMMAND
Valid
Valid
Valid
XZ
ABORT
(command only)
HLM_COMMAND
Valid
Valid
Valid
**
INITIALIZE
(command only)
HLM_COMMAND
Valid
Valid
Valid
I52E-EN-03.book Seite 160 Freitag, 29. Juni 2007 11:55 11