Milos Posted September 19, 2023 Report Share Posted September 19, 2023 Hello all, I have question related to connecting Vision 280 with Modbus TCP zenon SCADA driver. I have experience with other PLC-s but not with Unitronics. Please find attached config below: Below you can see zenon driver config and one variable config. I tried to see ML12 from program. Is this the way to directly call adress from SCADA or I missed some step? sigma is PLC name, PLC IP is in range of PLC. Link to comment Share on other sites More sharing options...
Fernando Castro Posted September 21, 2023 Report Share Posted September 21, 2023 On 9/19/2023 at 9:35 AM, Milos said: Hello all, I have question related to connecting Vision 280 with Modbus TCP zenon SCADA driver. I have experience with other PLC-s but not with Unitronics. Please find attached config below: Below you can see zenon driver config and one variable config. I tried to see ML12 from program. Is this the way to directly call adress from SCADA or I missed some step? sigma is PLC name, PLC IP is in range of PLC. I believe you are missing socket connection after TCP/IP Card Init (I am not sure if it is required only if you are not using the standarconfig) . and the correct Offset is : 20492, the 5000 in the documentation is an Hexadecimal value, and I have the hunch that zenon uses a decimal value: 5000h = 20480 DEC : 20480 + 12 = 20492. Link to comment Share on other sites More sharing options...
Milos Posted September 21, 2023 Author Report Share Posted September 21, 2023 Thank you Fernando. I will check with socket connection. Regarding adressing, Vision 280 should be basic model so adressess listed in manual should be Decimal, for advanced is Hex. Anyway I will try. Thank you one more time. Link to comment Share on other sites More sharing options...
Fernando Castro Posted September 22, 2023 Report Share Posted September 22, 2023 6 hours ago, Milos said: Thank you Fernando. I will check with socket connection. Regarding adressing, Vision 280 should be basic model so adressess listed in manual should be Decimal, for advanced is Hex. Anyway I will try. Thank you one more time. I think you are correct. Also i found another manual online that says ML statrs on 5100, you could try 5112 and see if that works Link to comment Share on other sites More sharing options...
Milos Posted September 22, 2023 Author Report Share Posted September 22, 2023 Thank you Fernando, I already tried 5112, 5112, 5113 type Int, Dint but Scada indicate that there is no communication. In the moment my problem is because I dont have comm and with finding the right value I belive will not be problem... Regards Link to comment Share on other sites More sharing options...
sgull Posted September 22, 2023 Report Share Posted September 22, 2023 Did you try to use net address 255 in ZENON instead of 2 Link to comment Share on other sites More sharing options...
Milos Posted September 22, 2023 Author Report Share Posted September 22, 2023 Yes Link to comment Share on other sites More sharing options...
MVP 2023 Joe Tauser Posted September 22, 2023 MVP 2023 Report Share Posted September 22, 2023 1. I don't put any conditions on my SCAN_EX Modbus Slave block - 2. As Fernando pointed out, your net ID should be 255. 3. All of the V280's memory is open to read via Modbus. Rather than fighting to get the right offset for an ML read, try setting your offset to 0 to read MI 0 to establish a baseline that your communication works. Set your Data Type to INT. If that doesn't work try offset 1. 4. Your "Data Block" is set to 0. Should that be at least 1? Otherwise, upload your program. Joe T. Link to comment Share on other sites More sharing options...
Fernando Castro Posted September 26, 2023 Report Share Posted September 26, 2023 On 9/22/2023 at 3:47 PM, Joe Tauser said: 2. As Fernando pointed out, your net ID should be 255. It wasn't me but yeah ID matters for some vendors, although over TCP/IP slave addressing is based on IP and it should be irrelevant. Link to comment Share on other sites More sharing options...
MVP 2023 Flex727 Posted September 26, 2023 MVP 2023 Report Share Posted September 26, 2023 1 hour ago, Fernando Castro said: although over TCP/IP slave addressing is based on IP and it should be irrelevant Yes. However it will come into play if you have an Ethernet to serial conversion in the communication path. I don't think it's applicable here though. Link to comment Share on other sites More sharing options...
Milos Posted October 6, 2023 Author Report Share Posted October 6, 2023 Thank you all for the advices. After a bit struggle I succeded For the ID, I put 2 and it was OK, the tricky was for the DWORD bzte order, default is Big-Endian and it should be Little-Endian. @Fernando Castro thank you for the advice to try with MI, after that I figured out that comm is ok and that I have problem with adressing. 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