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
지멘스 --|N|--: Scan operand for negative signal edge 사용법 October 07, 2023 |P| 와 전반적으로 사용법은 동일하나 다만 차이점은 출력이 하강 엣지 (Negative Edge) 시 On된다는 것이 다르다. Read more
Comments
Post a Comment