Table of Contents

Advertisement

Deployment I/O periphery
Counting > Proceeding
5.6.2.2
Counter outputs
X2: DO byte 0
X2
Function
5
DO 0.3
6
DO 0.2
7
DO 0.1
8
DO 0.0
9
0 V
10
DC 24V
Output channel Counter

5.6.3 Proceeding

Hardware configuration
User program
120
Type
LED
green /
red
O
O
O
O
I
I
Every counter has an assigned output channel. For each counter you can specify the
x
behavior of the counter output via the parametrization with 'Characteristics of the output'
and 'Pulse duration' .
In the Siemens SIMATIC Manager the following steps should be executed:
1.
Perform a hardware configuration for the CPU.
tion - CPU' page 68
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.
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 47 should cyclically be called (e.g. OB 1) for controlling the counter func-
tions.
n
The SFB is to be called with the corresponding instance DB. Here the parameters of
the SFB are stored.
Description
Output channel counter 3
Output channel counter 2
Output channel counter 1
Output channel counter 0
4M: GND for output channel counter
LED (red) is on at short circuit respectively overload
4L+: DC 24V power section supply for output channel counter
Ä Chap. 5.6.4.3 'Counter' page 122
VIPA System MICRO
Ä Chap. 4.4 'Hardware configura-
HB400 | CPU | M13-CCF0000 | en | 18-50

Advertisement

Table of Contents
loading

Table of Contents