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

Vijeo Citect problem with Long data type

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
  • Vijeo Citect problem with Long data 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
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
Back to Industry Automation and Control Forum
OsamaSalih
Lieutenant JG OsamaSalih
Lieutenant JG

Posted: ‎2020-01-14 06:14 AM . Last Modified: ‎2020-01-14 06:20 AM

0 Likes
6
7198
  • 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-01-14 06:14 AM . Last Modified: ‎2020-01-14 06:20 AM

Vijeo Citect problem with Long data type

Hi everyone

I am working in a Vijeo Citect  v2015 application where I have LONG and ULONG data types variables, when mapped in graphic numiric representation these variables go crazy and show high value numbers instead of small correct value, I tried alteringlongdatatype parameter to all possible values, but still cant get the right values

 

I can use some advice

Regards

  • Osama
Labels
  • Labels:
  • Smart Design & Engineering
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
RoozeeR
Lt. Commander RoozeeR Lt. Commander
Lt. Commander

Posted: ‎2020-01-14 07:54 AM

1 Like
5
7192
  • 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-01-14 07:54 AM

Hello Osama,

 

This depends on the protocol used.In case of the MODNET protocol driver the Citect Help shows:

 

In the MODNET protocol, LONG data types default to a simplified implementation, with a shortened range of 0 to 99,999,999 for mode 0.

0 - implies 10,000 * low register + high register

Mode 2 has the same range as mode 0, but with the register order swapped.

1 - implies 65,536 * low register + high register

Mode 1 supports the complete LONG range of -2,147,483,648 to +2,147,483,647. Mode 3 has the same range as mode 1, but with the register order swapped.

2 - implies 10,000 * high register + low register

When using the MODBUS protocol, Citect SCADA combines two registers to store a long data type in a PLC. The way in which it does this is defined by this parameter.

3 - implies 65,536 * high register + low register

 

Note: This parameter is not applicable if you are using the protocol variant MODNET20 or MODNET30 to communicate with a device. Under these circumstances, a value of 3 will be hardcoded for this parameter.

With this parameter, you can set different values for specific I/O devices or groups of I/O devices. See Device/group-specific parameters.

Default is 3

 

br

Rene

 

R.Roozee
Sr Solution Architect (SAE Master)
Reply

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

OsamaSalih
Lieutenant JG OsamaSalih
Lieutenant JG

Posted: ‎2020-01-14 08:21 AM

In response to RoozeeR
1 Like
4
7188
  • 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-01-14 08:21 AM

Hello Rene

 

Yes I am implementing the basic variant MODNET, and I already tried all these parameters for longdatatype set to 0,1,2 and 3 , I can read from the device with Modscan with no problems, Citect for some reason can not display the values correctly

Reply

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

kingslim
Lt. Commander kingslim Lt. Commander
Lt. Commander

Posted: ‎2020-01-14 04:17 PM

In response to OsamaSalih
2 Likes
3
7178
  • 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-01-14 04:17 PM

Well.. ..  if you already tried all possible LongDataType and the data is still showing up crazy.. . .  i can only think of a possible address shift..  Eg... if you are polling tag address 40001, try setting that to 40000 or 40002. See what happens. 

Reply

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

OsamaSalih
Lieutenant JG OsamaSalih
Lieutenant JG

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

In response to kingslim
0 Likes
2
7168
  • 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-01-15 03:06 AM

Hi Kingslim

 

I am sure that I am reading the meant registers

, this is really confusing

thanx for response

Reply

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

Richard
Lt. Commander Richard Lt. Commander
Lt. Commander

Posted: ‎2020-01-16 08:20 AM

In response to OsamaSalih
2 Likes
1
7142
  • 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-01-16 08:20 AM

It would still be worth trying to read what you think are the 'wrong' registers.

You wouldn't be the first person to be caught out by the Modbus address shift.

Reply

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

pradiptasetio
Ensign pradiptasetio
Ensign

Posted: ‎2020-01-16 07:10 PM

In response to Richard
2 Likes
0
7133
  • 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-01-16 07:10 PM

Some modbus devices use 1-based addressing, others use 0-based addressing. When master and slave have different address base, the "shift" occurs. The fastest way to identify this issue is indeed by trial and error, since not all manufacturer state this in the modbus device manual.

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