S71200 TCP/IP communication with scanner card

hema

Member
Join Date
Jun 2014
Location
Bangalore
Posts
20
Dear Experts,

Warm Greetings !

By using TCON,TSEND,TRCV,TDISCON block,I am trying to make communication with my scanner card.By using scanner card's IP,I connected to it successfully. But problem is,I could n't able to send and receive commands.

Multi line strings are not possible,for each and every single line command i should get response from my card,so that I can send next command.

For some commands,I am getting some response,for next one I am not getting expected one.More over Response are so lengthy and repeated letters are coming.



I guess the commands i am sending are accumulating in buffers,Give me a suggestions to clear it.
 
Hello Everyone,



Just an update:



Issues with communication got solved in my program.Instead of sending string as input data,we tried with characters as input data.Its working fine now.



Thanks!
 

Similar Topics

Hi to all, I am using s71200 plc... I am sending some spec values from my plc to the module1 continuously through TCP communication.... Now...
Replies
2
Views
3,458
Hello; i'm having some troubles with a com test i'm handling. i have another end for it, but for now i would like to have : M241 in io_scanning...
Replies
4
Views
3,484
Hi Folks. Has anyone used an SEW EI7C encoder with an S71200 PLC? If yes, how is it done? I use this same encoder in EI76 mode with a...
Replies
0
Views
260
Hi everyone I am completely new to using shift registers and am a bit stuck, my shift register works as should, it is for an overhead conveyor...
Replies
55
Views
15,596
I got Meinberg as NTP server, and it is in same network as My S71200 PLC. I went (Device configuration -> Ethernet Port ->time synchronization)...
Replies
3
Views
2,705
Back
Top Bottom