Code Description
0x80C1 The data from the previous write request on the module are not pro-
cessed by the module, yet.
0x80C2 System error on the bus coupler
0x80Fx System error on the bus coupler
0x85xy System error on the bus coupler
0x8xyy General error information
Ä
Chap. 4.2 ‘General and Specific Error Information RET_VAL’ page 66
12.1.5 FC 303 - FM_GET_SPEED - Calculate rotational speed consistent
With the FC 303 FM_GET_SPEED, you can calculate the rotational speed of the input
signals of both channels of the System SLIO frequency measurement module. By this
function internally SFC 14 - DPRD_DAT for consistent reading of user data is called.
Here, the error messages of the function block are returned by ERROR.
Parameters
Parameter Declaration Data type Memory block Description
LADDR_IN /
HW_ID
INPUT WORD /
HW_IO
I, Q, M, D, L
n LADDR_IN
– Logical base input address of the
frequency measurement module.
– When used in CPUs from VIPA or
in S7-300 CPUs from Siemens.
n HW_ID
– HW identifier to address the fre-
quency measurement module.
– When used in S7-1500 CPUs
from Siemens.
RESOLUTION_CH0 INPUT DINT I, Q, M, D, L Channel 0:
Resolution of the sensor
RESOLUTION_CH1 INPUT DINT I, Q, M, D, L Channel 1:
Resolution of the sensor
DONE OUTPUT BOOL I, Q, M, D, L Ready signal
(TRUE = OK)
ERROR OUTPUT WORD I, Q, M, D, L return value
(0 = OK)
SPEED_CH0 OUTPUT DINT I, Q, M, D, L Channel 0:
Rotational speed
SPEED_CH1 OUTPUT DINT I, Q, M, D, L Channel 1:
Rotational speed
Description
VIPA SPEED7
Device Specific
Frequency Measurement > FC 303 - FM_GET_SPEED - Calculate rotational speed consistent
HB00 | OPL_SP7 | Operation list | en | 18-30 253