maverick33
Member
Hoping that some one can help me setting up socket communications between two Q03 CPU's with built in ethernet ports.
I want to communicate between the two CPU's using the built in ethernet port and transfer a few words of data back and forth. I have attempted to set up one of the CPU's as Active with socket comms selected and the other as passive with socket comms selected. I made sure the port numbers matched but when I write the code for with the SP.SOCOPEN command it doesn't seem like the port ever gets opened. I say this because when I monitor the SD comm bits it never indicates that an open request was never issued or completed.
Does anyone have an example of getting this to work correctly that they can share?
Thanks in advance for your help.
I want to communicate between the two CPU's using the built in ethernet port and transfer a few words of data back and forth. I have attempted to set up one of the CPU's as Active with socket comms selected and the other as passive with socket comms selected. I made sure the port numbers matched but when I write the code for with the SP.SOCOPEN command it doesn't seem like the port ever gets opened. I say this because when I monitor the SD comm bits it never indicates that an open request was never issued or completed.
Does anyone have an example of getting this to work correctly that they can share?
Thanks in advance for your help.