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

Citect scada 2018 Word type

AVEVA Plant SCADA Forum

A support forum for AVEVA Plant SCADA (formerly Citect SCADA). Share new and exciting product information, connect, learn, and collaborate with the ecosystem of Plant SCADA Users. AVEVA Plant SCADA a reliable, flexible and high-performance Supervisory Control and Data Acquisition software solution for industrial process customers. This forum is to connect, share, learn and collaborate new and exciting product information. Feel free to join and share to your Ecosystem of Plant SCADA Users.

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
  • AVEVA Plant SCADA Forum
  • Citect scada 2018 Word type
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
olivier_vallee
Lt. Commander olivier_vallee
28
Oncom
Commander Oncom
6
BevanWeiss
Spock BevanWeiss
2
RoozeeR
Lt. Commander RoozeeR Lt. Commander
2
View All

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Back to AVEVA Plant SCADA Forum
Anonymous user
Not applicable

Posted: ‎2020-05-09 07:21 PM

0 Likes
6
6248
  • 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: ‎2020-05-09 07:21 PM

Citect scada 2018 Word type

Hi, i am connecting my M580 to my Citect scada 2018 and i wanna pass along a word type and don't seem to find it in citect scada so i am wondering if i chose Real type will it pass the exact value or change it somehow.. i can't check with the simulations that is why i need to know since i am still early on in the project.

 

Thank you.

Labels
  • Labels:
  • SCADA
Reply

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

  • All forum topics
  • Previous Topic
  • Next Topic
Replies 6
Eric_Coudurier
Lt. Commander Eric_Coudurier Lt. Commander
Lt. Commander

Posted: ‎2020-05-13 09:20 AM

1 Like
0
6204
  • 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: ‎2020-05-13 09:20 AM

WORD type doesn't exist as Type of Tags in Citect SCada. Depending what you want to do with the variable read from the M580, you can choose any 16 bits type ( 2 bytes long). see the table here after:2020-05-13_18-13-00.png

Reply

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

RichardJavangwe
RichardJavangwe Cadet
Cadet

Posted: ‎2020-06-24 01:03 AM

0 Likes
4
6116
  • 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: ‎2020-06-24 01:03 AM

Hello @Anonymous user 

 

If you are certain that your  WORD value will not exceed 32,767 then in your M580 code use the WORD_TO_INT function then send the resulting INT to Citect. You can also use WORD_TO_REAL or WORD_TO_UINT, all depends on the limits of the value you are reading and you can select the appropriate data type in Citect that caters for it.

All generalizations are false
  • Tags:
  • citect
  • english
Reply

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

Eric_Coudurier
Lt. Commander Eric_Coudurier Lt. Commander
Lt. Commander

Posted: ‎2020-06-24 01:51 AM

In response to RichardJavangwe
1 Like
3
6107
  • 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: ‎2020-06-24 01:51 AM

Hi,

There is no need to change the type in Control Expert, you can let the WORD type. In Citect define a type with UINT and the address on the Control Expert variable type WORD and that's it. 
Normally when you use a WORD format in Control Expert, it is to use Bits inside.
They can be extracted in Citect with the BITAND function. If you need to read the bit 4 of a tag named MyTag (type UINT, mapped on a Control Expert variable type WORD), the function will be MyTag BITAND 0x0010. It can be used for animation, alarms or to set a DIGITAL Tag variable (Address will be MyTag BITAND 0x0010)

 

  • Tags:
  • english
Reply

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

Anonymous user
Not applicable

Posted: ‎2021-05-13 12:04 PM

In response to Eric_Coudurier
0 Likes
0
5039
  • 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-05-13 12:04 PM

Hi, thanks for they info.... And how can i write no 1 bit? Like bit 4 for MyTag (UInt/int)

  • Tags:
  • english
Reply

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

Anonymous user
Not applicable

Posted: ‎2021-05-13 12:09 PM

In response to Eric_Coudurier
0 Likes
1
5037
  • 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-05-13 12:09 PM

Hi, thanks for the info.... And how can i write on 1 bit? Like bit 4 for MyTag (UInt/int)

  • Tags:
  • english
Reply

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

trowe
Ensign trowe
Ensign

Posted: ‎2021-05-13 06:31 PM

In response to Anonymous user
1 Like
0
5012
  • 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-05-13 06:31 PM

Xavhii,

 

Basically you need to to BITAND/BITOR instructions to set/reset the bit of a word

 

I usually use a Cicode function that I pass the Tag value, the bit number and the state I want to change the bit to

 

 

INT FUNCTION LEB_writebit(INT iOldVal, INT iBit, INT bVal)

    INT iNewVal;

    IF bVal = 1 THEN
        iNewVal = iOldVal BITOR Pow(2,iBit);
    ELSE
        iNewVal = iOldVal BITAND ( 0xFFFF BITXOR Pow(2,iBit));
    END!IF

    RETURN iNewVal;


END

 

 

 

 

Then, on a button or whatever, if I want to set bit 4 of Tag "Tag1"  I would use

 

Tag1 = LEB_writebit(Tag1, 4, 1)

 

  • Tags:
  • english
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

 
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