Author Topic: Micro850 addressing  (Read 1747 times)

Yvan

  • Newbie
  • *
  • Posts: 2
    • View Profile
Micro850 addressing
« on: November 16, 2015, 03:47:29 PM »
I'm just trying to get started by creating a simple "hello world" program.

My PLC is programmed so that when input 20 goes high, output 16 goes high (a lights an indicator).

In AdvancedHMI, I have a button and an indicator. The button's PLCAddressClick is set to _IO_EM_DI_20 and the indicator's PLCAddressSelectColor2 is set to _IO_EM_DO_16.
I have also tried using aliases (SENSOR/LED_WHITE) and traditional addressing (I1:20) etc.

When I click the button I get CIP Error Path destination unknown. Manually setting I20 high does not colour the indicator (but it does light my LED).

Thanks for your help.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5262
    • View Profile
    • AdvancedHMI
Re: Micro850 addressing
« Reply #1 on: November 16, 2015, 04:02:50 PM »
Try to create a BOOL tag (controller scope) without the leading "_", then use that tag name in PLCAddressSelectColor2

The Micro800 has some restrictions on reading certain tags and maybe it will not allow the tag you are trying to use

Yvan

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Micro850 addressing
« Reply #2 on: November 17, 2015, 09:54:34 AM »
It looks like my problem was that I was addressing the I/Os directly. I created a global variable and used that instead, and copied its value to the I/O in the PLC and it worked. Thanks!