![background image](http://html1.mh-extra.com/html/omron/smartslice-grt1-ml2/smartslice-grt1-ml2_programming-manual_742305220.webp)
Communication protocols
PROGRAMMING MANUAL
214
R
e
vi
si
o
n
1
.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
End codes
These are the end codes defined in the
HLM_STATUS
parameter:
/i
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
IC
Undefined command
(response only)
-
Valid
Valid
Valid
Caution
You must execute the Host Link master commands from one pro-
gram task only to avoid any multi-task timing problems.
Caution
The Host Link master commands provide the tools to exchange
data with the Host Link slave. The user program must contain
proper error handling routines to deal with communication failure
and perform retries if necessary.
End code
Description
Probable cause
Solution
$00
Normal
completion
No problem exists.
N/A
$01
Not executable
in RUN mode
The command that was sent can-
not be executed when the PC is
in RUN mode.
Check the relation
between the com-
mand and the PC
mode.
$13
FCS error
The FCS is wrong.
Influence from noise,
transfer the command
again.
Header
code
Name
BASIC command
required
RUN
MON
PRG