Author Topic: Write float value in CLX Ethernet/IP  (Read 3081 times)

Fito_IEBSA

  • Newbie
  • *
  • Posts: 3
    • View Profile
Write float value in CLX Ethernet/IP
« on: April 28, 2022, 02:30:22 PM »
Hello I am new using AdvancedHMI
first an apology for my poor english

could you help me or give me an example how to write
float value in controllogix over Ethernet/IP

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: Write float value in CLX Ethernet/IP
« Reply #1 on: April 28, 2022, 04:24:00 PM »
- Add an EthernetIPforCLXCom driver to the form
- Set the IPAddress property
- Add a BasicLabel to the form
- Set the PLCAddressValue property to F8:0
- Set the PLCAddressKeypad property to F8:0
- Run the application
- Click on the BasicLabel
- Enter a value

Fito_IEBSA

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Write float value in CLX Ethernet/IP
« Reply #2 on: April 28, 2022, 08:25:27 PM »
Thank you Arch for your reply.
Is there a way that by code
write something like this
EthernetIPforCLXCom .Write(Tag, Value)

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: Write float value in CLX Ethernet/IP
« Reply #3 on: April 28, 2022, 08:47:12 PM »
EthernetIPforCLXCom1.Write("F8:0","1234")

dmroeder

  • Administrator
  • Full Member
  • *****
  • Posts: 212
    • View Profile
Re: Write float value in CLX Ethernet/IP
« Reply #4 on: May 04, 2022, 12:12:56 PM »
Something's funny, "F8:" is not ControlLogix syntax, it's SLC syntax. 

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: Write float value in CLX Ethernet/IP
« Reply #5 on: May 04, 2022, 04:33:39 PM »
Something's funny, "F8:" is not ControlLogix syntax, it's SLC syntax.
My fault. My brain must have been in the MicroLogix world when I responded.

Noe

  • Full Member
  • ***
  • Posts: 205
    • View Profile
Re: Write float value in CLX Ethernet/IP
« Reply #6 on: May 09, 2022, 12:37:38 PM »
Something's funny, "F8:" is not ControlLogix syntax, it's SLC syntax.

Can happen when you migrate projects!