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

How to import Web Designer variables into Unity.

Issue
How to import Web Designer variables into Unity

Product Line
TSXETG30xx, TSXWMY100 BMXNOE0110, 140NOE77111, TSXETY5103
BMXNOR0200

Environment
Unity

Resolution
If an attempt is made to import he Web Designer variables that have been exported to a '.csv, file into Unity, an error will get returned.
The following steps can be used to import variables from a Web Designer application into Unity using the 'Namespace' variables from the Web Designer project.

  • Locate the file named 'Namespace.dat' in the Web Designer application project folder.
  • Copy the file to a temporary file.
zcv nb
  • Open the temporary file with Excel as an XML list.
vx bn

Fg

Arrange the columns into the acceptable format for the Unity variable import function.
  • Insert a new column after the 'address' column.
  • Copy the contents of the 'type' column into the new column.
  • The results is shown below.
SDfg
  • Delete all of the columns except for the ones named columns named 'symbol, address and Column1'.
  • Copy and paste the columns into Notepad.
  • The results is shown below. This is the format that Unity requires.
  • Save the changes.
DSfg
  • Delete all of the rows for any services:
DSg
  • Delete any extra rows.
dbn

The variable listed in the 'symbol' column also has the device name appended to the variable tag name. This needs to modified be either modified to the acceptable format
for the Unity import or it can be deleted.

To delete the device name:
  • Delete the text 'plc.'.by using 'Find and Replace'.
sdn

Delete the text 'device.'.by using 'Find and Replace'.
vgnb

To modify the device name:
  • Delete the text 'MAIN_'.by using 'Find and Replace'.
cfv n
  • Replace the text 'ETG '.with the test 'ETG_'.
cvb nm
  • Replace the text 'ETG3010.'.with the test 'ETG3010_'.
cx nbm

The variable types must be converted to the acceptable variable types for the Unity symbols. (i.e, replacing WORD with INT' type, etc.).
  • Replace the text 'WORD'.with the text 'INT'..
cxv n

Save the changes.
cv nb

When Excel saves the 'Namespace.dat' as a .txt file, it also saves database the index column an appends it to the variable name. This needs to be deleted.
  • Open the text file using Notepad.
  • Delete the extra column created by Excel during the save. (this accomplished by deleting the text '0'.by using 'Find and Replace'.
  • Save the text file.
 vgnh
  • Import the variables into Unity.
dfgch

Note:
  • When you build the Unity application, errors may occur due to overlapping registers assigned to the imported register. If this occurs, the variables will need to be assigned to different register numbers

Legacy KB System (APS) Data: RESL209625 V1.0, Originally authored by AlCh on 11/12/2012, Last Edited by AlCh on 11/12/2012
Related ranges: FactoryCast Gateway

슈나이더 일렉트릭 Korea

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

도움이 필요하신가요?

도움이 필요하신가요?

제품 선택기

제품 선택기

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

견적 받기

견적 받기

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

구매처

구매처

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

지원 센터

지원 센터

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

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