JonathanS Posted January 5, 2023 Report Share Posted January 5, 2023 Hello, I am familiar with Modbus and have used it before from a vision slave PLC to a Unistream Master PLC. However, i now seem to be encountering issues when trying to communicate from one to the other. The Slave PLC is a V570-57-T20B-J with an V200-18-E1B Module and an Ethernet card added in being a V200-19-ET2. The Master PLC is a US5-B10-T24. Is there a special way I need to set up the ethernet card added into the Vision PLC as I have copied program logic used previously on already in built ethernet PLCs to get an Modbus communication error showing on the Unistream PLC, Status 3 on the Unilogic software, meaning there is communication but the commands arent set up correctly. And I cannot seem to figure out what is wrong with the Visilogic program. As seen in the attachments I have the code for visilogic with MI0 Flow Test value linked to the screen to be able to manually change the number to see it on the unilogic program. On the Unilogic program I am reading address 0. All IP addresses and ID numbers etc all are aligned as they should be. Any advice would be greatly appriciated. Link to comment Share on other sites More sharing options...
JonathanS Posted January 5, 2023 Author Report Share Posted January 5, 2023 I have now tested this with a V700-T20BJ with no avail of communication between a vision slave and a unistream master, so I don't know what has happened since I last did this type of communication, but I cannot get it to work at all. I have also tried unistream to unistream which is working seemlessly Link to comment Share on other sites More sharing options...
MVP 2023 Flex727 Posted January 5, 2023 MVP 2023 Report Share Posted January 5, 2023 In rung 2 you are continuously calling the MODBUS Configuration FB. You need to replace SB 142 with SB 2. Link to comment Share on other sites More sharing options...
Shahar Posted January 5, 2023 Report Share Posted January 5, 2023 Hello, how do I do Modbus? I want to run an Omron frequency regulator model mx2. I would appreciate the pictures. I have no idea. Link to comment Share on other sites More sharing options...
MVP 2023 Flex727 Posted January 5, 2023 MVP 2023 Report Share Posted January 5, 2023 24 minutes ago, Shahar said: Hello, how do I do Modbus? I want to run an Omron frequency regulator model mx2. I would appreciate the pictures. I have no idea. Assuming you're using VisiLogic, take a look at the example projects that came with your VisiLogic installation. Link to comment Share on other sites More sharing options...
JonathanS Posted January 5, 2023 Author Report Share Posted January 5, 2023 2 hours ago, Flex727 said: In rung 2 you are continuously calling the MODBUS Configuration FB. You need to replace SB 142 with SB 2. I have tried this fix, and it gives me status 2 on the unistream PLC, that doesnt seem to fix my communication issue. However i have noticed that a couple of times i have tried communicating the IP address is completely wrong as below. The screenshot below is of that with the initial vision program i attached and not the fix you suggested Link to comment Share on other sites More sharing options...
Shahar Posted January 5, 2023 Report Share Posted January 5, 2023 3 hours ago, Flex727 said: Assuming you're using VisiLogic, take a look at the example projects that came with your VisiLogic installation. I have a v570 model controller and I want to operate an Omron model mx2 frequency regulator through Modbus Link to comment Share on other sites More sharing options...
MVP 2023 Joe Tauser Posted January 5, 2023 MVP 2023 Report Share Posted January 5, 2023 4 hours ago, Flex727 said: Assuming you're using VisiLogic, take a look at the example projects that came with your VisiLogic installation. When you install Visilogic, a whole bunch of example programs are also installed. They can be accessed from the main menu under Help->Examples If you want to take a look at the actual directory for the Modbus examples have a look here: If you want more help on your Omron MX2, post a link to the manual describing the Modbus communication for it. Joe T. Link to comment Share on other sites More sharing options...
Shahar Posted January 6, 2023 Report Share Posted January 6, 2023 12 hours ago, Joe Tauser said: When you install Visilogic, a whole bunch of example programs are also installed. They can be accessed from the main menu under Help->Examples If you want to take a look at the actual directory for the Modbus examples have a look here: If you want more help on your Omron MX2, post a link to the manual describing the Modbus communication for it. Joe T. I found a friend, thanks, who asked how I make an emergency circuit with a reset Link to comment Share on other sites More sharing options...
Shahar Posted January 6, 2023 Report Share Posted January 6, 2023 17 hours ago, Flex727 said: Assuming you're using VisiLogic, take a look at the example projects that came with your VisiLogic installation. Question is it only for Unitronics frequency regulator or for all companies like Omron Link to comment Share on other sites More sharing options...
MVP 2023 kratmel Posted January 6, 2023 MVP 2023 Report Share Posted January 6, 2023 3 hours ago, Shahar said: Question is it only for Unitronics frequency regulator or for all companies like Omron Yes this UMI config only for Unitronics VFD. You must program ladder code for operate Omron VFD. Link to comment Share on other sites More sharing options...
Shahar Posted January 6, 2023 Report Share Posted January 6, 2023 6 hours ago, kratmel said: Yes this UMI config only for Unitronics VFD. You must program ladder code for operate Omron Link to comment Share on other sites More sharing options...
Shahar Posted January 6, 2023 Report Share Posted January 6, 2023 How do I build a ladder to operate this regulator through Modbus. https://omron-russia.com/doc/inverter/MX2+UsersManual.pdf Link to comment Share on other sites More sharing options...
Shahar Posted January 6, 2023 Report Share Posted January 6, 2023 7 hours ago, kratmel said: Yes this UMI config only for Unitronics VFD. You must program ladder code for operate Omron VFD. https://omron-russia.com/doc/inverter/MX2+UsersManual.pdf Link to comment Share on other sites More sharing options...
MVP 2023 Joe Tauser Posted January 6, 2023 MVP 2023 Report Share Posted January 6, 2023 1 hour ago, Shahar said: How do I build a ladder to operate this regulator through Modbus. 1. Look at the Modbus examples in the directory above to see how to use Modbus in Visilogic. 2. Determine what you want to do to "operate this regulator". Start? Stop? Control Speed? Ramp Speed? You need to be more specific. 3. Look at the Omron manual starting on page 281 to determine in the internal Modbus addresses you'll need. 4. Try writing the program to achieve what you want. When you run into trouble post your program (.vlp file) here with specific questions. Joe T. Link to comment Share on other sites More sharing options...
MVP 2023 Ausman Posted January 6, 2023 MVP 2023 Report Share Posted January 6, 2023 Shahar please note the comment in the forum welcome area. "The forum is not the official Unitronics support channel - it is manned by volunteer users and sometimes gets visited by Unitronics employees". Your comment 1 hour ago, Shahar said: How do I build a ladder to operate this regulator through Modbus. We are not here to write your program for you. We get paid to do such things for clients. As Joe says in his #4, you need to learn about Visilogic using the Help files and examples, and try writing things for yourself. Many things are best learnt by trying basics on the actual PLC before going further. We give advice on problems you might have along the way, but you have to do a lot of learning yourself. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now