Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

We Value Your Feedback!
Could you please spare a few minutes to share your thoughts on Cloud Connected vs On-Premise Services. Your feedback can help us shape the future of services.
Learn more about the survey or Click here to Launch the survey
Schneider Electric Services Innovation Team!

How to count input activations.

Building Automation Knowledge Base

Schneider Electric Building Automation Knowledge Base is a self-service resource to answer all your questions about EcoStruxure Building suite, Andover Continuum, Satchwell, TAC…

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • Knowledge Center
  • Building Automation Knowledge Base
  • How to count input activations.
Options
  • Bookmark
  • Subscribe
  • Email to a Friend
  • Printer Friendly Page
  • Report Inappropriate Content
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close

Related Forums

  • Intelligent Devices Forum

Previous Next
Contributors
  • Product_Support
    Product_Support
  • CraigEl
    CraigEl
  • AdamSteele
    AdamSteele

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Back to Building Automation Knowledge Base
Options
  • Bookmark
  • Subscribe
  • Email to a Friend
  • Printer Friendly Page
  • Report Inappropriate Content
0 Likes
2532 Views

Link copied. Please paste this link to share this article on your social media post.

Trying to translate this page to your language?
Select your language from the translate dropdown in the upper right. arrow
Translate to: English
  • (Français) French
  • (Deutsche) German
  • (Italiano) Italian
  • (Português) Portuguese
  • (Русский) Russian
  • (Español) Spanish

How to count input activations.

Picard Product_Support
‎2018-09-10 09:28 AM

Last Updated: Guinan RobertAndriolo Guinan ‎2022-08-18 06:38 PM

Issue

Require details on how to setup a counter to count input activations and trigger an alarm after a certain number has been reached.

Product Line

EcoStruxure Security Expert

Environment

Security Expert

Cause

Unsure how to program a counter and require an example.

Resolution

Need to create:

  • 2x Data Value (Data Up, Data Compare)
  • 2x Variable (Up Count, Compare)
  • 3x Programmable Function (Door Up Count, Value Compare, Reset Alarm)
  • 2x Output (vAlarm OP, vReset OP)

 

Instructions:

Virtual Outputs

  1. Under Programming | Outputs create two (2) new outputs. One will be the alarm trigger, the other the alarm and counter reset.
    SX_Counter_vOPs.jpg
  2. Save changes.

 

Data Value

  1. Under Automation | Data Values create two Data Values to store the appropriate data in the system.
  2. Set the Preset Value for Data Up to 0, and for Data Compare to the number of activations you want to trigger an alarm at. In the example, this is 2.SX_Counter_DataValues.jpg
  3. Save changes.

 

Variable

  1. Under Automation | Variables create two Variables to count in the correct scale for each Data Value.
  2. Up Count: Set the Scale to 1, MaximumValue to the top end of your counting scale and the Data Value to the Data Up Data Value created earlier.SX_Counter_Variable_UpCount.jpg
  3. Save changes.
  4. Compare: Set the Scale to 1, MaximumValue to the top end of your counting scale and the Data Value to the Data Compare Data Value.SX_Counter_Variable_Compare.jpg
  5. Save changes.

 

Programmable Functions

  1. Under Automation | Programmable Functions create three new Programmable Functions. Door Up Count to increment the counter register, Value Compare to compare the current register against the setpoint, and ResetAlarm to reset the alarm output
  2. Door Up Count: Set Type to Register Counter and Mode to NormalSX_Counter_ProgFunc_DoorUpCount1.jpg
  3. On the Register Counter tab set Input to Count to the physical input you want to count, Counter Register to Data Up, tick Increment on Input Open, tick Log Counter events, and set Reset Output to vReset OP.SX_Counter_ProgFunc_DoorUpCount2.jpg
  4. Save changes.
  5. Right-click the new Programmable Function just created and select "Start".
  6. Value Compare: Set Type to Value Compare, Mode to Normal.SX_Counter_ProgFunc_ValueCompare1.jpg
  7. On the Value Compare tab set Activate Output When Above Setpoint to vAlarm OP,  Analog Input Data Variable Register to Data Up and Set Point Data Value to Data Compare.SX_Counter_ProgFunc_ValueCompare2.jpg
  8. Save changes.
  9. Right-click the new Programmable Function just created and select "Start".
  10. Reset Alarm: Set Type to Logic Control and Mode to Normal.SX_Counter_ProgFunc_ResetAlarm1.jpg
  11. On the Logic Control tab set Logic Function Mode to 3 - Inverted Follow Pulse On First Output, First Output To Check to vReset OP and Output To Control to vAlarmOP.SX_Counter_ProgFunc_ResetAlarm2.jpg
  12. Save changes.
  13. Right-click the new Programmable Function just created and select "Start".

 

Test the Functions:

  1. Create a Floor Plan with Compare, Up Count, vAlarm OP and vReset OP added so this can be monitored in real-time.SX_Counter_FloorPlan.jpg
  2. Pulse the monitored Input and confirm Up Count increments.
  3. When it gets to the set point value confirm vAlarm OP goes on to trigger an alarm.
  4. When vReset OP is enabled confirm the Up Count is reset to 0 and vAlarm OP is disabled.
Labels (1)
Labels:
  • EcoStruxure Security Expert
Tags (2)
  • Find more articles tagged with:
  • 19674
  • AdamSteele22
Was this article helpful? Yes No
0% helpful (0/1)

Link copied. Please paste this link to share this article on your social media post.

To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of