Welcome, Guest
Username: Password: Remember me

TOPIC: Tag types

Tag types 6 years 5 months ago #342

  • Loek
  • Loek's Avatar
Can you please explain me why your TeslaScada tags types are differs from the ones in my AllenBradley PLC?

TS versus AB
Bool - Bool
Byte - Byte
Short (16 bits) - SINT (8 bits)
Int (32 bits) - Int (16 bits)
Long (64 bits) - DINT (32 bits)
Float (32 bits) - Real (32 bits)
Double (64 bits) - ???

Thanks,
Loek
The administrator has disabled public write access.

Tag types 6 years 5 months ago #344

  • fatkhrus
  • fatkhrus's Avatar
  • Offline
  • Administrator
  • Posts: 826
  • Thank you received: 123
  • Karma: -107
Hello Loek,
Because on different PLC-s different types of variables. We've taken as a basement data types of Java language and try to lead to a common denominator.
Best regards,
Ruslan
The administrator has disabled public write access.

Tag types 6 years 5 months ago #345

  • Loek
  • Loek's Avatar
Thanks for your quick response!

Ok, that's clear. But which part is leading? If I have a DINT in my AB PLC, and I want to declare it in TS, I have to select underneath Tag Properties => Input / Output a DINT (as in the PLC). But what do I have to choose in the General tab as a Data Type? The INT (from 32 bits) or the LONG (from 64 bits)?

Regards,
Loek
The administrator has disabled public write access.

Tag types 6 years 5 months ago #346

  • fatkhrus
  • fatkhrus's Avatar
  • Offline
  • Administrator
  • Posts: 826
  • Thank you received: 123
  • Karma: -107
Loek,
As you wish. You can choose both types. The main thing is that the number of bits of TS data type is not less then number of bits of AB data type.

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