10/15/2010 3:49 PM | |
Joined: 6/29/2010 Last visit: 10/27/2022 Posts: 112 Rating:
|
Hi, I and a college, Pegaia, mount a little sample program that sends ASCII characters to a PC with HyperTerminal from a S7-1200 by TCP communication. Follow there is the project, a picture with the HyperTerminal adjusts and the looks like in this software.AttachmentS7 1200 - HyperTerminal - TCP.zip (48274 Downloads) |
Last edited by: MrPaiva at: 11/12/2012 7:33 PMSugestions by Mr Kaulquappe. Last edited by: MrPaiva at: 9/28/2011 10:08 PMLast edited by: MrPaiva at: 4/6/2016 4:01:02 PM |
|
This contribution was helpful to
10 thankful Users |
8/2/2013 12:45 PM | |
Joined: 4/24/2009 Last visit: 8/20/2024 Posts: 2682 Rating:
|
New questions were splitted to 232 module to hyper terminal communiction between S71200 plc and labview through tcp/ip Best regards O_Moderator |
8/8/2013 4:14 PM | |
Joined: 9/1/2005 Last visit: 3/10/2025 Posts: 4113 Rating:
|
New question published by sapnanavreis split to a seperate thread with the subject S7-1200 HyperTerminal TCP comunications - unnable to connect to plc's ip add with port no 2000. . Best regards CS Moderator |
My Forum is the place to personalize your profile, |
|
1/10/2014 4:00 PM | |
Posts: 4 Rating:
|
Hi to all, I'm sorry for my ignorance... I'm traying to be programmer, but i haven't got great results I must send to a printer the next message with a PLC S7-1200: LAYOUT RUN "c:1.LAY" INPUT OFF FORMAT INPUT "[","]","#" INPUT ON [6572222C#] PF PRINT KEY ON Using Hyperterminal to comunicate directly with the printer warks all good, so i tested the program posted by MrPaiva to simulate the comunication PLC-printer writing to the Hyperterminal of my PC. After some changes I've got a result but not desider at all: with the '$R$L', as said Juan.Mechatronic , I do the new linw correct, but as shows by the image I recive at the beginnig 2 characters that I don't whant. Anyone has any suggestions? Thank Thank you all in advance, Martyn |
Last edited by: MartynE at: 1/10/2014 4:03 PMLast edited by: MartynE at: 1/10/2014 4:03 PM |
|
1/13/2014 10:11 AM | |
Posts: 4 Rating:
|
Hi, yes Kaulquappe, I use data as a string and I didn't know that a string always starts with two bytes length information. As said Juan.Mechatronic, I use a pointer that starts at byte 2 and the problem is resolved. Thanks to both, Martyn |
Last edited by: MartynE at: 1/13/2014 10:13 AM |
|
This contribution was helpful to
3 thankful Users |
Follow us on