Omron TJ2-MC64 - PROGRAMMING Programming Manual page 224

Hide thumbs Also See for TJ2-MC64 - PROGRAMMING:
Table of Contents

Advertisement

Communication protocols
End code
Description
Probable cause
13
FCS error
The FCS is wrong.
14
Format error
15
Entry number
The data is outside the specified
data error
range or too long.
18
Frame length
The maximum frame length of
error
131 bytes is exceeded.
19
Not executable
An I/O memory batch was exe-
cuted when items to read were
not registered.
A3
Aborted due to
An FCS error occurred in the
FCS error in
second or later frame.
transmission
data
A4
Aborted due to
The command format did not
format error in
match the number of bytes in the
transmission
second or later frame.
data
A5
Aborted due to
There was an entry number data
entry number
error in the second or later frame
data error in
or a data length error.
transmission
data
PROGRAMMING MANUAL
Solution
Check the FCS calcu-
lation method. If there
was influence from
noise, transfer the
command again.
The command format is
Check the format and
wrong.
transfer the command
A command that cannot be
again.
divided has been divided.
The frame length is smaller
than the minimum length for
the applicable command.
Correct the command
arguments and trans-
fer the command
again.
Check the data and
transfer the command
again.
Register items to read
before attempting
batch read.
Correct the command
data and transfer the
command again.
Correct the command
data and transfer the
command again.
Correct the command
data and transfer the
command again.
End code
Description
Probable cause
A8
Aborted due to
The length of the second or later
frame length
frames exceeded the maximum
error in trans-
of 128 bytes.
mission data
Set up
You need the SETCOM command to set up the serial port of the TJ2-MC64
for the Host Link Slave protocol. Set the command as follows:
SETCOM(baudrate, data_bits, stop_bits, parity, port, 5)
After you have set this command, the TJ2-MC64 responds to Host Link
commands from the master with the specified node number. You can set this
node number with the HLS_NODE parameter.
Example
In this example we assume this set-up:
A Trajexia system with a TJ2-MC64.
An NS8 programmable terminal.
A connection from the serial port of the TJ2-MC64 to the programmable
terminal. The serial port uses RS232C communication.
/i
Example
Configuration of the Host Link slave.
BASIC code
' Define Host Link slave node
HLS_NODE = 15
' Define Host Link slave model code
HLS_MODEL = $FA
' Set up Host Link slave for port 1
SETCOM(9600,7,2,2,1,5)
Result
The TJ2-MC64 can communicate with the programmable terminal.
Solution
Correct the command
data and transfer the
command again.
218

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tj1-prtTj1-drtTj1-cortTj1-mlGrt1-ml2Tj1-fl02

Table of Contents