no communication established

bloodredsoul

Member
Join Date
Apr 2013
Location
singapore
Posts
15
i tried a few readline functions for C++/CLI on my computer and none of them are working, below is a example of my code
if(this->serialPort1->IsOpen){
this->textBox2->Text=String::Empty;
try{
this->textBox2->Text=this->serialPort1->ReadLine();

}
catch(TimeoutException^){
this->textBox2->Text="Timed out Exception";
}

}
else
this->textBox2->Text="Port isn't Opened";

}
could anyone point out to me what is wrong with my program? i can't seem to get any data back from my PLC
if possible i would like a code on how to do it
if it changes anything my PLC is a Panasonic PLC
 

Similar Topics

I have Woodward Controller EASYGEN-3500XT and Phoenixcontact make IO CAN-CUPLER part no: 2702230, Analog Input card: 2861412, Analog Output Card ...
Replies
0
Views
27
Hello Everyone, I have a issue with communication between two different PLCs. So here is the facts, The Master PLC is Guard Logix 5069 with IP...
Replies
4
Views
87
i have two plc 1. s7-1212dc/dc/dc ip; 192.168.0.1 2. s7-1500 1513-1pn ip; 192.168.3.2 i need to get data from plc1 to plc2. any idea how to do...
Replies
5
Views
112
I have created a project in TIA Portal v16 Upd6 with S7-1200 (6ES7214-1AG40-0XB0) and WinCC Unified (PC station). The communication between the...
Replies
4
Views
145
Hello We have installed several G.E. Fanuc 90 70 PLC Everything was ok but suddenly we can not communicate anymore with any PLC with the software...
Replies
0
Views
70
Back
Top Bottom