오늘 무엇을 도와드릴까요?

An Unhandled Exception appears when I type an opening parenthesis to instantiate a function call in Structured Text

Issue
In EcoStruxure Machine Expert / SoMachine, after declaring a Function Block in a POU's declaration area previously, if I type an opening parenthesis "(" after typing the name of the function block in Structured Text language, an Unhandled Exception message pops up starting with:
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at . . (String , ISignature& , LList`1& )
at . . (String , IVariable& , ISignature& , IPrecompileScope& )
at . . (VariableExpression )
at _3S.CoDeSys.LanguageModelManager.VariableExpression. ( )
at _3S.CoDeSys.LanguageModelManager.PreCompileContext.FindSubelements(Guid guidSignature, String stAccessPathOrType, FindSubelementsFlags flags, Boolean& bError)
at _3S.CoDeSys.IECTextEditor.IECTextEditor.GetQuickTipData(String accessPath)
at _3S.CoDeSys.IECTextEditor.TokenMarker.GetQuickTipForPosition(SynEdControl syned, Int32 position, QuickTipData& quickTipData, Int32& quickTipPosition)


Product Line
EcoStruxure Machine Expert / SoMachine

Environment
PLC Configuration Software

Cause
The likely cause is that if the POU where the Function Block is defined is Excluded from Build, the context lookup will not be able to auto-complete the phrase.

Resolution
Steps:
  1. Find the POU that has the declaration of the Function Block you wish to use in it that is Excluded from Build. The node that are excluded from build will appear as light-blue text under Application.
  2. Right-click on the POU where the Function block is declared (it may be different than the POU that you are writing the Structured Text program).
  3. Select Properties
  4. Click on the "Build" tab
  5. Untick "Exclude from build"
  6. Click OK
POU

If this FAQ did not solve your issue, you can chat with us at chat with us or e-mail us at customer.services@se.com to create a case with our Technical Support Team.

If you are not located in North America, please contact your local Customer Care Center for assistance:
Support | Schneider Electric Global (se.com)

슈나이더 일렉트릭 Korea

자세히 알아보기
제품군
자세히 알아보기
제품군

도움이 필요하신가요?

도움이 필요하신가요?

제품 선택기

제품 선택기

애플리케이션에 적합한 제품과 액세서리를 빠르고 쉽게 찾을 수 있습니다.

견적 받기

견적 받기

영업 관련하여 온라인으로 문의하시면 전문가가 연락드립니다.

구매처

구매처

해당 지역의 가장 가까운 슈나이더 일렉트릭 대리점을 쉽게 찾을 수 있습니다.

지원 센터

지원 센터

한 곳에서 모든 요구 사항에 대한 지원 리소스를 찾아보십시오.

  • 제품 문서
  • 소프트웨어 다운로드
  • 제품 선택기
  • 제품 대체 및 교체
  • 지원 및 연락처 센터
  • 영업소 검색
  • 견적 받기
  • 슈나이더 일렉트릭 커뮤니티
  • 채용
  • 회사 소개
  • 부정 행위 보고
  • 접근성
  • 뉴스룸
  • 투자자
  • Ecostruxure
  • 작업 검색
  • 블로그
  • 개인정보 취급방침
  • 쿠키 공지
  • 사용 약관
  • Change your cookie settings