3 PRECAUTIONS
3.1 Precautions on FB Combinations
37
3
3 PRECAUTIONS
This chapter describes the common precautions related to the FBs listed in this reference.
3.1 Precautions on FB Combinations
The following describes the influences when using multiple FBs listed in this reference in combination.
Influence matrix of the counter channel and target module
: Simultaneous processing possible
*1 Do not execute the following FBs simultaneously: M+FX5-2HC_CountEnable (Count enable operation), M+FX5-2HC_PulseMeasure
(Pulse width measurement), M+FX5-2HC_PulseDensityMeasure (Pulse density measurement), M+FX5-2HC_RotationSpeedMeasure
(Rotation speed measurement).
*2 For the use of more than one M+FX5-2HC_PulseMeasure (Pulse width measurement), the FBs can be simultaneously processed only
when settings of i_uInputSignal (Input signal) of the FBs are different from each other.
3.2 Precautions When Using FBs
This section describes the common precautions when using the FBs listed in this reference.
For precautions specific to each FB, refer to the following FB details.
Page 9 HIGH-SPEED COUNTER MODULE FB
Counter
channel
Target module
Same module Other module
Same channel
*1*2
Other channel
Description
These FBs do not include the error recovery processing. Program the error recovery processing separately in accordance with the required system operation.
These FBs cannot be used in interrupt programs.
Do not use these FBs in programs that are executed only once, such as a subroutine program or FOR-NEXT loop, because i_bEN (Execution command)
cannot be turned off and the normal operation cannot be acquired. Always use these FBs in programs that can turn off the execution command.
The FBs require the configuration of a ladder for every input label.
If an error occurs, o_bErr (Error completion) turns on and the processing of this FB is interrupted. In addition, the error code is stored in o_uErrId (Error code).