Welcome, Guest
Username: Password: Remember me

TOPIC: Tags from AB

Tags from AB 6 years 7 months ago #326

  • Loek
  • Loek's Avatar
TAG_A = BOOL => PLC (Controller tag): Tag_A | Type: Bool ==> Working! :)
TAG_B = Byte => PLC (Controller tag): Tag_B | Type: Sint ==> Working! :)

TAG_C = BOOL => PLC (Controller tag): Tag_B.0 | Type: Bool ==> NOT Working...The complete byte can be read, but a bit from the byte not? :unsure:
Tag_D = Bool => PLC (Routine_A tag): Tag_D | Type: Bool ==> How to declare a tag that's not in the controller but in a routine? :dry:

If I read a REAL from the plc, I declare it as an Double(64 bit) in my project. That is working perfect. To show it on a screen I create a text Object and on the tab "Text input" I select 3 decimal positions. If I select 3, I expect to see 3 decimals and not floating decimals. What I'm doing wrong? :woohoo:
Last Edit: 6 years 7 months ago by Loek.
The administrator has disabled public write access.

Tags from AB 6 years 7 months ago #327

  • fatkhrus
  • fatkhrus's Avatar
  • Offline
  • Administrator
  • Posts: 836
  • Thank you received: 125
  • Karma: -107
Hello Loek,

Unfortunately our AB driver doesn't support tags like Tag_B.0. You can create intermediate tag in your controller program or use script for reading bits on TeslaSCADA.
Also it doesn't support routine tags.
About reading REAL from the plc. It seems that you've done everything well, but can you send me your project to check it.

Best regards,
The administrator has disabled public write access.
Go to top