Author Topic: Text entry and display  (Read 2258 times)

maxketcham

  • Newbie
  • *
  • Posts: 20
    • View Profile
Text entry and display
« on: October 21, 2015, 02:25:35 PM »
is there a way to display plc text data?

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: Text entry and display
« Reply #1 on: October 21, 2015, 03:31:26 PM »
What PLC and driver are you using?

maxketcham

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: Text entry and display
« Reply #2 on: October 22, 2015, 10:31:07 AM »
I'm using OPCda, I get a string when I look at my bar code readers, but not when I look at my PLC's (omron NJ's) but I've fixed a work around now, just read all the bytes from the string and input/output programmatically. I found out later that it was the OPCServer (kepware) and the plc's lack of talking correctly about data types to each other (kepware refuses to see it as string data, keeps seeing it as individual integers) everywhere in the program and outside HMI's it is treated as an ASCII string with no problem. It seems to have to do with the OMRON Kepware driver, the kepware driver I'm using for keyence treats string like strings without a problem. Gotta love, or hate it, none of them are worth a shit, but it's what I'm stuck with. Thanks for the quick update Archie, sorry but I'm so busy now I couldn't get back to post this til now. Got to say you got one hell of a good piece of software here, wish there was a good manual for it. later

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: Text entry and display
« Reply #3 on: October 22, 2015, 11:54:55 AM »
I have found with the Rexroth OPC server you can specify in the address how you want th data formatted. Maybe Kepware has something similar.