How to show offset in TIA Portal DB. Get link Facebook X Pinterest Email Other Apps July 11, 2022 There's no information on OFFSET.You can show the offset by changing the property of DB. Now, you can find the offset in DB. Get link Facebook X Pinterest Email Other Apps Comments
지멘스 프로그램 설치 시 재부팅 오류 조치 방법 February 13, 2023 지멘스 프로그램을 설치할 때 간혹가다 재부팅하라는 메세지가 뜰 때가 있다. 이 경우 재부팅을 하고 와도 다시 재부팅하라는 무한 재부팅의 늪에 빠지는 경우가 있다. 이를 해결 하는 방법은 아래와 같다. Read more
SCL로 만든 DYNAMIC DWORD ARRAY SWAPPING FC March 03, 2023 - SCL FC - Test FC - Result DB - Source Code FUNCTION "DwordBlkSwap" : Void { S7_Optimized_Access := 'TRUE' } VERSION : 0.1 VAR_INPUT realBlk : Array[*] OF Real; END_VAR VAR_OUTPUT swappedRealBlk : Array[*] OF Real; END_VAR VAR_IN_OUT END_VAR VAR_TEMP tempDword : DWord; size : DInt; start : DInt; cnt : DInt; END_VAR VAR CONSTANT END_VAR BEGIN (* Author : Dongwon Kim, HMGICS Smart Maintenance Date : 2023.2.28 Purpose : For dword array [any element] data swap and conversion *) #size := UPPER_BOUND(ARR := #realBlk, DIM := 1); #start := LOWER_BOUND(ARR := #realBlk, DIM := 1); FOR #cnt := #start TO #size DO // Statement section FOR #tempDword := REAL_TO_DWORD(#realBlk[#cnt]); #tempDword := SWAP(#tempDword); #swappedRealBlk[#cnt] := DWORD_TO_REAL(#tempDword); END_FOR; END_FUNCTION Read more
PLCSIM Advanced V2.0 SP1 실행 시 Module "CPUcommon" has an incompatible firmware version. 에러 발생 시 대처방안 July 26, 2022 PLCSIM Advanced V2.0 SP1 실행하여 1500시리즈 PLC CPU를 생성함 실행 후 다운로드를 TIA PORTAL에서 실행하면 에러 발생 PLCSIM Advanced V2.0 매뉴얼을 보면 F/W 지원 내역이 아래와 같다. CPU F/W를 바꿔본다. 이제 다운로드를 할 수 있다. PLCSIM에서도 CPU가 정상적으로 START된다. 모니터링도 정상적으로 된다. Read more
Comments
Post a Comment