S7-1500 with a CAB Printer via TCP/IP

cesar22

Member
Join Date
Apr 2020
Location
juarez
Posts
10
Hello guys,

I'm wondering if any of you had used a tcp connection with a printer & TSEND_C and TRCV_C blocks in TIA Portal. I need some advices to print a custom label with a logo, a barcode and some text.

Thanks in advance.
 
You are not giving much away here. One thing to consider is that you only need to use one of the _C blocks depending on whether you are running a client or a server. To create a client you use TSEND_C to connect to the client and TRCV to service incoming data.
For a server configure TRCV_C to incoming accept connections and TSEND to reply.

For a printer you are connecting to a server so you use a TSEND_C to connect and TRCV to get responses.
 

Similar Topics

Can we use a Simotion D455 ethernet port x127 as a gate, to access S7-1500 plc Tia Portal program ? In the Simatic manager, we used Netpro to do...
Replies
2
Views
80
I have been working on this for a while now and I can't seem to get it. I was finally able to view the 1500 on the PanelView under the serial...
Replies
1
Views
78
Hello, I have a 1764 1500 LSP Series A that keeps failing with DTL_E_FAIL I/O error. Searching around it seems there's a weird issue specifically...
Replies
2
Views
103
Hi all Trying to remotely connect to a TIA Portal PLC. I can ping it without a problem but can't get my software to connect. I've opened port...
Replies
8
Views
324
Been fighting all morning with a stubborn HMI. It just won´t connect with the plc. attaching from settings. Have i missed anything? Both plc and...
Replies
5
Views
296
Back
Top Bottom