Issued: 13.08.2012 Version: KST PLC mxAutomation Logix 1.0 V1 en (PDF)
7 Programming
Outputs
7.6.17
Wait statement (read digital input)
Description
The function block KRC_WaitForInput stops the program until a digital input
takes the defined value. Program execution is then resumed.
Memory
Inputs
Continue
BOOL
TRUE = output written in advance run
BufferMode
INT
Mode in which the statement is executed
0
: DIRECT
1
: ABORTING
2
: BUFFERED
(
>>>
Parameter
Type
Description
Parameter
Type
Description
ErrorID
DINT
Error number
Busy
BOOL
TRUE = statement is currently being trans-
ferred or has already been transferred
Done
BOOL
TRUE = statement has been executed
Aborted
BOOL
TRUE = statement was aborted before it was
processed in the advance run
Error
BOOL
TRUE = error in function block
Fig. 7-18: Function block KRC_WaitForInput
Parameter
Type
Description
KRC_AxisGroup
RefArr
AXIS_GROUP_
REF_ARR
Reference to the internal structure of the axis group
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
1 … 2,048
Value
BOOL
Setpoint value of the digital input