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

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...