Author Topic: Help needed to Stating to use AdvanceHMI & TwinCat  (Read 1383 times)

AndyHill

  • Newbie
  • *
  • Posts: 2
    • View Profile
Help needed to Stating to use AdvanceHMI & TwinCat
« on: November 30, 2013, 11:40:19 AM »
I'm being thick, I can't seem to find an example of how to address a variable within a Beckhoff (twincat PLC)

I can get an AMS address and Port etc, but don't the format of the address for the :


How would would you address a REAL in the Beckhoff PLC called

RealValue

How would would you address a INTEGER in the Beckhoff PLC called

IntergerValue
Report Post     

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5266
    • View Profile
    • AdvancedHMI
Re: Help needed to Stating to use AdvanceHMI & TwinCat
« Reply #1 on: November 30, 2013, 12:11:25 PM »
For global variables:

.VariableName

For program variables:

ProgramName.VariableName

AndyHill

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Help needed to Stating to use AdvanceHMI & TwinCat
« Reply #2 on: December 04, 2013, 03:44:25 PM »
OK that gives me enough to go on

Thanks,  :D