Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

COM port handling using Citect SCADA

Status
Not open for further replies.

AliBahar

Member level 2
Joined
Feb 4, 2015
Messages
42
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Activity points
337
two computers communicate with each other using DNP3 protocol based on rs232. the PC#1 acts as master and it handles data communications with citect scada. PC#2 acts as slave and it performs data communication and analysis using C++ console which is created by visual studio.
problem:I want to do opening and closing COM port of PC#1 (independent from reading&writing) using citect scada software. but I don't know how it can be done?
 

problem:I want to do opening and closing COM port of PC#1 (independent from reading&writing) using citect scada software.
What do you exactly want to achieve? The Scada software will open the COM port when initializing the communication. It must be free at that time and can't be used by another application as long as it's used by the scada software.
 

The Scada software will open the COM port when initializing the communication. It must be free at that time and can't be used by another application as long as it's used by the scada software.
I know that. but in DNP3 protocol the master must be able to handle link and it is not limited to data read and data write. for example suppose that slave wants to send response of previous master's req but it is not permitted because master makes the link inaccessible for slave. how it can be implemented?
I think that we never need opening port without data communicating but sometimes we need closing port arbitrarily. is n't it?
 
Last edited:

Either all actions related to the COM port are implemented in a single application, or you need to implement a driver layer that is accessed by multiple applications using the port.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top