Author Topic: OMRON SERIAL HOSTLINK AND NUMBER OF PLC ADDRESS  (Read 2344 times)

joko markono

  • Full Member
  • ***
  • Posts: 132
    • View Profile
OMRON SERIAL HOSTLINK AND NUMBER OF PLC ADDRESS
« on: October 18, 2019, 04:19:10 AM »
Hi Guys,

I'm getting problem to get the communication between HMI and CJ1M PLC. I'm using the latest version of HMI and also OmronSerialHostlink com. Previously when i use few PLC addresses, maybe around ten addresses, i faced no issue. But now when i input maybe 60 addresses on a single page, seems like there is communication error. Is there any limit of number of addresses? I have tried to reduce the baud rate from 115200 to 9600 as well.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: OMRON SERIAL HOSTLINK AND NUMBER OF PLC ADDRESS
« Reply #1 on: October 18, 2019, 04:57:02 AM »
Check the ComComponent property of your controls. It says they are not assigned to a driver.

joko markono

  • Full Member
  • ***
  • Posts: 132
    • View Profile
Re: OMRON SERIAL HOSTLINK AND NUMBER OF PLC ADDRESS
« Reply #2 on: October 18, 2019, 05:31:38 AM »
yes, that's the issue, i've fixed that.
Other questions:
1. from PLC to HMI, can we use DMemory bits e.g. D10.00 or should it only be use with Work Area bits only e.g. W0.00...?

2. I received the error as in attachment. May i know what does that mean?  Currently i set all the buttons that got errors with D4.12, D3.10, D2.10... etc....

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: OMRON SERIAL HOSTLINK AND NUMBER OF PLC ADDRESS
« Reply #3 on: October 18, 2019, 06:05:14 AM »
When the code stops, hover the cursor over "address.HostLinkReadHeaderCode" and see what the code is showing.

Also hover over "address." and go through the list to see what the Address property shows
« Last Edit: October 18, 2019, 06:11:25 AM by Archie »

joko markono

  • Full Member
  • ***
  • Posts: 132
    • View Profile
Re: OMRON SERIAL HOSTLINK AND NUMBER OF PLC ADDRESS
« Reply #4 on: October 20, 2019, 09:10:00 PM »
I think i hover to the right point. Please see the attached photos.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: OMRON SERIAL HOSTLINK AND NUMBER OF PLC ADDRESS
« Reply #5 on: October 20, 2019, 09:37:56 PM »
On the second screen shot, twirl down the address detail to see what the Address property shows

joko markono

  • Full Member
  • ***
  • Posts: 132
    • View Profile
Re: OMRON SERIAL HOSTLINK AND NUMBER OF PLC ADDRESS
« Reply #6 on: October 20, 2019, 09:51:15 PM »
i found that everytime i rebuild the solution, the Ethernet Com always appear automatically.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: OMRON SERIAL HOSTLINK AND NUMBER OF PLC ADDRESS
« Reply #7 on: October 20, 2019, 10:05:23 PM »
According to the Host Link protocol manual, there is no header code available to read W addresses. It seems to only be accessible using the FINS protocol.

joko markono

  • Full Member
  • ***
  • Posts: 132
    • View Profile
Re: OMRON SERIAL HOSTLINK AND NUMBER OF PLC ADDRESS
« Reply #8 on: October 20, 2019, 11:15:43 PM »
I tried to replaced the address with RD but i got this error end code=0xFFFFFF 9D
what is that mean?

joko markono

  • Full Member
  • ***
  • Posts: 132
    • View Profile
Re: OMRON SERIAL HOSTLINK AND NUMBER OF PLC ADDRESS
« Reply #9 on: October 21, 2019, 09:35:48 PM »
Archie,

I'll sort out the header later. For time being, there is some errors which does not stop me from executing the program but i feel quite annoyed everytime it appears. It happen sometimes only before but now everytime i start the visual studio and open the Solution, it will appear. i need to close the page and reopen it again and it will dissappear after that.
Sometimes it happen on first page, sometimes on every page.

So far, when i run the program, communication has no issue.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI

joko markono

  • Full Member
  • ***
  • Posts: 132
    • View Profile
Re: OMRON SERIAL HOSTLINK AND NUMBER OF PLC ADDRESS
« Reply #11 on: October 22, 2019, 01:11:03 AM »
thanks.