Author Topic: force a new Plc Address into PlcAddressValue  (Read 1491 times)

Darrell

  • Full Member
  • ***
  • Posts: 198
  • Electrician / PLC Technician
    • View Profile
force a new Plc Address into PlcAddressValue
« on: April 06, 2015, 10:01:27 PM »
How can I force a new plc address into PlcAddressValue , what code is needed for a button to do this.

Darrell

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: force a new Plc Address into PlcAddressValue
« Reply #1 on: April 06, 2015, 10:21:47 PM »
- Add a button to the form from the All Windows Forms group
- Double Click the button to get back to the code
- Enter this code to change the PCLAddress for a BasicLabel"

BasicLabel1.PLCAddressValue="MyTag"