3 send, Send, Appendix – Lenze EMF2102IB User Manual

Page 55

Advertising
background image

Appendix

8-23

L

_^ONMObk

8.3.3

SEND

The command SEND is 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

...

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 C11) 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

1

1

9

5

.

2

ETX

BCC

The controller can respond with two different acknowledgements:

ACK

The command could not be processed correctly. The current value of the parameter C11 is 95.2 Hz

or

NAK

The request could not been processed correctly. The parameter value was not changed.

Show/Hide Bookmarks

Advertising