Continue
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Schneider Electric
Community
Community
Notifications
close
  • Categories
  • My Subscriptions
  • Forums
  • Knowledge Center
  • Blogs
  • Ideas
  • Events
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register

Contact Support

Close

Ask our Experts

Have a question related to our products, solutions or services? Get quick support on community Forums

Email Us

For Community platform-related support, please email us

New Community Ranking System
Our Community ranking system has recently been updated. You may notice changes in user rankings and receive system messages or notifications. If you have questions about how the new ranking works, please refer to the announcement post for more details (click here).

Change Point Type From Current to Votage

EcoStruxure SEAL Forum

This forum is for engineers working EcoStruxure Building Operation, wanting to leverage the SEAL application to improve the efficiency in the engineering process.

Search in

Improve your search experience:

  • Exact phrase → Use quotes " " (e.g., "error 404")
  • Wildcard → Use * for partial words (e.g., build*, *tion)
  • AND / OR → Combine keywords (e.g., login AND error, login OR sign‑in)
  • Keep it short → Use 2–3 relevant words , not full sentences
  • Filters → Narrow results by section (Knowledge Base, Users, Products)
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
  • EcoStruxure Building
  • EcoStruxure SEAL Forum
  • Change Point Type From Current to Votage
Options
  • 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
Benji
Benji Champion
63
StefanLundin
StefanLundin Champion
57
Jim.T
Jim.T Troubleshooter
5
View All

Recommended Forums

  • Intelligent Devices Forum

  • SmartConnector Forum

  • Metering & Power Quality

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Solved Go to Solution
Back to EcoStruxure SEAL Forum
Start a Topic
Solved
arlena
arlena
Troubleshooter

Posted: ‎2025-07-25 08:50 AM

0 Likes
11
2750
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • 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: ‎2025-07-25 08:50 AM

Change Point Type From Current to Votage

It is very cumbersome to change point types from voltage to current or from current to voltage.

Given that Prometheus has the bizarre tendency to create all non temperature Analog Inputs as current and all Analog outputs as voltage, it would be handy to change that in Seal.

Labels
  • Labels:
  • SEAL
  • 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
Adam_Tri-M
Adam_Tri-M
Champion

Posted: ‎2025-10-20 08:37 AM

In response to StefanLundin
3 Likes
1
2391
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • 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: ‎2025-10-20 08:37 AM

Ah ha!!! Thank you @StefanLundin & @Benji !!!!!!

 

I was trying to use IAdvanced.SetUnit not the correct IAdvanced.ConfigureUnit

 

See attached 0.1.4 version which now restores units. This also will update the electrical range to 0-5V or 4-20mA.

 

 

See Answer In Context

Attachments
Change IO type-0.1.4.zip
Reply

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

Replies 11
Benji
Benji Champion
Champion

Posted: ‎2025-08-05 05:35 AM

0 Likes
7
2689
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • 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: ‎2025-08-05 05:35 AM

This would definitely be possible to achieve with a SEAL Script.

Reply

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

arlena
arlena
Troubleshooter

Posted: ‎2025-08-06 06:05 AM

In response to Benji
0 Likes
6
2683
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • 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: ‎2025-08-06 06:05 AM

Would I be able to twist your arm into tackling such an endeavor?😀

Reply

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

Benji
Benji Champion
Champion

Posted: ‎2025-08-07 01:32 AM

In response to arlena
0 Likes
0
2677
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • 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: ‎2025-08-07 01:32 AM

As you're actually changing the object type, the operation (under the hood) includes deleting the object, creating the new object, setting the properties and restoring the bindings... so not that simple, but of course doable.

 

@APA have you come across this before?

Reply

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

Benji
Benji Champion
Champion

Posted: ‎2025-08-07 03:05 AM

In response to arlena
0 Likes
4
2676
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • 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: ‎2025-08-07 03:05 AM

@arlena this is a simple test using a lot of code from other scripts mainly from @APA - should give you an idea.

Attachments
Change IO type-0.0.1.zip
Reply

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

Adam_Tri-M
Adam_Tri-M
Champion

Posted: ‎2025-10-19 02:15 PM

In response to Benji
1 Like
3
2483
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • 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: ‎2025-10-19 02:15 PM

I took this script and updated it a bit! Made it such that you can select to convert to either Voltage/Current/Temperature for either IO Modules or for MP/RP Controllers.

Two issues I haven't fixed yet:

1) The scaling isn't auto-updated, so that has to be manually done.

2) I cannot for the life of me figure out how to grab the unit of the value and then set it back to that. This tool just sets it to Volts/mA/°C.

I've tried the "await sdkClient.IAdvanced.GetUnit( {propertyPath: path2 + "/Value"} );" and "await sdkClient.IConfigureProperty.SetUnit({propertyPath : path2,   unit : desiredUnit})". 

but neither works. Unsure for setting how it would even be encoded - just typing it out nor using the code from an XML export worked.
@Benji any idea on this one?
 
