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 />
<br />
Command Code13587h<br />
Data Length0 byte<br />
Communication Error <br />
This command returns the history of all past communication errors. The data is cleared at power OFF.<br />
Returned data The returned data is 8 bytes (returned in the order of most recent to oldest)<br />
Communication error codes<br />
Name<br />
Code (Hex)<br />
Checksum error 01<br />
Timeout 02<br />
Parity error 08<br />
Framing error 10<br />
Overrun error 20<br />
<br />
Command Code13789h<br />
Data Length0 byte<br />
Software Rev <br />
This command reads the software revision.<br />
Returned The returned data is 2 bytes.<br />
data<br />
DAT Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0<br />
DAT1<br />
<br />
DAT2<br />
Software Rev<br />
<br />
Command Code1388Ah<br />
Data Length0 byte<br />
Program Stop Line <br />
This command reads the line where the program stopped if a STOP, program stop, or ALM aborts the<br />
running program.<br />
<br />
Command Code1408Ch<br />
Data Length0 byte<br />
Loop Counter RD <br />
This command is exclusively used in programs: it returns the current value of the For / Next loop<br />
counter.<br />
The returned data contains the values of all variables from 0 through A, in that order.<br />
Returned The returned data is 2 bytes In the order of most recent to oldest)<br />
data<br />
DAT Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0<br />
DAT110<br />
Loop countervariable 0 h<br />
<br />
559