![Galil Motion Control RIO-47120 Скачать руководство пользователя страница 62](http://html1.mh-extra.com/html/galil-motion-control/rio-47120/rio-47120_user-manual_3280393062.webp)
Conditional Jumps
The RIO provides Conditional Jump (JP) and Conditional Jump to Subroutine (JS) instructions for branching
to a new program location based on a specified condition. The conditional jump determines if a condition is
satisfied and then branches to a new location or subroutine. Unlike event triggers such as the AI command,
the conditional jump instruction does not halt the program sequence. Conditional jumps are useful for testing
events in real-time. They allow the RIO to make decisions without a host computer.
Command Format - JP and JS
Format
Description
JS destination, logical condition
Jump to subroutine if logical condition is satisfied
JP destination, logical condition
Jump to location if logical condition is satisfied
The destination is a program line number or label where the program sequencer will jump if the specified
condition is satisfied. Note that the line number of the first line of program memory is 0. The comma
designates "IF". The logical condition tests two operands with logical operators.
56 Chapter 5 Programming
RIO-47xxx
Содержание RIO-47120
Страница 2: ......
Страница 93: ...RIO Dimensions RIO 471xx Units in centimeters RIO 47xxx Appendix 87...
Страница 94: ...RIO 472xx Units in millimeters 88 Appendix RIO 47xxx...
Страница 107: ...Internal 56 64 Zero Stack 53 RIO 47xxx Index 101...