Internet PLC Forum
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Login
Register
Internet PLC Forum
»
General
»
Technical support
»
SetCtrSV 3, GetCtrSV(3)+1
Poll
Can change SVcounter only 1?
V counter
0 (0%)
Total Members Voted:
0
« previous
next »
Print
Pages: [
1
]
Author
Topic: SetCtrSV 3, GetCtrSV(3)+1 (Read 12034 times)
Michael
Guest
SetCtrSV 3, GetCtrSV(3)+1
«
on:
March 28, 2007, 12:19:55 AM »
I have problem when used CusFc SetCtrSV 3, GetCtrSV(3)+1
to change the Set Value (S.V,) of the Counter, increased by 19.
Can I increase SV counter only 1?
Logged
support
Global Moderator
Hero Member
Posts: 3174
Re:SetCtrSV 3, GetCtrSV(3)+1
«
Reply #1 on:
March 28, 2007, 07:18:01 AM »
Is your custom function a "differentiated up" custom function {dCusF} and not the red {CusFn}. The latter execute many time when the logic condition of the CF is true so it could increase by a large number because it has executed many times. Use the differentiated version to make sure that it is executed only once every time the execution condition is true.
Logged
Email: support@triplc.com
Tel: 1-877-TRI-PLCS
Print
Pages: [
1
]
« previous
next »
Internet PLC Forum
»
General
»
Technical support
»
SetCtrSV 3, GetCtrSV(3)+1