MODBUS/TCP Fieldbus manual - Koco Motion GmbH
MODBUS/TCP Fieldbus manual - Koco Motion GmbH
MODBUS/TCP Fieldbus manual - Koco Motion GmbH
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Revision R020111<br />
<strong>MODBUS</strong>/<strong>TCP</strong> <strong>Fieldbus</strong> <strong>manual</strong> 6 <strong>TCP</strong>/IP Confi guration Utility<br />
6.5.2 Using the Manual tab to read functions / data<br />
Manual<br />
&H1<br />
&H0<br />
&H6<br />
&H1<br />
&H3<br />
&H0<br />
&H57<br />
&H0<br />
&H2<br />
&H0<br />
The following illustration shows an example of reading a function, in this<br />
case the position resulting from the absolute move in the last section.<br />
Transaction ID<br />
Protocol<br />
Length (of following bytes)<br />
Unit ID<br />
Function Code<br />
PDU byte 0x01<br />
PDU byte 0x02<br />
PDU byte 0x03<br />
PDU byte 0x04<br />
PDU byte 0x05<br />
0x 03 00 57 00 02 00<br />
Read Position<br />
Function<br />
Code<br />
Address<br />
Hi byte<br />
Address<br />
Lo byte<br />
Qty of<br />
registers<br />
Hi byte<br />
PDU<br />
Qty of<br />
registers<br />
Lo byte<br />
Qty of<br />
data bytes<br />
following<br />
&H0<br />
&H0<br />
&H0<br />
&H0<br />
Receive<br />
Func. / Error Code<br />
Data:<br />
PDU byte 0x06<br />
PDU byte 0x07<br />
PDU byte 0x08<br />
PDU byte 0x09<br />
0x3<br />
TransID:0x01; Protocol:0x00; Length:0x07;<br />
Unit_ID:0x1; Function_Code:0x3; Data(01):0x4;<br />
Data(02):0xD0; Data(03):0x0; Data(04):0x0;<br />
Data(05):0x7<br />
Response contains the data value<br />
D0 00 07 07 D0 00 07<br />
Figure 6.7: Reading a function using the Manual tab<br />
Send<br />
= 0x07D00 or 512000 decimal<br />
6-7