Putting a Preset Value into a Logic Counter in RemoteConnect
When using the CTU (Count Up) function, a user may want the ability to start counting from a pre-determined value instead of having the counter start from zero.
This may occur if the logic restarts and the counter goes back to zero but RemoteConnect does have another function block CTU_Retained that counts upward from zero and sets an output ON when the counter reaches a specified limit. This DFB operates similarly to the CTU function block except the counter value is retained over program initialization provided there is a T_SPx70_UDINT object variable connected to the CV_Retained input/output pins.
Alternatively, there may be other reasons that a user would want to manually adjust the value in a logic counter. The DFB CTUD has separate triggers for either upwards or downwards counting which would be suitable for keeping track of a stack size that can go up and down over time.
The user could use the UpTrigger boolean input to increment the counter like a normal CTU function block. They may or may not even be interested in using the DownTrigger input.
The input PresetValue would be the new desired value that the user wishes to force the counter to and the boolean input Load would be used to trigger when to have the CountValue jump to the PresetValue .
게시 대상: 슈나이더 일렉트릭 Korea
도움이 필요하신가요?
제품 선택기
애플리케이션에 적합한 제품과 액세서리를 빠르고 쉽게 찾을 수 있습니다.
견적 받기
영업 관련하여 온라인으로 문의하시면 전문가가 연락드립니다.
구매처
해당 지역의 가장 가까운 슈나이더 일렉트릭 대리점을 쉽게 찾을 수 있습니다.
지원 센터
한 곳에서 모든 요구 사항에 대한 지원 리소스를 찾아보십시오.