Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: String 256

String 256 2 months 2 weeks ago #11196

  • Sébastien
  • Sébastien's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 71
  • Karma: 0
Bonjour,
je voudrais injecter dans le registre 400001, 0001 la valeur 256 mais en string ( chaine de caractère ) dans mon programme plc, comment faire? car j'ai essayé ChanBO mais je n'arrive pas à me connecter dans le Plc .

ChanBO.jpeg

en vous remerciant

ChanBO.jpeg
The administrator has disabled public write access.

String 256 2 months 2 weeks ago #11197

  • Sébastien
  • Sébastien's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 71
  • Karma: 0
:pinch:
j'essaie de connecter un Bostring80 avec un StoBostring80 rien ne se passe ?
The administrator has disabled public write access.

String 256 2 months 2 weeks ago #11206

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 2898
  • Thank you received: 418
  • Karma: 124
Hi Sébastien,

You can use a StrMux and connect the output to the StoBoString80.

It is possible to do this in an arithm object, but you have to use a DataArithm and fetch the BoString80 with a GetData and connect to a Data input. You also have to convert ActualValue in the BoString80 to an absolute pointer with gdh_TranslateRtdbPointer()...

/Claes
The administrator has disabled public write access.

String 256 2 months 2 weeks ago #11207

  • Sébastien
  • Sébastien's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 71
  • Karma: 0
Hi Claes,
Thank You ( my english is very bad ! )
ok i look
Seb
The administrator has disabled public write access.
  • Page:
  • 1
Time to create page: 0.401 seconds