Waiting for a digital input
Description
The function block KRC_WaitForInput stops the program until a digital input takes a defined value. Program execution is then resumed.
Inputs
|
Parameter |
Type |
Description |
|---|---|---|
|
AxisGroupIdx |
INT |
Index of axis group
|
|
ExecuteCmd |
BOOL |
The statement is executed in the case of a rising edge of the signal. |
|
Number |
INT |
Number of the digital input (corresponds to $IN[1 … 2048] on the robot controller)
|
|
Value |
BOOL |
Value of the digital input |
|
bContinue |
BOOL |
TRUE = poll input in advance run Note: The robot controller executes programs with an advance run and a main run. Further information about the advance run and main run is contained in the operating and programming instructions for the KUKA System Software (KSS). |
|
BufferMode |
INT |
Mode in which the statement is executed
(>>> BufferMode) |
Outputs
|
Parameter |
Type |
Description |
|---|---|---|
|
Busy |
BOOL |
TRUE = statement is currently being transferred or has already been transferred |
|
Active |
BOOL |
TRUE = statement is currently being executed (robot is waiting for an input) |
|
Done |
BOOL |
TRUE = statement has been executed |
|
Aborted |
BOOL |
TRUE = statement has been aborted |
|
Error |
BOOL |
TRUE = error in function block |
|
ErrorID |
DINT |
Error number |