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.

---------->>>>>Get FREE PLC Programming Tips

New Here? Please read this important info!!!


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

PLC training tools sale

Reply
 
Thread Tools Display Modes
Old August 30th, 2014, 04:58 PM   #1
pauly
Member
Wales

pauly is offline
 
pauly's Avatar
 
Join Date: May 2002
Location: South Wales,U.k
Posts: 234
s7 1200 multiple mb client blocks

I am looking for some assistance with Modbus tcp/ip to read and write data to a third party plc. I can read data with one mb client instruction but when I add a second mb client instruction to write data, comms stops with the read instruction staying at busy and no data can be read. Every example I see describes modbus tcp/ip connections between 2 s7 1200 controllers. This makes sense because the two client instructions for read and write have equivalent server instructions with different ip port numbers. If I have 2 client blocks which I want to use 1 to read and 1 to write data to the same I.p address, how can I assign different ip ports? This is a connection to a third *party plc.Any help would be great.
__________________
Pauly
  Reply With Quote
Old August 31st, 2014, 02:11 AM   #2
adfox
Member
Poland

adfox is offline
 
adfox's Avatar
 
Join Date: Jun 2006
Location: Poland
Posts: 306
Each MB Client requires separate Connection ID.
You Can always sequence MB Client calls to save Conn ID .
__________________
Regards
I'm still learning. If I'm wrong, please correct me.
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum

Bookmarks


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
Siemens S7 1200 binary output project Lamboom LIVE PLC Questions And Answers 28 August 26th, 2014 03:48 PM
S7 400 vs S7 1200 rj061991 LIVE PLC Questions And Answers 1 May 26th, 2014 02:11 AM
S7 1200 p.i.d. johnmck66 LIVE PLC Questions And Answers 6 June 1st, 2011 11:40 PM
creating function blocks siemans s7 darren.s LIVE PLC Questions And Answers 8 May 2nd, 2005 01:39 PM
Converting PID Blocks from TI505 to S7 fahadzaman LIVE PLC Questions And Answers 0 April 17th, 2005 04:13 AM


All times are GMT -5. The time now is 10:32 AM.


.