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 a slc500 plc 1747-L30A. Using a communication cable 1747-PIC cable box combination. Running a version of software from DOS on a Windows 3.1...
Replies
6
Views
88
Hello All! I am writing today because I cannot figure this out for the life of me. Another site I am affiliated with keeps having their slc 5/03s...
Replies
18
Views
382
Hello, I am currently in the final week of my internship and I have encountered issues with communication between a PowerFlex 700 variable...
Replies
8
Views
229
Hi all. I have a Modbus ProSoft module in my setup with a capability of 30 clients (0-29), which I'm trying to monitor the Ethernet Connection...
Replies
0
Views
44
Hi folks, I have a Controllogix in communication with a zigbee coordinator using Logix AIO for modbus tcp. This zigbee coordinator have 3 slaves...
Replies
10
Views
353
Back
Top Bottom