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

Can binding communication status

HVAC and Pumping Forum

Support Forum for HVAC and pumping machines, Modicon M17x and EcoStruxure Machine Expert HVAC software for chillers, AHU, CRAC units for datacenters or process chillers applications - from design, implementation to troubleshooting and more, by Schneider Electric.

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
  • HVAC and Pumping Forum
  • Can binding communication status
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
FedericoM
Commander FedericoM Commander
66
Bastian_Schmitz
Admiral Bastian_Schmitz Admiral
47
LeTomas
Lt. Commander LeTomas Lt. Commander
14
View All
Related Products
product field
Schneider Electric
EcoStruxure™ Machine Expert - HVAC

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Solved Go to Solution
Back to HVAC and Pumping Forum
Solved
otrotabi
Lt. Commander otrotabi
Lt. Commander

Posted: ‎2023-01-17 08:29 AM

0 Likes
2
1037
  • 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: ‎2023-01-17 08:29 AM

Can binding communication status

So, after being able to establish a communication between two PLC´s I can see the information I need exchanged. However if the PLC communication is lost, the value of the variables as reflected on the other PLC is not updated. I guess there must be a very good reason why this works like this.

 

I´ve been told to generate a square wave pulse on each end and verify if this pulse changes on the other end. If you do not see a change after a while then it means communication is lost.

 

So my question is: is there any available FB to check this ? The sysCanopenNodeStatus is only for Master-Slave communication ? What is the easiest way to implement this?

 

canstat.jpg

Labels
  • Labels:
  • HVAC
  • Tags:
  • ecostruxure
  • english
  • hvac
  • TM172
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
FedericoM
Commander FedericoM Commander
Commander

Posted: ‎2023-01-17 09:12 AM

0 Likes
0
1032
  • 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: ‎2023-01-17 09:12 AM

sysCanOpenNodeStatus is related to Can master, when you use binding none of the PLC is configured as master.

My suggestion is to assign to a status variable sysTimer/1000 and assign it via binding to uiSysTimerSec.

 

Try in the PLC which is reading this value something like that:

ToffComOk(in:=uiSysTimerSec_old <> uiSysTimerSec, pt:=ALARMTIMEOUT);

xComAlarm:=NOT(ToffComOk.q);

uiSysTimerSec_old := uiSysTimerSec; 

 

You can do this on each PLC which is reading data.

See Answer In Context

Reply

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

Replies 2
FedericoM
Commander FedericoM Commander
Commander

Posted: ‎2023-01-17 09:12 AM

0 Likes
0
1033
  • 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: ‎2023-01-17 09:12 AM

sysCanOpenNodeStatus is related to Can master, when you use binding none of the PLC is configured as master.

My suggestion is to assign to a status variable sysTimer/1000 and assign it via binding to uiSysTimerSec.

 

Try in the PLC which is reading this value something like that:

ToffComOk(in:=uiSysTimerSec_old <> uiSysTimerSec, pt:=ALARMTIMEOUT);

xComAlarm:=NOT(ToffComOk.q);

uiSysTimerSec_old := uiSysTimerSec; 

 

You can do this on each PLC which is reading data.

Reply

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

otrotabi
Lt. Commander otrotabi
Lt. Commander

Posted: ‎2023-01-18 12:27 PM

1 Like
0
1012
  • 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: ‎2023-01-18 12:27 PM

Thank you. I ended up generating a FB so that I do not need to think this over again in the future. It is not exactly the same (I had to use a TON timer instead of a TOFF) but it is basically the same. Here is the code:

FUNCTION_BLOCK CanCheck
VAR
	TonComOk : TON;
	uiSavedSeconds : UINT;	(* auxiliary variable to store input *)
END_VAR

VAR_INPUT
	uiseconds : UINT := 0;	(* Input in seconds *)
	usialarmtime : USINT;
END_VAR

(***************************************************************************************
Verify can communication
Author: JMT based on Federico Marcassa idea
Date: 17-Jan-2023

Use: 
1) Generate two status variable type UINT. One will be assigned to generate a sync variable that
will be read form the second PLC by binding. The other variable must be the input to this FB 
(read by binding from the second PLC)
2) If the input stays the same for more than the time specified in usiAlarmTime (in seconds)
alarm output will turn ON 
***************************************************************************************)

TonComOk(PT := TO_UDINT(usialarmtime) * 1000);// alarm time in seconds
uiSyncSeconds := TO_UINT(sysTimer / 1000); // Generate sync variable. It adds 1 every second.

IF uiSavedSeconds = uiSeconds THEN	//If the value stays the same communication is lost
	TonComOk(IN:= TRUE);
ELSE //If it changes, communication is ok
	TonComOk(IN:= FALSE);
	uiSavedSeconds := uiSeconds ;
END_IF;		

xComAlarm:=TonComOk.q; //if time elapses we generate a communication alarm

 

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