Quantcast
Viewing all articles
Browse latest Browse all 66729

Labview 2013 SNPX / SNP GE Fanuc

Hello,

 

Just wondering if anyone can point me in the right direction for establishing a connection between LabView (2013) and GE FANUC PLC CPU 331. The (attempted) connection is made as follows:

PC->RS232 COM1 Port (9-Pin DSub)->HornerElectric SNP to RS232 Converter(9P to 15P)->PS Port 1(15P).

I have tried many different methods of sending the "Attach" message with no success (i.e. .NET serial port constructor, VISA). I referenced the SNP Manual (GFK-0529C) to use the 24B attach message and renamed my test bench PLC SNP ID to "33101A" to match the sample attach message of

(in hex) "1b 52 33 33 31 30 31 41 00 00 30 41 00 00 30 41 30 30 30 20 20 20 17 00 00 00 45 37". I have even gone as far as to install a serial port monitor and capture the packets sent while using the native NI OPC Server for SNP & SNPX protocol. I tried using the attach command sent in that session as well with no success.

 

Additional info:

Baud: 19200

Parity: ODD

Stopbit: 1

ControlFlow: (tried) RTS and none

Databits: 8

 

I have attached one of the proof of concept vis. As a disclaimer, I modified most of the Serial continuous Read and Write and did not pay any attention to the layout or organization.

 


Viewing all articles
Browse latest Browse all 66729

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>