BG assign DIO bits to execute stored programs
IMM PGM MIP
USAGE ♦ ♦
SYNTAX xxBGnn or xxBG?
PARAMETERS
Description xx [ int ] - bit number used to trigger stored program execution
nn [ char ] - name of stored program to be executed
Range xx - 0 to 15
nn - None or ? to read current setting
Units None
Defaults xx missing: error 7, PARAMETER OUT OF RANGE
out of range: error 7, PARAMETER OUT OF RANGE
DESCRIPTION This command is used to assign DIO bits for initiating the execution of a desired
stored program. Execution of the stored program begins when the specified DIO
bit changes its state from HIGH to LOW logic level.
Note:
Each DIO bit has a pulled-up resistor to +5V. Therefore, all bits will be at HIGH
logic level if not connected to external circuit and configured as input.
RETURNS If the "?" sign takes the place of nn value, this command reports the current
setting.
REL. COMMANDS BO - Set DIO port A, B, direction
EP - Enter program mode
EX - Execute stored program
AP - Abort stored program execution
EXAMPLE BO 0H | Set DIO ports A and B to input
0 BG 1 | Start execution of a stored program 1 when DIO bit #0 changes
state from HIGH to LOW
Section 3 – Remote Mode 3-31