62
Serial Communications Section 4-1
End Code Summary These are the end codes as they can be defined in the HLM_STATUS param-
eter.
Set-up Host Link Master The SETCOM is required to set-up the serial communication port for the Host
Link Master protocol. After setting the following command:
SETCOM(baudrate,data_bits,stop_bits,parity,port,6)
the HLM_READ, HLM_WRITE and HLM_COMMAND commands can be
used to read and write data using Host Link.
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 (com-
mand only)
HLM_COMMAND Valid Valid Valid
IC Undefined com-
mand (response
only)
- Valid Valid Valid
Header
Code
Name BASIC Command
required
CPU Unit Operating Mode
RUN MON PRG
End
code
Contents Probably cause Corrective measures
00 Normal completion No problem exists ---
01 Not executable in RUN mode The command that was sent cannot
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 Most likely influence from noise,
transfer the command again.
14 Format error The command format is wrong, or a
command that cannot be divided has
been divided, or the frame length is
smaller than the minimum length for
the applicable command.
Check the format and transfer the
command again.
15 Entry number data error The data is outside the specified
range or too long.
Correct the command arguments
and transfer the command again.
18 Frame length error The maximum frame length of 131
bytes was exceeded.
Check the command and transfer
the command again.
19 Not executable Access right was not obtained. Obtain access rights.
21 Not executable due to CPU Unit
CPU error
The command cannot be executed
because a CPU error has occurred
in the CPU Unit.
Cycle the CPU Unit’s power supply.