{}

브랜드

Impact-Company-Logo-English Black-01-177x54

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

슈나이더 일렉트릭 코리아 웹사이트 방문자 분들 모두 환영합니다.
FAQ 검색
For HMIST6 Series HMISTM6400 is it possible to return screen ID of active screens in the script?

Issue:
In the HMISTU Series HMIS5T, _CurPanelID uses the assigned variable to change the panel from the PLC to the target machine.
For HMIST6 Series HMISTM6400 is it possible to return screen ID of active screens in the script?

Product Line:
EcoStruxure Operator Terminal Expert (all versions)

Resolution:

In EcoStruxure Operator Terminal Expert, it is possible to have the screen ID of the HMI to work with a PLC register, change the displayed screen on the HMI via that PLC register or let the PLC know which screen is active on the HMI using some scripting.

For a target, the following property contains the actual screen ID:
"$Target.Target01.Preferences.ScreenID" .

In the project, use the Global Scripts below to have the Screen ID and the PLC register for the screen value to follow each other.

Global Script for PLC control of displayed screen

The first script, at the HMI startup, will do a Value Change and set the PLC variable equal to the Screen ID value of the startup screen.
The second script, upon detection of a value change in the PLC variable for the screen,  will do a Screen Change so that the HMI displayed Screen ID matches the value of the PLC variable.
The third script, upon detection of a value change of the Screen ID of the HMI, will do a Value Change and set the PLC variable equal to the Screen ID value.
This will make it so, that the HMI and the PLC always share the same value for the active screen.

See in attachment, a small example project done with Operator Terminal Expert 3.4 SP1.

슈나이더 일렉트릭 Korea

첨부 파일
Test_ScreenID.vxdz [28.02 KB]
자세히 알아보기
제품군
유용한 문서
자세히 알아보기
제품군