Using S7 SFB47 twice for one encoder

p17061

Member
Join Date
Sep 2009
Location
Aberham
Posts
23
Hello,

I have a system where I want to monitor some motors to make sure they are running and if not generate an alarm. The PLC is already using the SFB47 count function to look at the encoder that is connected to the CPU313-C's integrated encoder channels. The counter is only enabled during certain times so I don't want to use it's "count value" since it will be stopped during certain machine states. I want to know if I can use the SFB47 block again somewhere else in the program with the same encoder but using a different "count value" address and in that block keep the counter enabled all of the time. I will then check the count value to make sure it is always moving and if not, generate an alarm. Since the counter will be enabled all the time, do I need to make programming for rollover or will it automatically rollover so I do not need to do anything?

Thanks,

Pete
 

Similar Topics

Hi guys, I'm currently working with a siemens PLC 314C-2DP and am using the fast counter input(channel 2) with an incremental encoder...
Replies
6
Views
5,139
Hey all. I have a few FC blocks that run well on the Siemens PLC[314C-2DP], but as soon as I add the OB33 [500ms interrupt] interrupt with a...
Replies
3
Views
3,293
Adding ethernet equipment to an existing panel that has none. We have some solid ethernet cables coming from other remote cabinets that I plan to...
Replies
3
Views
72
I'm trying to control a device via MODBUS RTU and the ModbusRtuMasterV2_PcCOM in Twincat 3. I've configured a device with the right com port and...
Replies
7
Views
183
Hi, I'm trying to use the IO Device Library (Product Versions) which is configured to work with the 1756-EN4TR & 1756-EN2TR but my system uses...
Replies
0
Views
50
Back
Top Bottom