![]() ![]() ![]() ![]() ![]() ![]() |
||
![]() |
||
![]() ![]() ![]() ![]() This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc. |
||
![]() |
![]() |
#1 |
Member
![]() ![]() Join Date: Apr 2020
Location: juarez
Posts: 9
|
S7-1500 with a CAB Printer via TCP/IP
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. |
![]() |
![]() |
#2 |
Member
![]() ![]() Join Date: Oct 2005
Location: Brisbane
Posts: 446
|
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. |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Transition from S7 200 to 1500 | shashi616 | LIVE PLC Questions And Answers | 2 | March 24th, 2020 10:19 AM |
OPC Communication with S7 1500 / CPU | haribaburam | LIVE PLC Questions And Answers | 2 | February 6th, 2018 09:08 AM |
1734-232ASC Comms to Printer | Crammed77 | LIVE PLC Questions And Answers | 8 | July 19th, 2016 07:46 PM |
Ethrnet IP, Ethernet TCP/ip, Modbus TCP/ip | Steve_D | LIVE PLC Questions And Answers | 4 | June 23rd, 2016 08:36 PM |
Siemens S7 TCP/IP Protocol | Tischnoetentoet | LIVE PLC Questions And Answers | 13 | February 4th, 2005 02:53 AM |