Receiving TCP message with 1756ENBT

A

Thread Starter

Anonymous

I need to receive 10 characters from a barcode reader connected to a ControlLogix PLC by a 1756-ENBT module.
The barcode can be the server on port 23 or client in the connection.

How can I choose the communication port on the ENBT module? How can I define if the ENBT is the server or the client?

Thanks to all.
 
The default port is 0xaf13 on Controlgix Ethernet. To exchange data with the PLC, you need to programming the "handshaking" process before actually read/write the barcode data on your server. You need to know the Ethernet/IP protocol and PCCC command format used by AB to do this.
 
G

Gilles Allard

It is not possible.
Port 23 suggests that your barcode reader uses the Telnet
protocol, a standard application protocol. However it is not supported by the ENBT module. The ENBT module only supports HTTP (to display some diagnostics and statistics), ICMP (to enable PING) and Ethernet/IP (a
proprietary protocol). The 1756-EnetB and the 1756-EWEB modules support some more protocols but none supports Telnet.

If your barcode reader offers serial (RS-232) communication, you can connect it to the CPU serial port.

Good luck.
 
Top