라벨이 Niagara Platform & Framework인 게시물 표시

JACE 랜카드 1개만 고장났을 때 다른 랜카드 사용하는 방법 (How to use the other one Ethernet Port when broken used Ethernet port)

개요 랜카드1이 물리적으로 고장났을 때  랜카드2를 활성화 시키고 이용한 방법에 대해 기술  How to use the other one Ethernet Port when broken used Ethernet port /proc/boot : 기본 명령어 집합소 (Space of basic commands) EX) qspy명령으로 리눅스의 top과같은 프로세스 점유율이나 pid등을 볼 수 있음      The "qspy" command works like the "top" command in the Linux system.  # Start io-net using the devn-ppc405.so driver and the full TCP/IP stack:   io-net -d ppc405 mac=0004ACE313DF -ptcpip       00 01 f0 95 82 93   ifconfig en0 192.168.0.10 /ffs0/etc/shells    /sin/sh /bin/ksh /sys/bin/syssh 네트워크 설정할때 ifconfig en0 inetd 192.168.11.111 netmark 255.255.255.0 위와같이 설정하면 그 내용이 /ffs0/etc/net.cfg 에 저장된다. net.cfg안에는 아래와같은 정보가 들어가있다. [global] hostname localhost domain A route 192.168.11.1 [en0] type ethernet mode manual manual_ip 192.168.11.14 manual_netmask 255.255.255.0 [en1] type ethernet mode manual manual_ip 100.0.0.101 manual_netmask 255.255.255.0 랜카드1이 램프가 안들어옴 랜카드2는 램프가 들어옴 강제로 랜카드1을 죽임 랜카드2로...

QNX Command list at shell mode 쉘명령어 모음

이미지
개요 QNX Base의 JACE8000, Web8000, Niagara Controller가 뻗었을 때 SerialShell로 접속하여 고치거나 분석하는 일들이 생긴다.  이떄 사용할 수 있는 커맨드들을 정리한다 Contents /boot (Command List 위치 확인) NiagaraController 인 8000시리즈는 리눅스와비슷한 QNX라는 RTOS를 사용한다. 임베디드용으로 포팅됐음을 절실히 느낄수 있게 help 따위는 없다.  그래서 명령어를 추적했다.  /bin 폴더안에 들어가보면 기본 명령어 리스트와 쉘 이 나온다.  그리고 모두 /proc/boot 안에 있는 명령어를 참조하고있음을 알 수 있었다.  /proc/boot 안에 가보면 사용가능한 명령어 리스트들이 주욱 나온다.  /proc/boot (Command Lists) 해당 디렉토리로 이동하여 명령어 리스트를 확인해본다.  total 33092       4 -r-xr-xr-x   1 root      root           2148 Jan 11  2021 .script* 3221225832 -r-sr-xr-x   1 root      root          24744 Jan 11  2021 actrld* 3221225711 -r-xr-xr-x   1 root      root          17780 Apr 01  2020 arp* 3221225712 -r-xr-xr-x  ...

NiagaraFramework Development Permission

이미지
개요 module://docDeveloper/doc/secu rity/requestingPermissions.htm l   Nicholas.Dodd  (Tridium Europe Limited) @Laurent1  (installProg) ​ You will need to include an xml element such as this:   <req-permission> <name>NETWORK_COMMUNICATION</n ame> <purposeKey>This module needs to perform FTP because.........</purposeKey> <parameters> <!-- The hosts to/from which we can open/accept a connection, you may use * or *.something or a specific ip address, make as specific as you can--> <parameter name="hosts" value="127.0.0.1"/> <!-- A comma-separated list of the ports over which we can connect to the host --> <parameter name="ports" value="21"/> </parameters> </req-permission>   See the doc developer help for further guidance on requesting module permissions, including which others are available, and all the different parameters for the NETWORK_COMMUNICATION permission:   module://doc...

전력감시 용어정리

