You are not registered yet. Please click here to register!


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

Reply
 
Thread Tools Display Modes
Old June 21st, 2022, 06:48 PM   #1
cesar22
Member
Mexico

cesar22 is offline
 
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.
  Reply With Quote
Old June 23rd, 2022, 07:01 PM   #2
Geoff White
Member
Australia

Geoff White is offline
 
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.
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Topics
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


All times are GMT -4. The time now is 10:07 AM.


.