mpaisley90
Member
Trying to send data to a Diagraph printer. I can send data through Port 80
HTTP://192.168.106.9/serial.cgi?idx=0&nme=Remote.prd&fst=1&lst=2&d1=123d2=ABC&net=1
This will set Message Remote and data 1 to 123 and Data 2 to ABC.
But I want to do this by the PLC and upload data and error proof it.
I tried the sockets and was able to open a socket and connect but never got the info to printer. I watched on the EN2T card URL and say write data and size still no change in printer. My question is there a way to just write the HTTP message on an open Socket and not have a connect msg and write message. Still trying to get this. I have been working on serial too but have some hiccup there also. Rather do it though the Ethernet so that I can have one PLC to send data to multiple printers instead of RS232 hardware per printer.
Thanks in advance. First Time posting.
HTTP://192.168.106.9/serial.cgi?idx=0&nme=Remote.prd&fst=1&lst=2&d1=123d2=ABC&net=1
This will set Message Remote and data 1 to 123 and Data 2 to ABC.
But I want to do this by the PLC and upload data and error proof it.
I tried the sockets and was able to open a socket and connect but never got the info to printer. I watched on the EN2T card URL and say write data and size still no change in printer. My question is there a way to just write the HTTP message on an open Socket and not have a connect msg and write message. Still trying to get this. I have been working on serial too but have some hiccup there also. Rather do it though the Ethernet so that I can have one PLC to send data to multiple printers instead of RS232 hardware per printer.
Thanks in advance. First Time posting.