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

TOPIC: String 256

String 256 1 year 2 months ago #11196

  • Sébastien
  • Sébastien's Avatar
  • OFFLINE
  • Gold Boarder
  • Posts: 183
  • 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 1 year 2 months ago #11197

  • Sébastien
  • Sébastien's Avatar
  • OFFLINE
  • Gold Boarder
  • Posts: 183
  • 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 1 year 2 months ago #11206

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3041
  • Thank you received: 452
  • Karma: 125
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 1 year 2 months ago #11207

  • Sébastien
  • Sébastien's Avatar
  • OFFLINE
  • Gold Boarder
  • Posts: 183
  • 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.420 seconds