이미지
개요 전력감시제어를 위한 기본적인 용어정리 Contents 전력감시 용어정리 ALTS (Automatic Load Transfer Switch) 자동 부하 절체 개폐기  22.9kV-Y 배전선로에 사용되는 개폐기로 큰 피해를 입을 수 있는 수용가에 이중전원을 확보하여 주전원 정전시 또는 주전원이 기준전압 이하로 떨어질 경우 예비전원으로 자동 절체되어 수용가에 높은 신뢰도로 전원을 공급하기 위한 기기 L.B.S (Load Breaker Switch) 부하 개폐기 A.S.S (Auto Section Switch) 자동 고장 구간 개폐기 V.C.B (Vacuum Circuit Breaker) 진공 차단기 C.O.S (Cut Out Switch) 차단 개폐기 P.F (Power Fuse) 전력 휴즈 M.O.F (Metering Out Fit) 계전용 변압 변류기 P.T (Potential Transformer) 계기용 변압기 C.T (Current Transformer) 계기용 변류기 TR(Transformer) 변압기 A.C.B (Air Circuit Breaker) 기중차단기 A.T.S (Auto Tranfor Switch) 자동 정체 개폐기 V.S.S (Vacuum Contactor Switch) 진동 자동 절체 개폐기 M.C.C.B (Molded Case Circuit Breaker) 배선용 차단기 E.L.D (Earth Leakage Breaker) 누전 차단기 O.C.R (Over Current Relay) 과전류 계전기 O.C.G.R (Over Current Ground Relay) 접지 과전류 계전기 U.V.R (Under Voltage Relay) 부족 전압 계전기 O.V.R (Over Voltage Relay) 과전압 계전기 O.V.G.R (Over Voltge Ground Relay) 과전압 지락 계전기 P.T.T(V.T.T) (P.T Test Ter...

How to receive pulse data with Honeywell Spyder & IO-R-34

이미지
  Spyder  Honeywell spyder장비를 가지고 자동제어 프로젝트를 진행하다보면 Pulse 데이터를 spyder모듈로 받아야 하는 경우가 생긴다. 이 경우 인식을 할수있는 spyder장비가 분류가 되어있으며 UI-1단자만 사용 가능하다.  pulse 데이터를 인식하는 제품군은 아래와 같다. ▲Spyder® BACnet® Programmable Controllers메뉴얼 내용 Pulse 데이터를 인식할 수 있는 제품군 : PUB1012S, PUB4042S, PVB4022AS, PVB4042NS  그렇다면 위 제품들이 실제로 펄스를 인식하는지에 대해서와 어떠한 셋팅을 해서 사용해야 하는지에 대해 정리를 해보겠다. ◎ 테스트 조건 -JACE      : WEB-600E -SPYDER  : PVB4024NS -Program : WEBStation-AX(3.8.5) -Protocol : BACNET  1.물리적 연결 - PC와 JACE간 랜선을 통해 통신할수 있게 결선한다, - JACE와 Spyder간 485선을 통해 BACNET통신을 할 수 있게 결선해준다. - Spyder모듈의 UI-1단자에 접점 테스트를 할수 있게 선을 연결해준다. 2. Spyder 디스커버 - Nigara WEBStation-AX(3.8.5)프로그램을 실행시키고 설치한 JACE로 접속한다. - BacnetNetwork를 활성화 시키고 결선한 PVB4024를 디스커버 한다. 3. UI-1 셋팅 -spyder Engineering Mode로 들어가  honeywellSpyderTool 모듈을 통해 UI포인트를 추가한다. -UI-1 포인트의 Configure Properties로 들어가  포인트를 설정한다. Point Type : Modulating Input Type : Counter DataType : 2Bits -spyder를 다운로드한다. ※pulse데이터를 인식할수 있는 모델군들은...

NiagaraFramework BQL expression

개요 Niagara Framework 에서 사용하기위한 BQL 예제모음 Contents 쿼리 예제 모음 Down Status bql:select name as 'Name',out.value as 'Value',slotPath as 'Ord' from control:ControlPoint where status.down = 'true' Disabled Status bql:select name as 'Name',out.value as 'Value',slotPath as 'Ord' from control:ControlPoint where status.disabled = 'true' overridden Status bql:select name as 'Name',out.value as 'Value',slotPath as 'Ord' from control:ControlPoint where status.overridden = 'true' Active Alarm Point Name and Status bql:select name as 'Point Name',out as 'Point Status' from control:ControlPoint where status.alarm = 'true' Active Alarms Filtered by Alarm Class bql:select * from alarm:AlarmSourceExt where alarmClass = 'defaultAlarmClass' and status.alarm = true LastOkTime bql:select parent.name as 'Device', down as 'Do...

JACE8000 Web8000 Osupdate Forced, Faild to run niagarad in controller

이미지
개요 Niagara Framework는 AX 라는 3버전대부터 N4라는 4버전대에 이르는 현재까지  꾸준이 개발되어지고 있고 믿을 수 있는 프레임워크다.  하지만 너무 빠른 개발속도와 변화로 버전간에 불편한 상황이 발생하곤 한다.  이 내용은 컨트롤러에서 NiagaraD가 실행되지 않을 떄 할 수 있는 조치사항이다.  NiagaraD가 실행되지 않으면 플렛폼에 접속할 수 없으며 그럼 많은 제약이 생긴다 Contents problem 문제발견 WARNING [14:28:07 15-Mar-2022] [tid = 1] niagarad: /opt/niagara/bin/nreVersion.xml does not exist, reverting to fallback values ERROR   [14:28:21 15-Mar-2022] [tid = 1] niagarad: policy file verification failed. Policy files may have been tampered with. Cause is: [/opt/niagara/security/policy/java.security failed signing verification] ERROR   [14:28:21 15-Mar-2022] [tid = 1] niagarad: throwable occurred while initializing daemon (java.lang.SecurityException), can not continue sysmon: niagarad is no longer running 콘솔로 접속하면 위와같은 메시지가 나타나며 데몬이 죽는다.  Niagarad 가 죽으면 Platform에 접속을 할 수 없고 많은 제약이 따른다.  이런 사례들이 종종 있음을 확인했고 시간을좀 당기면 해결된다는 케이스도 있었지만 ...