36
2 HIGH-SPEED COUNTER MODULE FB
2.6 M+FX5-2HC_DegreeToCountVal (Angle Conversion)
Parameter settings
No parameter setting is required for this FB.
Performance value
*1 When the program capacity is set to 128K steps, the processing speed may be reduced.
*2 The labels in the standard area are used.
Error code
Module Processing time Maximum scan time Number of scans
FX5UJ CPU module 0.025ms 0.532ms 1 scan
FX5U CPU module, FX5UC CPU module
*1*2
0.029ms 0.451ms 1 scan
Error code Description Action
104H The setting of i_uAngle (Angle) is out of the range. The angle is
not within the range of 1 to 3599.
Execute the FB again after checking the setting.
105H The setting of i_udResolution (Resolution) is out of the range.
The resolution is not within the range of 10 to 32768.
Execute the FB again after checking the setting.
106H The setting of i_uZeroValue (Zero degree setting value) is out of
the range. The zero degree setting value is not within the range of
0 to (i_udResolution - 1).
Execute the FB again after checking the setting.