Pulse output instructions
1228
Part IV Tool Instructions
PulseInfo_IsHome
InputTrue
Checks if home input is TRUE
See also:
Pulse output tool instructions in the online help
PulseOutput_Home_FB (see page 1176)
PLC types see page 1329
Variable Data type Function
Output variable BOOL TRUE if the home input has been reached
Description
This instruction returns TRUE if the home input of the channel specified by iChannel is TRUE.
Data types
Example
In this example the function has been programmed in ladder diagram (LD) and structured text (ST).
The same POU header is used for all programming languages.
POU header
All input and output variables used for programming this function have been declared in the POU
header.
Body
LD
ST
When programming with structured text, enter the following:
if (bHomeInput_Check) then
bHomeInput := PulseInfo_IsHomeInputTrue(iChannel := iChannel);
end_if;