SFB47, count value reset

SIMATIC S7-200/300/400, Step7, PCS7, CFC, SFC, PDM, PLCSIM,
SCL, Graph, SPS-VISU S5/S7, IBHsoftec, LOGO ...
deividasn
Posts: 16
Joined: Thu Jan 15, 2009 10:09 am
Location: Baltia

SFB47, count value reset

Post by deividasn »

hei, am using SFB 47 with an encoder A/B, i call the SFB47 in the fc1, then fc1 call in the ob1
how to reset COUNTVAL in the sfb47?
i trying reset status comparator with RES_STS but its not works.

plc siemens 314c 2 dp.
krank
Posts: 86
Joined: Tue Aug 21, 2012 1:51 pm
Location: Europe

Re: SFB47, count value reset

Post by krank »

take a look to Siemens web site
https://support.industry.siemens.com/cs ... 0&lc=en-WW

if you have solution psot answer
deividasn
Posts: 16
Joined: Thu Jan 15, 2009 10:09 am
Location: Baltia

Re: SFB47, count value reset

Post by deividasn »

HI can you explane this

Input parameters not interconnected to the block (static local data)

Parameter Data RES_STS
type BOOL
Address 32.2
(instance
DB)
Description Value range Default Reset status bits
Resets the status bits STS_CMP, STS_OFLW,
STS_UFLW, and STS_ZP.
The SFB must be called twice to reset the status bit ??????

thanks