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

TOPIC: String 256

String 256 2 years 6 months ago #11196

  • Sébastien
  • Sébastien's Avatar
  • OFFLINE
  • Gold Boarder
  • Posts: 176
  • Thank you received: 2
  • 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
SEB
The administrator has disabled public write access.

String 256 2 years 6 months ago #11197

  • Sébastien
  • Sébastien's Avatar
  • OFFLINE
  • Gold Boarder
  • Posts: 176
  • Thank you received: 2
  • Karma: 0
:pinch:
j'essaie de connecter un Bostring80 avec un StoBostring80 rien ne se passe ?
SEB
The administrator has disabled public write access.

String 256 2 years 6 months ago #11206

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3170
  • Thank you received: 497
  • Karma: 133
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 years 6 months ago #11207

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