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

Join our "Ask Me About" community webinar on May 20th at 9 AM CET and 5 PM CET to explore cybersecurity and monitoring for Data Center and edge IT. Learn about market trends, cutting-edge technologies, and best practices from industry experts.
Register and secure your Critical IT infrastructure

NEW BLOCK IN ISAGRAF3.35

Industry Automation and Control Forum

This forum is addressing industrial automation design & engineering, operations, asset performance, cyber security and digital transformation for Plants & Machines.

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
  • Industrial Automation
  • Industry Automation and Control Forum
  • NEW BLOCK IN ISAGRAF3.35
Options
  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
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
Top Experts
User Count
Bastian_Schmitz
Admiral Bastian_Schmitz Admiral
31
LeTomas
Lt. Commander LeTomas Lt. Commander
11
RoozeeR
Lt. Commander RoozeeR Lt. Commander
6
JerryBartlemay
Lieutenant JG JerryBartlemay Lieutenant JG
6
View All

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Solved Go to Solution
Back to Industry Automation and Control Forum
Solved
tharun
Lieutenant tharun
Lieutenant

Posted: ‎2021-10-22 03:12 AM

0 Likes
3
1160
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

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

Posted: ‎2021-10-22 03:12 AM

NEW BLOCK IN ISAGRAF3.35

Hi everyone,

Do anyone know about  the source code of a selector block in isagraf 3.35.The inbuilt selector block has integer as a input, but i want the input to be real, so I'm customizing a new block, but not sure how to write the source code .Can you guys help me out?

Labels
  • Labels:
  • Smart Operations
  • Training
  • Tags:
  • english
Reply

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

  • All forum topics
  • Previous Topic
  • Next Topic

Accepted Solutions
BevanWeiss
Spock BevanWeiss
Spock

Posted: ‎2021-10-25 09:23 PM

In response to tharun
0 Likes
0
1120
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

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

Posted: ‎2021-10-25 09:23 PM

The image you've attached shows the sel block to take 3 (THREE) inputs.

One Boolean (sel)

Two Integers (in1 and in2)

 

In called the two inputs as Input0 and Input1, which I think aligns better to the 'sel' input values... but you can call them what you want.

 

The output could be called output (as I did) or Q if you'd like (I generally consider Q to be a Boolean output..)

 

You shouldn't go down the path of C, it's too tricky for a function block in ISaGRAF.  Stick with FBD or ST (which are both IEC61131-3 languages available in ISaGRAF).


Lead Control Systems Engineer for Alliance Automation (VIC).
All opinions are my own and do not represent the opinions or policies of my employer, or of my cat..

See Answer In Context

Reply

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

Replies 3
BevanWeiss
Spock BevanWeiss
Spock

Posted: ‎2021-10-24 12:02 PM

0 Likes
2
1145
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

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

Posted: ‎2021-10-24 12:02 PM

IF Sel THEN

  Output := Input1;

ELSE

  Output := Input0;

END_IF

 

Or do you mean you want the 'selector' to be a REAL?

I can't imagine what that would mean...


Lead Control Systems Engineer for Alliance Automation (VIC).
All opinions are my own and do not represent the opinions or policies of my employer, or of my cat..
  • Tags:
  • english
Reply

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

tharun
Lieutenant tharun
Lieutenant

Posted: ‎2021-10-24 09:22 PM

In response to BevanWeiss
0 Likes
1
1138
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

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

Posted: ‎2021-10-24 09:22 PM

Hi Bevan,

               Sorry that you didn't understand the previous question. There is an inbuilt selector block in Isagraf which accepts only integer as its input, but i want the same selector block to get an input as a real value, since there is no such inbuilt block, I have to create a new block, so i did create it. But not sure about source code(which can be ladder, FBD, C), Source code means the way that the selector block had to perform the function. I have attached the selector block image for your reference.

 

 

Thanks,

Attachments
  • Tags:
  • english
Reply

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

BevanWeiss
Spock BevanWeiss
Spock

Posted: ‎2021-10-25 09:23 PM

In response to tharun
0 Likes
0
1121
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

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

Posted: ‎2021-10-25 09:23 PM

The image you've attached shows the sel block to take 3 (THREE) inputs.

One Boolean (sel)

Two Integers (in1 and in2)

 

In called the two inputs as Input0 and Input1, which I think aligns better to the 'sel' input values... but you can call them what you want.

 

The output could be called output (as I did) or Q if you'd like (I generally consider Q to be a Boolean output..)

 

You shouldn't go down the path of C, it's too tricky for a function block in ISaGRAF.  Stick with FBD or ST (which are both IEC61131-3 languages available in ISaGRAF).


Lead Control Systems Engineer for Alliance Automation (VIC).
All opinions are my own and do not represent the opinions or policies of my employer, or of my cat..
Reply

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