SveinT Posted March 7, 2018 Report Share Posted March 7, 2018 Hello Have some projects with V570 PLC and communicating with IO's on Modbus RTU. The shifting of communication with different Modbus Nodes are done by change of value in an MI using Store Direct function. This works fine on V570, but building the same function in a V700 PLC don't work at all. Are there som bugs in the Store Direct function on V700? The screen dump is from the ladder of V570 that is working fine. Quote Link to comment Share on other sites More sharing options...
MVP 2022 Flex727 Posted March 7, 2018 MVP 2022 Report Share Posted March 7, 2018 Are you 100% sure power flow is passing through the compare block, MB 10, & MB 12? Is your MODBUS block actually writing to the slave? I use the V700 frequently. There is no issue with the Store Direct function that I've seen. Quote Link to comment Share on other sites More sharing options...
SveinT Posted March 7, 2018 Author Report Share Posted March 7, 2018 This is a ladder wich is working fine on V570, and when I made a new program for the V700, I copied this. But it does not work on V700 Quote Link to comment Share on other sites More sharing options...
MVP 2022 Flex727 Posted March 7, 2018 MVP 2022 Report Share Posted March 7, 2018 1 hour ago, Flex727 said: Are you 100% sure power flow is passing through the compare block, MB 10, & MB 12? Is your MODBUS block actually writing to the slave? Those questions were important. A third question: is your ladder in a subroutine? If so, is the subroutine being called in the Main Routine? If the answers are all "yes", then post your .vlp file here for additional help. Quote Link to comment Share on other sites More sharing options...
SveinT Posted March 8, 2018 Author Report Share Posted March 8, 2018 17 hours ago, Flex727 said: Those questions were important. A third question: is your ladder in a subroutine? If so, is the subroutine being called in the Main Routine? If the answers are all "yes", then post your .vlp file here for additional help. It is yes to all, but in my frustration last evening I tried som more variations, and now I have a sequense for the communication that functions. Not so saticfied with it, because I thougt I hade controll if each Modbus block was finished before next Modbus block was trigged. In the smal examples with Modbus RTU thei are using a manual trigg of an Modbus block, and the trigger bit is RSET on the end of the Modbus block. 180307b Vilja V700.vlp Quote Link to comment Share on other sites More sharing options...
MVP 2022 Flex727 Posted March 8, 2018 MVP 2022 Report Share Posted March 8, 2018 Check out the example projects for the recommended way to execute MODBUS commands. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.