5. Commands and Functions - Sanyo Denki America, Inc.
5. Commands and Functions - Sanyo Denki America, Inc.
5. Commands and Functions - Sanyo Denki America, Inc.
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>5.</strong> <strong>Comm<strong>and</strong>s</strong> <strong>and</strong> <strong>Functions</strong><br />
Comm<strong>and</strong> Code: 86 (56h)<br />
Point Store<br />
Data Length: Depends on the comm<strong>and</strong><br />
DAT No Function Setting range Setting unit<br />
DAT1 Point number 0 to 7Fh -<br />
DAT2 Direct comm<strong>and</strong> to be stored Direct comm<strong>and</strong> -<br />
DAT3 <strong>and</strong> Depends on the comm<strong>and</strong> in DAT2 Depends on the comm<strong>and</strong> -<br />
above<br />
Stores a direct comm<strong>and</strong> to the specified point number. The data length depends on the direct<br />
comm<strong>and</strong> being stored.<br />
Transmitted data format:<br />
Packet Length Address Comm<strong>and</strong> code (56h) Point No Direct comm<strong>and</strong> code Data (n bytes) Checksum<br />
Comm<strong>and</strong> Code: 87 (57h)<br />
Data Length: Depends on the comm<strong>and</strong><br />
Program store<br />
DAT No Function Setting range Setting unit<br />
DAT1 PRG No When PRG No.=1: 0<br />
When PRG No.=128: 0 to 7F<br />
When PRG No.=32: 0 to 1F<br />
DAT2, 3 Line number When PRG No.=1: 0 to 3FFh<br />
When PRG No.=128: 0 to 7<br />
When PRG No.=32: 0 to 1Fh<br />
DAT4 Comm<strong>and</strong> code to be stored Direct comm<strong>and</strong> (20h to 4Fh)<br />
Program comm<strong>and</strong> (60h to 6Dh)<br />
DAT5 Depends on the comm<strong>and</strong> in DAT4 Depends on the comm<strong>and</strong><br />
Stores a direct comm<strong>and</strong> line by line to the specified program number. The data length depends on the<br />
direct comm<strong>and</strong> being stored.<br />
Transmitted data format:<br />
Packet<br />
Address<br />
Comm<strong>and</strong><br />
PRG<br />
Line number<br />
Line number<br />
Store<br />
Data<br />
Checksum<br />
Length<br />
(57h)<br />
No.<br />
(lower)<br />
(higher)<br />
comm<strong>and</strong><br />
(n bytes)<br />
5-35