09.09.2014 Views

Download PDF - MachMotion.com

Download PDF - MachMotion.com

Download PDF - MachMotion.com

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

7-1-3 Modbus <strong>com</strong>munication protocol for RS-485<br />

The MODBUS protocol allows an easy <strong>com</strong>munication within types of network architectures,before start to<br />

<strong>com</strong>munication with slave device, set the ID number ( Cn036 ) for Servo drive respectively, server distinguish ID<br />

number for controlling specific client station.<br />

Standard Modbus networks <strong>com</strong>bine two transmission modes: ASCII or RTU: ASCII(American Standard Code<br />

for information interchange) Mode and RTU (Remote Terminal Unit) Mode, Use Cn038 to select ASCII or RTU<br />

mode.<br />

Coding method<br />

ASCII Mode<br />

8-bits Data consist of two ASCII code.<br />

Ex: Data 26H 1-byte , the ’26’ convert to ASCII code is include character ’2‘ and ’6’ <br />

ASCII Chart ( 0 ~ 9 and A ~ F ):<br />

Character ‘0’ ‘1’ ‘2’ ‘3’ ‘4’ ‘5’ ‘6’ ‘7’<br />

ASCII code(Hex) 30H 31H 32H 33H 34H 35H 36H 37H<br />

Character ‘8’ ‘9’ ‘A’ ‘B’ ‘C’ ‘D’ ‘E’ ‘F’<br />

ASCII code(Hex) 38H 39H 41H 42H 43H 44H 45H 46H<br />

RTU Mode<br />

Each 8bits is consist of 2 Hex number (4-bits per Hex number).<br />

Ex.: Data 26H, the data length is 1-byte.<br />

7-5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!