EasyManua.ls Logo

YASKAWA VIPA SPEED7 - FC 312 - FM_CALC_FREQUENCY - Calculate Frequency

YASKAWA VIPA SPEED7
1007 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
The following codes can be returned:
Code Description
0x0000 No error
0x80D0 Channel 0 not in status active
0x80D1 Channel 1 not in status active
0x80DC Channel 0: Measured time value < 0
0x80DD Channel 1: Measured time value < 0
0x80DE Channel 0: Measured time value > 0x7FFFFFF
0x80DF Channel 1: Measured time value > 0x7FFFFFF
0x80E0 Channel 0: Determined number of edges = 0
0x80E1 Channel 1: Determined number of edges = 0
0x80E2 Channel 0: Determined number of edges < 0
0x80E3 Channel 1: Determined number of edges < 0
0x80E4 Channel 0: Determined number of edges > 0xFFFFFF
0x80E5 Channel 1: Determined number of edges > 0xFFFFFF
0x80E8 Channel 0: No valid measurement within the entered measurement period
0x80E9 Channel 1: No valid measurement within the entered measurement period
12.1.9 FC 312 - FM_CALC_FREQUENCY - Calculate frequency
With the FC 312 FM_CALC_FREQUENCY, you can calculate the period duration of the
input signals of both channels. Since this FC does not internally call a block for consistent
read access of data, you have to ensure consistent data transfer in your system.
Parameters
Parameter Declaration Data type Memory block Description
FM_PERIOD_CH0 INPUT DWORD I, Q, M, D, L Actual value of frequency meas-
urement module input address:
+0
FM_PERIOD_CH1 INPUT DWORD I, Q, M, D, L Actual value of frequency meas-
urement module input address:
+8
FM_RISING_EDGES_CH0 INPUT DWORD I, Q, M, D, L Actual value of frequency meas-
urement module input address:
+4
FM_RISING_EDGES_CH1 INPUT DWORD I, Q, M, D, L Actual value of frequency meas-
urement module input address:
+12
ERROR (Return value)
Description
VIPA SPEED7
Device Specific
Frequency Measurement > FC 312 - FM_CALC_FREQUENCY - Calculate frequency
HB00 | OPL_SP7 | Operation list | en | 18-30 260

Table of Contents

Related product manuals