Baldor VS1MD instruction manual Ascii-Hex

Models: VS1MD

1 168
Download 168 pages 41.14 Kb
Page 159
Image 159

Description:

Request starts with “ENQ” and ends with “EOT”.

Acknowledge Response starts with “ACK” and ends with “EOT”. Negative Acknowledge Response starts with ”NAK” and ends with “EOT”. “Drive Number” is the number of the drive and is indicated in 2 byte ASCII-HEX. (ASCII-HEX: Hexadecimal consists of ‘0’ to ‘9’, ‘A’ to ‘F)

CMD: Capital letter

Character

ASCII-HEX

Command

 

 

 

R

52h

Read

W

57h

Write

X

58h

Request for monitoring

Y

59h

Action for monitoring

Data: ASCII-HEX

 

 

Example: when data value is 3000: 3000 (dec)

‘0’ ‘B’ ‘B’ ‘8’h

30h 42h 42h 38h

Error code: ASCII (20h to 7Fh)

 

 

Receive/Send buffer size: Receive= 39 byte, Send=44 byte

Monitor register buffer: 8 Word

SUM: to check the communication error

SUM= ASCII-HEX format of lower 8 bit of (Drive No. + CMD + DATA)

Example: Command Message (Request) to read one address from address “3000”

ENQ

Drive

CMD

Address

Number of address to

SUM

EOT

 

No

 

 

read

 

 

 

 

 

 

 

 

 

05h

“01”

“R”

“3000”

“1”

“A7”

04h

1 byte

2 bytes

1 byte

4 bytes

1 byte

2

1

SUM = ‘0’ + ‘1’ + ’R’ + ‘3’ + ‘0’ + ‘0’ + ‘0’ + ‘1’ =30h + 31h + 52h + 33h + 30h + 30h + 30h + 31h

= 1A7h (Control values such as ENQ/ACK/NAK are excluded.)

RS485 Protocol

C-5

Page 159
Image 159
Baldor VS1MD instruction manual Ascii-Hex