garydreppert Posted March 21, 2023 Report Posted March 21, 2023 Hello All, I have a vision 700 display and I am trying to control some linear actuators over Ethernet from the screen. Has anyone ever attempted this type of control? I'm using the Unitronics to replace some Allen Bradley stuff which is what was controlling the actuators before. Just looking for some help with the handshake and how to send and receive messages. Thanks. TIPS-110130 ACON PCON C_CG Ethernet IP Setup.pdf
Cam Posted March 21, 2023 Report Posted March 21, 2023 The manual you provided states that it's for Ethernet/IP communication between a AB unit and the IAI actuator. The V700 doesn't support Ethernet/IP communication protocol. I'd recommend looking at a UniStream(US7 series if you want the same size display) as it supports the required protocol and with the supplied manual you should be able to created the required structs to establish the Ethernet/IP communication.
garydreppert Posted March 21, 2023 Author Report Posted March 21, 2023 According to all the documentation I have it does. I am able to get the vision 700 to connect to the actuator controller I'm just having trouble figuring out how to send receive messages between the 2.
MVP 2023 Flex727 Posted March 21, 2023 MVP 2023 Report Posted March 21, 2023 10 minutes ago, garydreppert said: According to all the documentation I have it does. What does? The V700 most assuredly does NOT communicate with Ethernet/IP. Perhaps you're connecting with MODBUS?
Cam Posted March 21, 2023 Report Posted March 21, 2023 16 minutes ago, garydreppert said: According to all the documentation I have it does. I am able to get the vision 700 to connect to the actuator controller I'm just having trouble figuring out how to send receive messages between the 2. You might be able to get it to connect to the IP address, however you not going to be establish an IO connection to pass data with explicit or implicit messaging as the Vision series doesn't support Ethernet/IP protocol. It supports Ethernet TCP/IP (which is something entirely different), or Modbus TCP as Ethernet communication protocols. Unitronics built Ethernet/IP communication into the UniStream series of controllers, I'd recommend contacting your local distributor and seeing about getting one of them to do this as it supports the required protocol.
garydreppert Posted March 21, 2023 Author Report Posted March 21, 2023 I will check with IAI to see if they support Modbus. Assuming they do, then would we then be able to establish an IO connection to pass data? Thank you for the fast responses.
Cam Posted March 21, 2023 Report Posted March 21, 2023 As long as they support Modbus RTU (Serial connection) or Modbus TCP(Ethernet connection) then yes once they provide the register map you should be able to establish a connection and pass data.
MVP 2023 Flex727 Posted March 21, 2023 MVP 2023 Report Posted March 21, 2023 Yes, the V700 supports MODBUS protocol over either serial or Ethernet. There are example projects that came with your VisiLogic installation that will show you how to set up MODBUS communications.
garydreppert Posted March 21, 2023 Author Report Posted March 21, 2023 Thank you. I appreciate the help. I'm coming from a job in the automotive industry where we solely use CAN J1939 communications over multiplexed vehicle networks so this is somewhat new to me.
Fernando Castro Posted March 21, 2023 Report Posted March 21, 2023 According to IAI EtherNet/IP PCON ACON Controllers - IAI America (intelligentactuator.com) that is specifically designed to use ETHERNET- IP which is proprietary AB protocol. having said that you could: a) replace the controller. b) get another PLC with Ethernet-IP protocol. c) get an Ethernet-IP to Modbus TCP converter. all of those 3 options will probably cost about the same.
garydreppert Posted March 21, 2023 Author Report Posted March 21, 2023 I just spoke with IAI they have their RCON controller which does support modbus. Does it matter on modbus if the messaging is explicit or implicit? Does it support both?
MVP 2023 Flex727 Posted March 21, 2023 MVP 2023 Report Posted March 21, 2023 I believe MODBUS TCP is always explicit.
Cam Posted March 21, 2023 Report Posted March 21, 2023 Modbus is always explicit. The master has to issue the read and write commands
garydreppert Posted May 1, 2023 Author Report Posted May 1, 2023 Good Morning, I have finally been able to return to this project using IAI's RCON controller with MODBUS RTU protocol. I am working through configuring this on the V700 side of things and I have referenced the example program but have made a couple modications. I have the ethernet card initialized, I am initalized on socket 2 port 502. When I test the read function the staus message goes to 0 as it should and the acknowledge message increments when I press the button. However, on the write function I am trying a loopback test I am getting a 7 on the status message and am not sure why? Any help would be appreciated. Thank you in advance. V700_Modbus_TCP_master.vlp
Fernando Castro Posted May 1, 2023 Report Posted May 1, 2023 I am on an older version of visilogic, so I couldn't open your project, but I think I may know what could be happening: * Messages 6, 7, and 11mean that the master has found incompatible elements in the data sent between master and slave. Are you using the correct function code to write on the Modbus slave? remember that on Modbus are different type of write functions: I had a similar problem once while trying to communicate with 2 devices (for one was using write coils, for the other write holding registers) and somehow, I got the IP addresses of each one mixed. so, I think I was trying to write holding registers on a coil address which of course was not available in the selected slave device.
Gabriel Franco Posted May 1, 2023 Report Posted May 1, 2023 I haven´t reviewed the program but, you mentioned Modbus RTU (serial) and are trying to communicate over Ethernet. Has the actuator Modbus RTU or Modbus TCP protocol?
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