Sign in to follow this  
Followers 0
AliBahar

com port handling with Citect Scada

4 posts in this topic

two computers communicate with each other using DNP3 protocol based on rs232. the PC#1 acts as master and it handles data transmission/reception with citect scada. PC#2 acts as slave and it performs data communication and analysis using C++ console which is created using visual studio. problem:I want to do opening and closing COM port of PC#1 using citect scada software. but I don't know how it can be done?

Share this post


Link to post
Share on other sites
You can execute external programs using the Cicode command Exec. Maybe you could write a powershell script to open and close the port?

Share this post


Link to post
Share on other sites
Cicode using ComOpen http://webhelp.citect.com/vijeo/AutoMerge/CicodeReferenceWeb/content/ComOpen.html and it is possible that you have not given enough information to get the correct answer Why are you wanting to open and close the port? Edited by michael G

Share this post


Link to post
Share on other sites
because the master must be able to handle link arbitrarily even if it does not want to communicate with slave

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0