Author Topic: Writting a "$" string to PLC  (Read 1201 times)

wisconsin

  • Newbie
  • *
  • Posts: 6
    • View Profile
Writting a "$" string to PLC
« on: April 20, 2016, 09:55:05 AM »
I am trying to write a string to the PLC and add a '$' to this string.
Advanced HMI appears to work correctly, but when I look at the control logix PLC, the dollar sign is appearing twice.

Any ideas on how to correct this? I am running AdvHMI V3.99d, with EthernetIPforCLXCom1 driver.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5262
    • View Profile
    • AdvancedHMI
Re: Writting a "$" string to PLC
« Reply #1 on: April 20, 2016, 10:10:14 AM »
It looks like the $ sign is a control character for strings in CLX. The double dollar sign is not really double, only represented that way in the data monitor so it will not be confused with control codes such as $L, $N, $P, etc.

Noe

  • Full Member
  • ***
  • Posts: 205
    • View Profile
Re: Writting a "$" string to PLC
« Reply #2 on: April 20, 2016, 02:18:37 PM »
I had been through this, but also got to the same conclusion by looking at the character count (4).