Sarkis Sarkissian Posted July 1, 2019 Report Share Posted July 1, 2019 Hello, I have JZ20-J-R16, and I want to read values from output 1 on labview, but I just have a problem in trying to do it. My PLC doesnt have an Ethernet port, I can just connect it by means of a USB, or com port to my PC. So if I wanted to read from this PLC on labview by means of RTU communication, can someone please give out an easy code to do that (to configure the PLC, and thus assign the addresses to each port)? And if I bought an external mode that contains an Ethernet port and connected it to my PLC, would I be then able to communicate by means of TCP through labview? I need help on this ASAP pleasee Quote Link to comment Share on other sites More sharing options...
MVP 2022 kratmel Posted July 1, 2019 MVP 2022 Report Share Posted July 1, 2019 Maybe this information is useful https://unitronicsplc.com/Download/SoftwareHelp/U90LadderKnowledgebase/Communications/MODBUS.htm http://support.elmark.com.pl/unitronics/PDF/MODBUS.pdf Quote Link to comment Share on other sites More sharing options...
Sarkis Sarkissian Posted July 2, 2019 Author Report Share Posted July 2, 2019 I donot have modbus configuration on my u90 ladder program. However, I read on several places that it will not work out on JZ20-J-R16, because it doesnt have a built in com, or an ethernet port, so can you give me just a direct answer on whether i need to buy an add on to be able to satisfy this communication, or I could do it without them? Quote Link to comment Share on other sites More sharing options...
AlexUT Posted July 2, 2019 Report Share Posted July 2, 2019 You can use one of 2 options: 1. Use MJ20-RS RS232/RS485 isolated COM port and use MODBUS RTU. You can find JZ20 MODBUS RTU examples in directory C:\Program Files (x86)\Unitronics\Unitronics U90 Ladder\Examples\MODBUS Modbus Master.U90 Modbus Slave.U90 Use baudrate 19200. 2. Use MJ20-ET1 Ethernet communication port and use MODBUS TCP. Take care that there is only one IP socket available for communication. You can find JZ20 MODBUS TCP examples in directory C:\Program Files (x86)\Unitronics\Unitronics U90 Ladder\Examples\MODBUS\ JZ20-R10_Modbus_Ethernet_Master_Client.U90 JZ20-R10_Modbus_Ethernet_Slave_Server.U90 MODBUS addressing described in Help. B.R. 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.