Hoe kunnen wij u vandaag helpen?

GetIDN_S and GetIDN_P 2 bytes in TSXCSYxx and MMS Sercos Modules

Goals and Symptoms

The purpose of this resolution is to inform the user on the behavior when using the command GetIDN_S (opcode 1556) or Get IDN_P ( opcode 1557 ) from a Quantum (or) a Premium SERCOS Controller.

Facts and Changes

When a 2 bytes IDN is gets the PLC haven't any possibility to know if the value is signed or not. So, the PLC register accommodate values from -32767 to + 32767 in signed format
Due to the above reason, values for IDN_S ( or _P ) 2 bytes set higher than 32767 when read, will be returned as follows:

(i) 32768 -> -32768
(ii) 32769-> -32767
(iii) 35000 -> -30536 in signed format. Unsigned format will result in a huge number.

Causes and Fixes

When GetIDN_S ( or _P ) returns a negative value, it may be converted to its positive equivalent by adding 65536.
For example, -30536 + 65536 = 35000 and so on. There is no implication on using the SetIDN_S ( or _P) command for the same IDN which is Unsigned decimal format.


Legacy KB System (APS) Data: RESL182198 V1.0, Originally authored by PhBr on 02/16/2007, Last Edited by PhBr on 02/16/2007
Related ranges: Modicon Premium

Schneider Electric Belgium

Ontdek meer
Productfamilie
Ontdek meer
Productfamilie

Hulp nodig?

Hulp nodig?

Selecteer zelf het juiste product

Selecteer zelf het juiste product

Vind snel en eenvoudig de juiste producten en toebehoren voor uw toepassingen.

Offerte aanvragen

Offerte aanvragen

Dien uw aanvraag online in en een expert zal contact met u opnemen.

Verkooppunten

Verkooppunten

Vind eenvoudig de dichtstbijzijnde distributeur van Schneider Electric op uw locatie.

Help Center

Help Center

Vind de antwoorden die u nodig heeft via bladeren door veelgestelde vragen over onderwerpen.

  • Productdocumentatie
  • Software & firmware
  • Productselector
  • Productvervanging
  • Help- en Contact Center
  • Vind onze kantoren
  • Offerte aanvragen?
  • Verkooppunten
  • Schneider Electric Community
  • Werken bij
  • Bedrijfsprofiel
  • Wangedrag melden
  • Toegankelijkheid
  • Newsroom
  • Investeerders
  • EcoStruxure
  • Vacature zoeken
  • Blog
  • Als eerste op de hoogte nieuws?
  • Privacybeleid
  • Cookieverklaring
  • Gebruiksvoorwaarden
  • Algemene verkoop- en inkoopvoorwaarden
  • Change your cookie settings