
Trajexia system
PROGRAMMING MANUAL
8
R
e
vi
si
o
n
1
.0
Keep your know-how safe
By preventing access to the programs in the controller Trajexia guarantees
complete protection and confidentiality for your valuable know-how.
Serial Port and Local I/Os
A serial port provides direct connectivity with any OMRON PLC, HMIs or any
other field device. 16 Inputs and 8 outputs are freely configurable embedded
I/Os in the controller to enable you to tailor Trajexia to your machine design.
MECHATROLINK-II Master
The MECHATROLINK-II master performs control of up to 16 Servo Drives,
Inverters or I/Os while allowing complete transparency across the whole
system.MECHATROLINK-II offers the communication speed and time
accuracy essential to guarantee perfect motion control of Servo Drives. The
motion cycle time is selectable between 0.5 ms, 1 ms or 2 ms.
TJ1-FL02 (Flexible Axis Unit)
The TJ1-FL02 allows full control of two actuators via an analogue output or
pulse train. The module supports the main absolute encoder protocols
allowing the connection of an external encoder to the system.
Drives and Inverters
A wide choice of rotary, linear and direct-drive Servo systems as well as
Inverters are available to fit your needs in compactness, performance and
reliability. The Inverters connected to the MECHATROLINK-II are driven at
the same update cycle time as the Servo Drives.
Remote I/Os
The I/Os on the MECHATROLINK-II motion bus provide for system
expansion while keeping the devices under one motion bus.
PROFIBUS-DP
The PROFIBUS-DP slave allows connectivity to the PROFIBUS network in
your machine.
DeviceNet
The DeviceNet slave allows connectivity to the DeviceNet network in your
machine.
CANopen
The CANopen master allows connectivity to the CANopen network in your
machine.
Modbus
Both ModbusRTU via serial and ModbusTCP via Ethernet are supported to
be able to connect to masters supporting the same interface.
2.1.2
This manual
This Programming Manual gives the dedicated information for:
•
The description and use of the BASIC commands
•
The communication protocols necessary for the Trajexia system
•
The use and description of the parts of the Trajexia Studio interface
•
Program examples and good programming practices
•
Troubleshooting and fault finding.
2.2
Multitasking BASIC programming
The TJ2-MC64 units (Machine Controller Unit) feature a multitasking version
of the BASIC programming language. The motion control language is largely
based upon a tokenised BASIC and the programs are compiled into the
tokenised form prior to their execution.
Multitasking is simple to set up and use and allows very complex machines
to be programmed. Multitasking gives the TJ2-MC64 a significant advantage
over equivalent single task systems. It allows modular applications where
the logically connected processes can be grouped together in the same task
program, thus simplifying the code architecture and design.
The TJ2-MC64 can hold up to 32 programs if memory size permits. Up to 22
programs can be run simultaneously. The execution of the programs is user
controlled using BASIC.
The BASIC commands, functions and parameters presented here can be
found in chapter 3.