Hvordan kan vi hjelpe deg i dag?

MODNET string variable configuration

Summary:

I have configured a string variable communicating to a PLC via MODNET and I can only see the first 2 characters of the string. How can I see the whole string?

Solution:

If you specify a string tag with the address 40001, the MODNET driver will only read register 40001 (2 bytes so 2 characters). If you want a string longer than 2 characters you have to create your tag as an array of characters so the driver knows how long the string is. So if you want a string of length 10 you need to setup an array of length 5. image


Keywords:

MODBUS

________________________________________

Schneider Electric Norway

Finn ut mer
Produktfamilie:
Finn ut mer
Produktfamilie:

Trenger du hjelp?

Trenger du hjelp?

Produktvelger

Produktvelger

Velg riktige produkt og kompatibelt tilbehør raskt og enkelt.

Be om tilbud

Be om tilbud

Start din salgsforespørsel online, og vi vil kontakte deg.

Hvor kan du handle?

Hvor kan du handle?

Finn din nærmeste Schneider Electric-distributør enkelt.

Hjelpesenter

Hjelpesenter

Finn alle nødvendige supportressurser samlet på ett sted.

  • Produktdokumentasjon
  • Nedlasting av programvare
  • Produktvelger
  • Erstatningsprodukter og utskiftning
  • Kundesenter og support
  • Finn kontorene våre
  • Motta et pristilbud
  • Hvor kan du kjøpe produktet?
  • Schneider Electric Community
  • Karriere
  • Vår profil
  • Rapporter et pliktbrudd
  • Tilgjengelighet
  • Presserom
  • Investorer
  • EcoStruxure
  • Jobbsøk
  • Blogg
  • Personvernerklæring
  • Om informasjonskapsler
  • Vilkår for bruk
  • Change your cookie settings