Download Software Manual - Phase Motion Control
Transcript
The tasks Background e Medium must be defined even if they are not used by the application; in this case
they must generate two empty files.
8.4
Interaction with firmware
A GPLC project includes in itself all elements (source modules, memory maps and tasks definition)
requested for the generation of a machine code file (file .COD) to be further sent to and executed by the AxM
drive
However the application must interact with the firmware system on board of the drive so that it can read
and/or set variables not belonging to the application, but defined as “system variables” because they can
modify drive regulation, control and condition.
In this paragraph will be specified the types of variables available to the user permitting to interface the
dedicated application with the AxM system.
8.4.1
Application parameters
The application parameters are user defined parameters that can be transferred and modified during the
dedicated application operation using the AxM drive communication interface ("Cockpit").
The AxM firmware provides 8 memory zones (data block) for the application parameters definition, different
by type (16bit, 32bit, float, bit), and/or write/read properties (R/W). Every time the user defines a new
parameter, implicitly allocates a variable in the drive firmware (associated variable) in the memory zone
devoted to the declared parameter type.
The following table resumes the application parameters data block.
Data
block
Parameter type
Number of
parameters
IPA
Properties
10
16-bit parameters
512
15000 – 15511
R/W
11
32-bit parameters
512
17000 – 17511
R/W
12
bit parameters
128
17800 – 17927
R/W
13
float parameters
512
16000 – 16511
R/W
20
16-bit parameters
512
9000 - 9511
R
21
32-bit parameters
512
13000 – 13511
R
22
bit parameters
128
17600 – 17727
R
23
float parameters
512
11000 – 11511
R
Figura 8.8: Application parameters data block
Every parameter is actually made up with many fields whose value can be modified using the parameters
table editor. The fields are thereafter briefly described.:
Ipa:
Is the parameter index, or the number used to identify the parameter in univocal mode during the
communication with the drive. The parameter indexes are automatically generated by the parameter tables
editor every time a new parameter is input, correlated with the type of datum assigned to the parameter. The
valid intervals for the parameter indexes are shown in the previous table.
Menu:
Means the “logic” group to whom the selected parameter belongs. Typically the parameters are grouped in
functionally homogeneous sets. The belonging menu of each parameter can be selected among the menus
currently defined in the proper table.
69