plc.myforum.ro Forum Index plc.myforum.ro
PLCs users www.plc.myforum.ro!
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Read more than one float data via Modbus RTU using S7-1200

 
Post new topic   Reply to topic    plc.myforum.ro Forum Index -> Simatic Automation Systems
View previous topic :: View next topic  
Author Message
diode
Junior
Junior


Joined: 21 Jul 2012
Posts: 2

PostPosted: 04/04/2016 12:08    Post subject: Read more than one float data via Modbus RTU using S7-1200 Reply with quote

Dear all

I'm a new in S7 1200. I have

1 x 1214C CPU
2 x CM1241 RS422/485

The fisrt S7-1200 act as Modbus RTU master to read float data from Modbus RTU salve (i'm using Modbus poll to act as slave). In Master block i try to read one float from slave and save to MD50->everything is ok.
Read more than one float data via Modbus RTU using S7-1200 Read more than one float data via Modbus RTU using S7-1200
But when I want to read more float data from a salve and save to DB. I only received 0 value althought i change value from salve
Read more than one float data via Modbus RTU using S7-1200 Read more than one float data via Modbus RTU using S7-1200
Please help me resolve this problem
Best regards!
Back to top
View user's profile Send private message
grig100
Member 3
Member 3
grig100

Joined: 01 Jan 2015
Posts: 752

PostPosted: 04/04/2016 20:24    Post subject: Reply with quote

If is not secret put the project on a link.
You are testing with real PLC or with PLCSIM?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    plc.myforum.ro Forum Index -> Simatic Automation Systems All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Fa-ti si tu propriul forum GRATUIT, pe www.myforum.ro