48 / 97
6.4 Machine constants file
The machine constants file is loaded into the controller during the start-up of the StdHMI.
The following example of machine constants for 16 axes is a section of the file with preset
machine
constants that are to be adapted for the specific case of application.
Tabelle 20:
Table 20: Machine constants file
MK Number
values
Values
Test
set-up
MK_TEST_OHNEMECHANIK 1 0
MK_SPS_DUMMY 1
0
Hardware
configuration
MK_CANDRIVES 48 0, 1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
MK_APPLACHSIDX 18 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11,
13, 14, 15,
16, 17
MK_ACHSENART 16
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
Software
configuration
MK_CANOPEN_BAUDRATE 2 0, 1000
MK_DELTAT 1
4
Setting of
the axes
MK_IMPULSE 16 4096, 4096, 4096, 4096, 4096, 4096, 4096,
4096, 4096, 4096, 4096, 4096, 4096, 4096,
4096, 4096
MK_WEG 16
10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10,
10, 10, 10, 10
Axis-related
limit values
MK_MODVMAX 16 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10,
10, 10, 10, 10
MK_VMAX 16 20, 20, 20, 20, 20, 20, 20
, 20, 20, 20, 20, 20,
20, 20, 20, 20
MK_BESCHL 16 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2
MK_BREMS 16 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2
MK_T_BESCHL 16
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
Path-related
limit values
MK_VBAHNMAX 1 20
MK_BAHNBESCHL 1 2
MK_BAHNBREMS 1 2
MK_T_BAHNBESCHL 1 0
Laden einer Datei mit Mas chinenkonstante n in die Steue rung