Commissioning – Lenze SMVector RS-485 LECOM User Manual
Page 18

16
CMVLC401A
Commissioning
Example 1
The current speed setpoint (code number C46) is to be read with the bus address 01 at the controller. The host sends
the following RECEIVE telegram
EOT
0
1
4
6
ENQ
The controller can respond in three different ways:
STX
4
6
3
5
.
4
ETX
BCC
Valid request: The current value of the parameter C46 is 35.4 (Hz) or
STX
4
6
?
ETX
BCC
Invalid request: A check-sum fault (parity fault) occurred during data transmission or
STX
4
6
EOT
Invalid request: Parameter C46 does not exist in this controller.
6.4
Send Telegram
The command SEND is used to transmit data from the master to the slave. The master then sends a telegram with the
following structure:
EOT
AD1
AD2
STX
C1
C2
V1
O
Vn
ETX
BCC
The abbreviations have the following meanings:
EOT (04
hex
)
End of the (previous) transmission
AD1, AD2
Logic unit address of the slave to be addressed Slaves
STX (02
hex
)
Start of text
C1, C2
Code number (two ASCII characters)
V1 to Vn
Parameter value (n ASCII characters)
ETX (03
hex
)
End of text
BCC
Block-check character (00 ... FF
hex
)
In the text section of the telegram, which is embedded between the control characters STX and ETX, the code number
(C1. C2) and the corresponding parameter value (V1 to Vn) are transmitted to the slave.
Example for a SEND telegram:
The maximum speed (code number C1103) is to be set to the value 95.2 Hz via the bus address 34 at the controller.
The host must send the following SEND telegram:
EOT
3
4
STX
0
1
9
5
.
2
ETX
BCC
The controller can respond with one of two acknowledgements:
ACK
The command was processed correctly. The current value of the parameter C1103 is 95.2 Hz or
NAK
The request could not be processed correctly. The value of parameter C1103 has not been changed.