Output Instruction Buttons:
Overview
The output instruction buttons allow output instructions to be added
to the matrix.
Selecting Output Instructions
All outputs listed below are "single input" outputs unless otherwise
noted. Classes of instructions are selected by clicking on the tab above
the buttons.
Buttons
Most instructions have a two part button. Clicking on the rectangular
part of the button will replace the instruction in the current matrix
location to be replaced with the new instruction. Clicking on the arrow
shaped area below the button will move down one matrix position and then
replace the new matrix location with the new instruction. This allows moving
to a new location and inserting an instruction to be accomplished with a
single mouse click.
Replace:
Replace below:
Disabling of Buttons for Incompatible Matrix Types
Output instructions which are not compatible with the current matrix type
will be covered with a "mask" which prevents them from being selected. The
following shows the TMR and TMROFF buttons enabled, while the TMRA, CNTU,
CNTD, and UDC buttons are disabled.
Connecting Outputs Together
When multiple outputs are present in the same rung, they will be
automatically connected together with power rails. This means there are no
branch instructions which need to be applied to outputs.
Output Instructions
Coil Buttons
The coil outputs include the following instructions:
- OUT - Output logic stack to bit.
- SET - Set bit if logic stack true.
- RST - Reset bit if logic stack true.
- PD - Output logic stack one shot.
- OUT - Output logic stack to multiple bits.
- SET - Set multiple bits if logic stack true.
- RST - Reset multiple bits if logic stack true.
- PD - Output logic stack one shot to multiple bits.
Program Control Buttons
The program control outputs include the following instructions:
- CALL - Call subroutine.
- RT - Return from subroutine.
- RTC - Return from subroutine conditional.
- END - Program end .
- ENDC - Program end conditional.
- FOR - For/next loop.
- NEXT - Next in For/next loop.
Timer Buttons
Timers and counters.
- TMR - On delay timer.
- TMROFF - Off delay timer.
- TMRA - On delay accumulating timer (double input).
- CNTU - Count up (double input).
- CNTD - Count down (double input).
- UDC - Up/down counter (triple input).
Copy Buttons
Copy memory.
- COPY - Copy a single value to a register.
- CPYBLK - Copy a block of data.
- FILL - Fill a block of data.
- PACK - Pack bits into a register.
- UNPACK - Unpack bits from a register.
Find (Search) Buttons
Search a series of memory locations for a match or pattern.
- FINDEQ - Search table for equal to.
- FINDNE - Search table for not equal.
- FINDGT - Search table for > .
- FINDGE - Search table for >= .
- FINDLT - Search table for < .
- FINDLE - Search table for <= .
- FINDIEQ - Incremental search table for equal to.
- FINDINE - Incremental search table for not equal.
- FINDIGT - Incremental search table for > .
- FINDIGE - Incremental search table for >= .
- FINDILT - Incremental search table for < .
- FINDILE - Incremental search table for <= .
Misc Buttons
Miscellaneous instructions, including math and shift register. Math
instructions accept arbitrary equations.
- MATHDEC - Decimal math.
- MATHHEX - Hexadecimal math.
- SUM - Sum a range of registers.
- SHFRG - Shift register (triple input).
Edit Buttons
The edit buttons allow instructions to be inserted or deleted.
- INS ROW - Insert an empty matrix position, moving any existing
instructions down one position.
- DEL ROW - Delete an existing output, moving any existing instructions
up one position.