Author Topic: Address format Mitsubishi PLC  (Read 8103 times)

Boushard

  • Newbie
  • *
  • Posts: 10
    • View Profile
Address format Mitsubishi PLC
« on: August 19, 2016, 08:40:03 AM »
Hi,

I'm new with Advance HMI and I try to use it with Mitsubishi PLC and I just wonder what is the correct "PLCAddress" format should I use!

I know this is a very basic use but can't find the correct format!

Thanks guys!

rbelknap

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
Re: Address format Mitsubishi PLC
« Reply #1 on: August 19, 2016, 02:08:43 PM »
Which driver are you using?

Boushard

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Address format Mitsubishi PLC
« Reply #2 on: August 19, 2016, 02:41:05 PM »
ModbusTCPcom

Try couple address found on the web and receive "Com Error -999. No values returned from driver".   I can see in the PLC programming software that my application communicate with the PLC.

« Last Edit: August 19, 2016, 02:43:22 PM by Boushard »

Godra

  • Hero Member
  • *****
  • Posts: 1439
    • View Profile

bachphi

  • Hero Member
  • *****
  • Posts: 643
    • View Profile
Re: Address format Mitsubishi PLC
« Reply #4 on: August 19, 2016, 05:03:43 PM »
What addresses did you try? 40000, 40001, L40000, or (400000,63)

Store something in D300, and do a read on 400500
===================================================
This is NOT alt.read.my.mind.
No such thing is sh^t-for-brains unless you are posting to alt.read.my.mind.
===================================================

Boushard

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Address format Mitsubishi PLC
« Reply #5 on: August 22, 2016, 08:05:54 AM »
Try every adresses you gave and no go.

The 400500 seem to work, but I have a "No value returned from driver". I put the address in PLCAddressValue!

I also have a "No Response from PLC(21)" error.
« Last Edit: August 22, 2016, 08:11:11 AM by Boushard »

Boushard

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Address format Mitsubishi PLC
« Reply #6 on: August 22, 2016, 08:38:27 AM »
I've just tried "0001030".  Now I only have a "No Response from PLC(21)" error on read!

And when I try write instruction, I have a "WRITE FAILED, No Data Return" error.  I think I'm on my way to succed!! :P

Godra

  • Hero Member
  • *****
  • Posts: 1439
    • View Profile
Re: Address format Mitsubishi PLC
« Reply #7 on: August 22, 2016, 09:53:09 AM »
Your errors should indicate that there is no proper communication between the application and the plc.

Check your plc programming software to see what parameters it is using to communicate with the plc.


For the addressing part, sections 3 and 4 of this manual seem to indicate standard Modbus addressing for this particular Mitsubishi plc (Archie could confirm whether this is correct):

http://dl.mitsubishielectric.com/dl/fa/document/manual/plc/sh080446eng/sh080446engh.pdf
« Last Edit: August 22, 2016, 09:56:32 AM by Godra »

rbelknap

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
Re: Address format Mitsubishi PLC
« Reply #8 on: August 22, 2016, 09:54:20 AM »
Just for the sake of asking.

Is the PLC in Run mode?
Are you sure you have the correct IP Setup in the driver? , ie IPaddress and TcpipPort of the PLC

Also, Which version of AHMI are you using?

Boushard

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Address format Mitsubishi PLC
« Reply #9 on: August 22, 2016, 10:22:20 AM »
Just for the sake of asking.

Is the PLC in Run mode?  Yes it is
Are you sure you have the correct IP Setup in the driver? , ie IPaddress and TcpipPort of the PLC  I'm sure about the IP, the port # is 5556 witch is, according to mitsubishi, correct.

Also, Which version of AHMI are you using? Downloaded the last version 3.99N

Godra

  • Hero Member
  • *****
  • Posts: 1439
    • View Profile
Re: Address format Mitsubishi PLC
« Reply #10 on: August 22, 2016, 10:44:39 AM »
What is the exact model of your Mitsubishi plc?

Also, there is an interesting post in the following link suggesting that port numbers are in hex format and also mention some "pairing" feature:

http://forums.mrplc.com/index.php?/topic/20693-tcpip-port-communication-on-mits/

Could you confirm if any of these apply to your plc?
« Last Edit: August 22, 2016, 10:55:29 AM by Godra »

Godra

  • Hero Member
  • *****
  • Posts: 1439
    • View Profile
Re: Address format Mitsubishi PLC
« Reply #11 on: August 22, 2016, 11:01:09 AM »
Eventually, you could do a Wireshark capture of both your plc programming software talking to the plc and AHMI application trying to talk to the plc.

Archie would have to be the one to try and decipher those packets.

Boushard

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Address format Mitsubishi PLC
« Reply #12 on: August 22, 2016, 02:35:07 PM »
The setup is:

PLC: FX3U-32MT/DSS
Ethernet Card: FX3U-ENET-ADP
Drive: MR-JE-20A
Servo:HG-KN23JK

Software:

VisualStudio 2013/15
MX-Component V4.09K
GX-Works 2

Godra

  • Hero Member
  • *****
  • Posts: 1439
    • View Profile
Re: Address format Mitsubishi PLC
« Reply #13 on: August 22, 2016, 05:19:20 PM »
Using a web browser, can you access your ethernet card web page?

bachphi

  • Hero Member
  • *****
  • Posts: 643
    • View Profile
Re: Address format Mitsubishi PLC
« Reply #14 on: August 22, 2016, 07:26:55 PM »
ModBus TCP should be using port 502. Also if using version n, then d/l the patch
===================================================
This is NOT alt.read.my.mind.
No such thing is sh^t-for-brains unless you are posting to alt.read.my.mind.
===================================================