Page 18 of 62
NTI AG / LinMot
7 Write Control Word
With the access to the Control Word the main state machine could be controlled.
Message Main ID
Message Sub ID
Description
01h
00h
Write Control Word
With the following examples the first steps in runtime programming should be explained. To this message
request the LinMot drive will always answer with the default motion response.
7.1 Write Control Word example 1
With this control word command the lock state is cleared
Request: Write Control Word (Clear Control Word)
Byte
Offset
Value
Description
0
01h
Fix ID Telegram start
1
11h
Destination node ID
2
05h
Telegram length
3
02h
Fix ID start data
4
00h
Message Sub ID
5
01h
Message Main ID (Write Control Word)
6
00h
Control Word Low Byte
7
00h
Control Word High Byte
8
04h
Fix ID telegram end
This request is answered with the Default Response.
Example:
Tx:
01 11 05 02 00 01 00 00 04
Rx: 01 11 0C 02 00 00 00 B4 40 00 02 AB 00 00 00 04
7.2 Write Control Word example 2
With this control word command causes a transition to enable state and starts homing.
Request: Write Control Word (Set all Bits for Operation and Home Flag)
Byte
Offset
Value
Description
0
01h
Fix ID Telegram start
1
11h
Destination node ID
2
05h
Telegram length
3
02h
Fix ID start data
4
00h
Message Sub ID
5
01h
Message Main ID (Write Control Word)