Fins Client Protocol; Serial Protocol; Host Link Master - Omron TJ1-MC04 - PROGRAMMING 1 Programming Manual

Hide thumbs Also See for TJ1-MC04 - PROGRAMMING 1:
Table of Contents

Advertisement

Communication protocols
/i
Condition
Response code
(hex)
All elements valid
0000
Var_type invalid
1101
Start_address invalid
1103
Bit_number invalid
1103
Number of elements invalid
1104
(totals)
4.2.5

FINS client protocol

Trajexia can initiate the FINS communication using the FINS_COMMS
BASIC command. Refer to the command description for details.
Both the Read Memory (0101) and the Write Memory (0102) commands are
supported.
This functionality is useful to communicate with an OMRON PLC, another
Trajexia system or a PC running FINS server application software.
With the Read Memory command, memory can be read from other devices
with FINS server capability. The Write Memory command can be used to
write data to devices with FINS server capability.
The command returns one of the following values, depending on the
outcome of the execution:
/i
-1
The command executed successfully.
0
The command failed.
1
Request was not sent because the client or the FINS protocol is busy.
2
One or more of the request parameters is invalid.
3
Invalid source memory area.
PROGRAMMING MANUAL
Description
OK
No area type
Address range designation error
Address range designation error
Address out of range
4
Request was sent, but no response from the remote server was received within the
timeout period.
5
An error response code was received from the remote server.
4.3

Serial protocol

The TJ1-MC__ TJ1-MC__ has a DB-9 connector that contains two serial
ports:
Port 1: RS232
Port 2: RS422 or RS485, depending on the switch settings
See the Trajexia Hardware Reference manual for details.
Both ports can independently support these protocols:

Host Link master

Host Link slave
User defined protocol
Note
The serial port (port 1) CANNOT be used for program-
ming the unit.
4.3.1
Host Link master
If the TJ1-MC__ is the Host Link master, you can send BASIC commands to
a Host Link slave, for example a PC. When you send a BASIC command to
a Host Link slave, the execution of the next BASIC command waits until the
Host Link slave sends a response.
You can use these BASIC commands:
/i
BASIC command
Description
HLM_COMMAND
HLM_COMMAND executes a specific Host Link command to the
slave.
158

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tj1-mc16 - programming 1Tj1-mc04 1

Table of Contents