CFC CTUD counter problem

Krcedinac

Member
Join Date
Jul 2006
Location
Krca
Posts
163
Hello,

I have problem with CTUD counter (FB15 - CFC Library S300 Elements)...it simply is not working. When I give rising egde on S (SET) input it is not transfering PV (load value) like it should and also it is not reacting on CU and CD commands. Tried everything I konw but without results...



CTUD.JPG
 
I've never used CFC but I'll try a few suggestions, presuming that this reacts like other Siemens languages.

The S/R/CU and CD should all react only to the rising edge of the signals.

The PV, in other languages would be in BCD format, therefore would be something like W#16#120. If you convert 120 decimal to BCD format you get in binary W#2#11110000, which is illegal, it does not convert to BCD, perhaps that is the problem.
 
CTUD1.JPG



PV is integer and of course S,R,CD and CV should detect rising edge but in this case it is not working...
 
Hello to all,

I found the problem. I was using MB 0 as clock memory byte and FB15(CTUD) is using MW0 so that was the reason for malfunction.
 

Similar Topics

Kindly, where can we get a copy of the Siemens CFC v6 software, to be used with FM458 modules. We need to reopen our cfc charts, for motion...
Replies
2
Views
1,155
Hi, Runtime Groups are not the same name as my charts, I made valves, motors etc once in a CFC and then copied with the Process Object View. The...
Replies
0
Views
1,457
I would like to make it clearer which pin is which for CFC elements. The image shows how a SEL block looks in CFC and in ladder. I can't figure...
Replies
4
Views
1,681
We have a Siemens Step7 multiproject, in which we are trying to add to the CFC program, some new Motor blocks and Valve blocks. So, we need to...
Replies
2
Views
1,526
I have a running project that will now be duplicated with some changes. Theres been lots of changes of in and output adresses in symbol table. The...
Replies
0
Views
1,503
Back
Top Bottom