undefined undefined
{}

브랜드

슈나이더 일렉트릭 코리아 웹사이트에 방문해 주셔서 감사합니다.

슈나이더 일렉트릭 코리아 웹사이트 방문자 분들 모두 환영합니다.
오늘 무엇을 도와드릴까요?
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

슈나이더 일렉트릭 Korea

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

슈나이더 일렉트릭 Korea

자세히 알아보기
제품군
자세히 알아보기
제품군
자세히 알아보기
제품군
자세히 알아보기
제품군
move-arrow-top
Your browser is out of date and has known security issues.

It also may not display all features of this website or other websites.

Please upgrade your browser to access all of the features of this website.

Latest version for Google Chrome, Mozilla Firefox or Microsoft Edgeis recommended for optimal functionality.
Your browser is out of date and has known security issues.

It also may not display all features of this website or other websites.

Please upgrade your browser to access all of the features of this website.

Latest version for Google Chrome, Mozilla Firefox or Microsoft Edgeis recommended for optimal functionality.