Transferring The Set Function Mode Using The Ip 265; Switching From Two-Channel Mode To Cascade Mode; Switching From The Cascade Function To Two-Channel Mode - Siemens SIMATIC S5 Manual

Hide thumbs Also See for SIMATIC S5:
Table of Contents

Advertisement

Standard Function Counter
4.2

Transferring the Set Function Mode Using the IP 265

Switching from one function mode to another can be divided into the following steps:
1. Specification of the function mode using the CASC, CF1 and CF2 control bits.
2. Transfer and start of the new function with the RSC1 and RSC2 control bit.
4.2.1

Switching from Two-Channel Mode to Cascade Mode

If you want to switch the standard counter program from two-channel mode (PCF, NCF) to single-
channel mode (CAF), follow these steps:
Set the CASC bit to "1".
Set both reset signals RSC1 and RSC2 to "1".
Note
In order to switch on the cascade function, both reset signals RSC1 and RSC2 must
be set simultaneously. This is only possible if both signals are transferred to the IP
265 over the PIQ in the same data cycle.
The IP 265 detects both rising edges and switches the standard function to the cascade function.
Note
When the cascade function is switched on, only the data and control bits of channel
1 are active. Changes to channel 2 have no effect.
4.2.2

Switching from the Cascade Function to Two-Channel Mode

You switch the standard counter program from single-channel mode (cascade function) to two-
channel mode (PCF, NCF) as follows:
Set the CASC bit to "0"
Set the RSC bit to "1".
This resets both channels. The new function in which you then work follows the assignment of bits
CF1 and CF2
CF2 = 0
Channel 1 in PCF
Channel 2 in PCF
CF2 = 1
Channel 1 in PCF
Channel 2 in NCF
EWA 4NEB 812 6131-02
CF1 = 0
CF1 = 1
Channel 1 in NCF
Channel 2 in PCF
Channel 1 in NCF
Channel 2 in NCF
The Counter Functions
4-3

Advertisement

Table of Contents
loading

Table of Contents