Communication protocols
PROGRAMMING MANUAL
156
Revi
si
on 3.0
4.2.3
Trajexia Tools protocol
The Trajexia Tools protocol is used by Trajexia Tools to program, monitor
and debug the TJ1-MC__.
Trajexia Tools uses a Telnet protocol. By default, this connection uses port
23. If this port is not accessible, you can change the port number with the
command
Ethernet(1,-1,4,new_port_n)
.
Unlike the standard Ethernet commands, this command takes effect
immediately after execution. The port changes to default at power on.
Therefore, this command needs to be included in any program that is
executed at power on.
The Trajexia Tools Protocol is TCP only.
4.2.4
FINS server protocol
FINS (Factory Interface Network Service) is a Proprietary OMRON
communication protocol. A subset of this protocol is implemented in
Trajexia. Refer to the Communication Commands Reference manual
(W342-E1).
The FINS protocol enables seamless communication with other OMRON
devices such as PLCs, HMIs, and CX-Drive.
The FINS server protocol requires no configuration settings.
By default, this connection uses port 9600. If this port is not accessible, you
can change the port with the command
Ethernet(1,-1,12,new_port_n)
.
Unlike the standard Ethernet commands, this command takes effect
immediately after execution. The port changes to default at power on.
Therefore, this command needs to be included in any program that is
executed at power on.
The FINS commands allow communications between nodes in different
networks. A FINS master device can read and write the Trajexia VR
variables and TABLE memory variables with FINS commands. These
commands use the Ethernet connection of the TJ1-MC__.
The FINS server protocol is UDP only.
Trajexia uses these FINS commands:
•
0101 (Read memory)
•
0102 (Write memory)
Read command
The FINS
read
command has this format:
/i
The parameters can have the following values:
/i
WARNING
As the TJ1-MC__ can communicate with different sources at the
same time, the commands from two sources can interfere with
each other.
Note
The maximum length of a FINS command over an Ethernet con-
nection is 2012 bytes.
01
01
..
..
..
00
..
..
command_code
var_type
start_address
fixed
element_count
Parameter
Values (hex)
command_code
01 01
var_type
•
82 (TABLE memory in 16-bit integer format)
•
C2 (TABLE memory in 32-bit IEEE floating-point format)
•
B0 (VR memory in 16-bit integer format)
start_address
0 <=
start_address
<= number of variables - 1 <= FFFF
I52E-EN-03.book Seite 156 Freitag, 29. Juni 2007 11:55 11