Jump to content

Trying To Connect JZ20-J-R16 To Labview, by RTU


Recommended Posts

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

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.