Page 20 of 62
NTI AG / LinMot
8 Write Motion Command Interface
With the access to the Motion Command Interface of the MC-SW [1], the run time motion could be controlled.
There are a lot of different motion commands, which are described in [1] for the different needs of the
applications.
Message Main ID
Message Sub ID
Description
02h
00h
Write Motion Control Interface
8.1 Write Motion Command Interface example 1
With this motion command a VA-interpolator motion with default parameters for (max. velocity and acceleration
and deceleration) to the target position 10mm is defined.
Byte
Offset
Value
Description
0
01h
Fix ID Telegram start
1
11h
Destination node ID
2
09h
Telegram length
3
02h
Fix ID start data
4
00h
Message Sub ID
5
02h
Message Main ID (Motion Command Interface)
6
01h
Motion Cmd Intf Header Low Byte (count =1) Sub ID =0
7
02h
Motion Cmd Intf Header High Byte Master ID =2
8
A0h
Target Position lowest byte
9
86h
Target Position middle low byte
10
01h
Target Position middle high byte
11
00h
Target Position highest byte
12
04h
Fix ID telegram end
Example:
Tx: 01 11 09 02 00 02 01 02 A0 86 01 00 04
Rx: 01 11 0C 02 00 00 00 37 68 A1 08 8B FC FF FF 04
8.2 Write Motion Command Interface example 2
Go back with the same motion command to 0mm.
Byte
Offset
Value
Description
0
01h
Fix ID Telegram start
1
11h
Destination node ID
2
09h
Telegram length
3
02h
Fix ID start data
4
00h
Message Sub ID
5
02h
Message Main ID (Motion Command Interface)