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 />
3) Point <strong>and</strong> program comm<strong>and</strong>s<br />
3-1 Store <strong>and</strong> start comm<strong>and</strong>s<br />
Comm<strong>and</strong> Comm<strong>and</strong> Name Function<br />
80 (50h) Remote start Remotely starts a previously stored point or program. First use 55h to<br />
specify the start target.<br />
81 (51h) STEP operation Specifies STEP operation of the program.<br />
82 (52h) Program stop Stops the program.<br />
83 (53h) Zero-return store Stores the zero-return operation of the zero-return start that is allocated<br />
to the CN1 input port function.<br />
84 (54h) Zero-return start Remotely starts the zero-return operation that was stored using 52h, via<br />
communication.<br />
85 (55h) Remote start target Sets the target for remote start by 50h.<br />
86 (56h) Point store This comm<strong>and</strong> stores the point data.<br />
87 (57h) PRG store This comm<strong>and</strong> stores the program data.<br />
3-2Program comm<strong>and</strong>s<br />
Comm<strong>and</strong> Comm<strong>and</strong> Name Function<br />
96 (60h) Program END Ends the program.<br />
97 (61h) Timer Wait Sets the delay timer.<br />
98 (62h) In-Position JMP Jump comm<strong>and</strong> based on in-position status.<br />
99 (63h) In-Port JMP Jump comm<strong>and</strong> based on input port status.<br />
100 (64h) ZONE JMP Jump comm<strong>and</strong> based on ZONE status.<br />
101 (65h) Position JMP Jump comm<strong>and</strong> based on absolute position status.<br />
102 (66h) Unconditional JMP Unconditional jump comm<strong>and</strong>.<br />
103 (67h) Motor stop JMP Jump comm<strong>and</strong> based on motor stop status.<br />
106 (6Ah) FOR Sets the loop counter; nested structures are possible.<br />
107 (6Bh) NEXT Returns to the loop counter.<br />
108 (6Ch) Gosub Calls a subroutine.<br />
109 (6Ch) Return Returns from the subroutine.<br />
5-6