Milos Posted September 19 Report Share Posted September 19 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. Quote Link to comment Share on other sites More sharing options...
Fernando Castro Posted Thursday at 04:57 PM Report Share Posted Thursday at 04:57 PM 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. Quote Link to comment Share on other sites More sharing options...
Milos Posted Thursday at 07:35 PM Author Report Share Posted Thursday at 07:35 PM 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. Quote Link to comment Share on other sites More sharing options...
Fernando Castro Posted Friday at 02:32 AM Report Share Posted Friday at 02:32 AM 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 Quote Link to comment Share on other sites More sharing options...
Milos Posted Friday at 07:29 AM Author Report Share Posted Friday at 07:29 AM 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 Quote Link to comment Share on other sites More sharing options...
sgull Posted Friday at 02:26 PM Report Share Posted Friday at 02:26 PM Did you try to use net address 255 in ZENON instead of 2 Quote Link to comment Share on other sites More sharing options...
Milos Posted Friday at 03:48 PM Author Report Share Posted Friday at 03:48 PM Yes Quote Link to comment Share on other sites More sharing options...
MVP 2022 Joe Tauser Posted Friday at 07:47 PM MVP 2022 Report Share Posted Friday at 07:47 PM 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. Quote Link to comment Share on other sites More sharing options...
Fernando Castro Posted 18 hours ago Report Share Posted 18 hours ago 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. Quote Link to comment Share on other sites More sharing options...
MVP 2022 Flex727 Posted 17 hours ago MVP 2022 Report Share Posted 17 hours ago 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. 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.