Eventually I would like to be able to do multiple inputs at once, I'll work on that after I figure out the units!
Attachments
Change IO type-0.1.2.zip
Reply

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

Benji
Benji Champion
Champion

Posted: ‎2025-10-19 11:57 PM

In response to Adam_Tri-M
0 Likes
0
2455
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • 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: ‎2025-10-19 11:57 PM

@Adam_Tri-M IAdvanced.GetUnit() is the right method, but units are a bit... special in EBO.

 

A unit is not a text, but an object like this:

var millimeterUnit = PrefixedUnit.Create(SIUnitPrefix.Milli, Unit.Length_m);

 

I'll check the script, but maybe @APA , @JohnnyCarlsen or @Jim.T have an idea

Attachments
Reply

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

Benji
Benji Champion
Champion

Posted: ‎2025-10-20 12:30 AM

In response to Adam_Tri-M
0 Likes
1
2452
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • 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: ‎2025-10-20 12:30 AM

I got the prefix and unit out like this:

  const { returnValue: unitResult, status } = await sdkClient.IAdvanced.GetUnit({propertyPath: originalObject.fullPath + "/Value"});
  sealScript.log("Getting Unit");
  sealScript.log(unitResult.prefix + ' ' + unitResult.unit);
Reply

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

Adam_Tri-M
Adam_Tri-M
Champion

Posted: ‎2025-10-20 05:51 AM

In response to Benji
0 Likes
0
2417
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • 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: ‎2025-10-20 05:51 AM

Getting there! I know get the unit.

Still can't figure out the creation/setting the unit.

No matter what i try, the "PrefixedUnit.Create..." command just returns [object Object]. 

async function setUnitOnValue(path2,origUnitprefix,origUnit) {
    const desiredUnit = PrefixedUnit.Create({SIUnitPrefix: "None", Unit: "Temperature_F"});
    sealScript.log(`${desiredUnit}`)
    const unitSettoValueResult = await sdkClient.IConfigureProperty.SetUnit({
        propertyPath : path2,
        unit : desiredUnit
    })
    if(unitSettoValueResult.failed){
        sealScript.alert(`Could not set unit on Value`);
    } else {
        sealScript.alert(`Unit Set Successfully`);
    }
}

Tried passing the units I got from the original object, but that didn't work either. Guessing I don't have the PrefixedUnit.Create formatted correctly.

Adam_TriM_0-1760964544180.png

 

Reply

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

StefanLundin
StefanLundin Champion
Champion

Posted: ‎2025-10-20 08:06 AM . Last Modified: ‎2025-10-20 08:25 AM

0 Likes
2
2395
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • 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: ‎2025-10-20 08:06 AM . Last Modified: ‎2025-10-20 08:25 AM

Hi @Adam_Tri-M 

 

If you're still stuck on creating or setting the unit, it might be worth checking out our DemoScripts pack. It's a collection of example scripts designed to support script developers with various tasks in SEAL Script. One of the demos is Demo-Write Value with Unit, which could be relevant for your use case.

The DemoScripts aim to provide useful guidance on how to approach different scripting scenarios, and might help point you in the right direction for specific tasks.

You can download the full set from this post:


https://community.se.com/t5/EcoStruxure-SEAL-Forum/SEAL-Script-Editor-release-1-15/td-p/511553

As defined in the Demo Script the correct call would be : PrefixedUnit.Create("None", "Temperature_F");

The PrefixedUnit.Create function expects either:

  • Two string arguments: unitPrefix and unit, like PrefixedUnit.Create("Kilo", "Power_W")
  • Or just one string argument if no prefix is needed: PrefixedUnit.Create("Power_W")
Reply

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

Adam_Tri-M
Adam_Tri-M
Champion

Posted: ‎2025-10-20 08:37 AM

In response to StefanLundin
3 Likes
1
2391
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • 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: ‎2025-10-20 08:37 AM

Ah ha!!! Thank you @StefanLundin & @Benji !!!!!!

 

I was trying to use IAdvanced.SetUnit not the correct IAdvanced.ConfigureUnit

 

See attached 0.1.4 version which now restores units. This also will update the electrical range to 0-5V or 4-20mA.

 

 

Attachments
Change IO type-0.1.4.zip
Reply

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

Benji
Benji Champion
Champion

Posted: ‎2025-10-20 01:30 PM

In response to Adam_Tri-M
0 Likes
0
2373
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • 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: ‎2025-10-20 01:30 PM

Nice! Thanks a ton for sharing this with the Community!

Reply

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

Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

 

You’ve reached the end of your document

WHAT’S NEXT?

Ask our Experts

Didn't find what you are looking for? Ask our experts!

My Dashboard

Check out the new Feeds and activities that are relevant to you.

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

    Ask our Experts

    Have a question related to our products, solutions or services? Get quick support on community Forums

    Email Us

    For Community platform-related support, please email us

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 © 2026 Schneider Electric

Welcome!

Welcome to your new personalized space.

of

Explore