System philosophy
HARDWARE REFERENCE MANUAL
30
Revi
si
on 3.0
2.4
Trajexia system architecture
The system architecture of the Trajexia is dependant upon these
concepts:
•
Program control
•
Motion Sequence
•
Motion buffers
•
Communication
•
Peripherals
These concepts depend upon the value set in the
SERVO_PERIOD
parameter. The relationship between the value of
SERVO_PERIOD
and the
different concepts of the system architecture are describes as follows.
2.4.1
Program control
Programs make the system work in a defined way. The programs are written
in a language similar to BASIC and control the application of the axes and
modules. 14 Programs can be executed in parallel. The programs can be set
to run at system power-up, started and stopped from other programs and
executed from Trajexia Tools.
Programs execute commands to move the axes, control inputs and outputs
and make communication via BASIC commands.
2.4.2
Motion sequence
The motion sequence controls the position of all 16 axes with the actions as
follows:
•
Reading the Motion buffer
•
Reading the current Measured Position (MPOS)
•
Calculating the next Demanded Position (DPOS)
•
Executing the Position loop
•
Sending the Axis reference
•
Error handling
2.4.3
Motion buffers
Motion buffers are the link between the BASIC commands and the Axis
control loop. When a BASIC motion command is executed, the command is
stored in one of the buffers. During the next motion sequence, the profile
generator executes the movement according to the information in the buffer.
When the movement is finished, the motion command is removed from the
buffer.
2.4.4
Communication
All communication is carried out in the forth CPU task. A set of BASIC
communication commands are used to configure the communications.
When the Trajexia is a communication slave (as in the PROFIBUS
communication) it is only necessary to configure the communication in an
initial task. The values are exchanged from the configured global variables in
a transparent way. When the Trajexia is a communications master, the
BASIC communication commands are used to write and read.
2.4.5
Peripherals
All inputs and outputs are used with the set of parameters (IN, OP, AIN,
AOUT). The inputs and outputs are automatically detected and mapped in
Trajexia. Inverters are considered a peripheral device and have a set of
BASIC commands to control them. Various MECHATROLINK-II input and
output modules can be connected to a TJ1-ML__ unit.
Derivative gain
0.0
Output speed gain
0.0
Speed feedforward gain
0.0
Gain
Default value
I51E-EN-03.book Seite 30 Donnerstag, 28. Juni 2007 1:05 13