Our Brands

Welcome to the Schneider Electric Website

Welcome to our website.
		
How can we help you today?
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.

Image of CTU_Retained DFB from RemoteConnect instructions

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 .

CTUD image from the Logic Editor instruction manual

Schneider Electric Egypt and North East Africa

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.

 Image of CTU_Retained DFB from RemoteConnect instructions 

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 .  

CTUD image from the Logic Editor instruction manual

 

Schneider Electric Egypt and North East Africa

Explore more
Range:
Explore more
Range:
Users group

Discuss this topic with experts

Visit our community and get advice from experts and peers on this topic and more
Users group

Discuss this topic with experts

Visit our community and get advice from experts and peers on this topic and more
Explore more
Range:
Explore more
Range:

Need help?

  • Start here!

    Find answers now. Search for a solution on your own, or connect with one of our experts.

  • Contact Support

    Reach out to our customer care team to receive more information, technical support, assistance with complaints and more.

  • Where to buy?

    Easily find the nearest Schneider Electric distributor in your location.

  • Search FAQs

    Search topic-related frequently asked questions to find answers you need.

  • Contact Sales

    Start your sales inquiry online and an expert will connect with you.

  • Products Documentation
  • Software Downloads
  • Product Selector
  • Product Substitution and Replacement
  • Help and Contact Center
  • Find our Offices
  • Get a Quote
  • Where to buy
  • Careers
  • Company Profile
  • Report a misconduct
  • Accessibility
  • Newsroom
  • Investors
  • EcoStruxure
  • Job Search
  • Blog
  • Privacy Policy
  • Cookie Notice
  • Terms of use
  • Change your cookie settings
Your browser is out of date and has known security issues.

It also may not display all features of this website or other websites.

Please upgrade your browser to access all of the features of this website.

Latest version for Google Chrome, Mozilla Firefox or Microsoft Edgeis recommended for optimal functionality.