5.7.3 Proceeding
In the Siemens SIMATIC Manager the following steps should be executed:
1.
Perform a hardware configuration for the CPU.
Chap. 4.4 ‘Hardware configura-
2.
Double-click the counter sub module of the CPU 314C-2 PN/DP (314-6EH04-0AB0
V3.3).
ð
The dialog
‘Properties’
is opened.
3.
As soon as you select the operating mode for the corresponding channel, a dialog
box with default values for this counter mode is created and shown. Select for the
corresponding channel the operating mode
‘Frequency counting’
.
4.
Perform the required parameter settings.
5.
Safe your project with
‘Station
è
Safe and compile’
.
6.
Transfer your project to your CPU.
n
The SFB 48 should cyclically be called (e.g. OB 1) for controlling the frequency meas-
urement.
n
The SFB is to be called with the corresponding instance DB. Here the parameters of
the SFB are stored.
5.7.4 Parametrization
5.7.4.1
Address assignment
Sub module
Input
address
Access
Description
Counter
816
DINT
Channel 0: Frequency value
820
DINT
Channel 1: Frequency value
824
DINT
Channel 2: Frequency value
828
DINT
Channel 3: Frequency value
Sub module
Output
address
Access
Description
Counter
816
DWORD
reserved
820
DWORD
reserved
824
DWORD
reserved
828
DWORD
reserved
Hardware configuration
User program
VIPA System MICRO
Deployment I/O periphery
Frequency measurement > Parametrization
HB400 | CPU | M13-CCF0000 | en | 18-50
142