Author Topic: write values into a floating F8:  (Read 2274 times)

frank222

  • Newbie
  • *
  • Posts: 12
    • View Profile
write values into a floating F8:
« on: April 10, 2015, 01:26:37 PM »
GREETINGS TO YOU:
 HOW TO WRITE A VALUE FOR EXAMPLE IN A FLOATING BY DF1 MICROLOGIX 1200

 THANK YOU

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: write values into a floating F8:
« Reply #1 on: April 10, 2015, 04:18:18 PM »
- Add an EthernetIPforSLCMicroCom driver to the form
- Set the IP address to the address of the PLC
- Add a BasicLabel to the form
- Set the PLCAddressValue to F8:0
- Set the PLCAddressKeypad to F8:0
- Run the application
- Ciick on the label showing the value
- A keypad will popup to allow you to enter a new value

frank222

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: write values into a floating F8:
« Reply #2 on: April 11, 2015, 09:34:58 AM »
ARCHIE THANKS FOR REPLY
 I CAN  READ DIRECTLY BY DF1COM.READ (F8: 6), HE TRIED TO DF1COM.WRITE (F8: 10) A ERROR  MISTAKE BUT LEAVES ME, I WANT TO WRITE WITHOUT USING DATA INTERFACE,
THANKS FOR YOUR SUPPORT.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: write values into a floating F8:
« Reply #3 on: April 11, 2015, 05:11:27 PM »

       DF1Com1.Write("F8:0", "99")

frank222

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: write values into a floating F8:
« Reply #4 on: April 12, 2015, 04:45:42 PM »
archie thanks for your help

 please can you help me with additional questions, is I want to write the value of Variable  Df1com1.write("f8:0", variable)... so serious but not, please Might by help

 thanks
 regards

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: write values into a floating F8:
« Reply #5 on: April 12, 2015, 04:55:30 PM »
Dim MyVar as String
MyVar="99"
DF1Com1.Write("F8:0",MyVar)