
USA57 Revision
1.2
29
Command:
H
Halt Command String
Type:
Program Control Command
Syntax: H
n
Range:
n = See below
Description:
Halt the current command string and wait for a specific switch input condition to
become true. If an edge is detect is desired, a look for Low and a look for High
can be placed adjacent to each other, i.e. H01H11, to define a rising edge detect.
A halted operation can also be resumed by entering “/1R”. An “H” command with
no following number will wait for switch # 2 to close (low).
01
Wait for low input 1 (switch # 1)
11
Wait for high input 1 (switch # 1)
02
Wait for low input 2 (switch # 2)
12
Wait for high input 2 (switch # 2)
03
Wait for low input 3 (switch # 3)
13
Wait for high input 3 (switch # 3)
04
Wait for low input 4 (switch # 4)
14
Wait for high input 4 (switch # 4)
Example:
/1g
H
01P1000G10R<CR>
“/”
Is the start character. Lets Accuriss know that a command string will follow.
“1”
Is the device address, (this is preset at the factory).
“g”
Informs Accuriss a loop is beginning
“H01”
Wait for switch “1” to go low then execute move
“P1000” Move 1000 steps in positive direction
“
G10”
Loop 10 times
“R”
Instructs Accuriss to run the command(s) that are in the communication buffer.
“<CR>” Tells Accuriss that the command string is complete and causes the command to
be executed since an R is included in the command string.