Selecting The Counter Function Mode - Siemens SIMATIC S5 Manual

Hide thumbs Also See for SIMATIC S5:
Table of Contents

Advertisement

The Counter Functions
4.1

Selecting the Counter Function Mode

There are three bits available in the process image of the outputs (PIQ) for selecting the mode. You
use these bits to set the relevant mode. Both channels can be switched to the "normal counter
function" mode or the "periodic counter function" mode independently of one another.
Note
The function modes can only be set via the STEP 5 program and output via the PIQ
to the IP 265.
Location of the bits in the function mode byte:
CASC CF2
Bit 7
Note
Setting and transferring the bits to the IP 265 does not yet start the new function.
Transfer of the bits by the IP 265 and starting of the new function mode are described in the next
section.
4-2
CF1
0
Periodic counter function counter 1
1
Normal counter function counter 1
0
Periodic counter function counter 2
1
Normal counter function counter 2
0
Function follows CF1 and CF2
1
Cascade function (independent of CF1 and CF2)
Standard Function Counter
Byte No. 7 in the PIQ
Bit 0
EWA 4NEB 812 6131-02

Advertisement

Table of Contents
loading

Table of Contents