Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
5. Type R Interface <br />
5.8.7 Communication Example<br />
The following example explains the communication process in detail.<br />
For the purposes of this example, the amplifier’s address is set to 0.<br />
Parameter WR<br />
Transmission exampleSetting the Gain parameter 15Command 21hType R<br />
Packet Length Address Command code Data Check sum<br />
5 0 21h 5 2Bh<br />
Parameter RD<br />
ExampleReading the servo parameter(Command 21h: Type R) using Parameter RD (Command 80h).<br />
Transmitted data<br />
Packet Length Address Command code Data Check sum<br />
5 0 80h 21h A6h<br />
Returned data<br />
Packet Length Address Response status Data 1 Data 2 Check sum<br />
6 0 21h 5 <br />
Point Data Save<br />
Transmitted data format:<br />
Packet Address Command code (56h) Point No Direct command code Data Check sum<br />
Length<br />
ExampleStoring an incremental move commandCommand 38h4000FA0hto Point No2.<br />
Packet Length Address Command code Point No Command Data Data Data Data Check sum<br />
A 0 56h 2 38h A0h Fh 0 0 49h<br />
Point data RD<br />
Transmitted data format:<br />
Packet Length Address Command code (81h) Point No Check sum<br />
Returned data format<br />
Packet Length Address Response Status Store Command Data Check sum<br />
There is no point number attached to the return data.<br />
ExampleReading the Point data stored at .<br />
Transmitted data format:<br />
Packet Length Address Command Point No Check sum<br />
5 0 81h 2 88h<br />
Returned data format<br />
Packet Address Response Store Data Data Data Data Check sum<br />
Length<br />
Status Command<br />
9 0 38h A0h Fh 0 0 <br />
577