고객지원

질문과 답변 (Q&A)

자주 묻는 질문(FAQ) 에서 원하는 답변을 찾지 못하셨을 경우 문의해 주세요.
최대한 빠르게 답변해 드리겠습니다.

XCom

운영중문의 S2F41 오류발생 원인확인 부탁드립니다. 2018-06-28
김자경 jkkim@koses.co.kr 282
S2F41 host command에 List가 없이 전송된거 같은데 List가 없이 전송이 되면 xcom에서 접속을 자동으로 끊어버리는지 첨부한 로그 분석 좀 부탁드립니다.

또한 아래 2가지 Alarm은 무엇을 의미하는지 확인부탁드립니다.
23:10:36 [HSMS:Alarm] HSMS Data Too Long message is detected [len=1413562634]

23:12:29 [SECS-II:Alarm] Data Too Long Message will not be handled. => errorcode 225


============================================
23:10:35 [Trace] checking S2F41 (Host Command Send (HCS))
23:10:35 [Trace] try matching {name=, format={List}, count=[2],descript=} with received message item: LIST [0]
23:10:35 [Trace] matching failed
23:10:35 [Trace] matched failed with S2F41 (Host Command Send (HCS))
23:10:35 [SECS-II:Rcv]
S2, F41, Device ID = 0, WBit = 1, SystemByte = 0000004A
LIST, 0
23:10:35 [HSMS:Rcv] Invalid Structure; S2F41
23:10:35 [SECS-II:Send]
S9, F7, Device ID = 0, WBit = 0, SystemByte = 00005480
BINARY, 10, <00 00 82 29 00 00 00 00 00 4A>
23:10:35 [Socket:Send]
00 00 00 16 00 00 09 07 00 00 00 00 54 80 21 0A 00 00 82 29 00 00 00 00 00 4A
23:10:36 [HSMS:Alarm] HSMS Data Too Long message is detected [len=1413562634]
23:10:36 [HSMS:Rcv] Illegal PType Received (33)
23:10:36 [HSMS:Send] Reject.req, 31353036
23:10:36 [Proc:Alarm] HSMS receive error [-10032]
23:10:36 [HSMS:Send] Separate.req, 00005484
23:10:36 [Socket:Send]
00 00 00 0A 49 38 33 02 00 07 31 35 30 36
23:10:36 [Socket:Send]
00 00 00 0A FF FF 00 00 00 09 00 00 54 84
23:10:36 [Proc:Event] HSMS socket was closed.
23:10:36 [HSMS:State] State Changed : Selected -> Not Connected
23:10:36 [Proc:Event] XCom restarting
23:10:36 [Proc:Event] XCom Stopped
23:10:36 [Proc:Event] XCom Started
23:10:36 [Proc:Event] XCom restarted
23:10:56 [I/F:Alarm] Cannot send S1F13 [system bytes=00005488] - Not selected state; -12004
23:10:56 [SECS-II:Send] XCom.Send() failed
23:10:59 [HSMS:State] State Changed : Not Connected -> Not Selected
23:11:09 [HSMS:Alarm] T7 Timeout
23:11:09 [Proc:Event] XCom restarting
23:11:09 [HSMS:State] State Changed : Not Selected -> Not Connected
23:11:09 [Proc:Event] XCom Stopped
23:11:09 [Proc:Event] XCom Started
23:11:09 [Proc:Event] XCom restarted
23:11:29 [I/F:Alarm] Cannot send S1F13 [system bytes=0000548a] - Not selected state; -12004
23:11:29 [SECS-II:Send] XCom.Send() failed
23:12:22 [HSMS:State] State Changed : Not Connected -> Not Selected
23:12:22 [Socket:Rcv]
00 00 00 0A FF FF 00 00 00 01 00 00 00 00
23:12:22 [HSMS:Rcv] Select.req, 00000000
23:12:22 [HSMS:Send] Select.rsp, 00000000
23:12:22 [Socket:Send]
00 00 00 0A FF FF 00 00 00 02 00 00 00 00
23:12:22 [HSMS:State] State Changed : Not Selected -> Selected
23:12:22 [SECS-II:Send]
S1, F13 [Establish Communications Request (CR)], Device ID = 0, WBit = 1, SystemByte = 0000548E
LIST, 2
ASCII, 1, [MDLN] <0>
ASCII, 1, [SOFTREV] <0>
23:12:22 [Socket:Send]
00 00 00 12 00 00 81 0D 00 00 00 00 54 8E 01 02 41 01 30 41 01 30
23:12:29 [Socket:Rcv]
00 00 00 0C 00 00 81 0D 00 00 00 00 00 01
23:12:29 [Socket:Rcv]
01 00
23:12:29 [SECS-II:Alarm] Data Too Long Message will not be handled.
==================================================
안녕하세요

링크제니시스입니다.

보내주신 로그를 확인해보면

연결이 끊긴 (비정상 메시지)인 S2F41 메시지의
Header 와 Body 가 분리되어 수신되었습니다.

그리고 중간에 다른 메시지(Linktest.req) 가 들어와
데이터의 길이가 잘못 되었습니다.


20:33:45 [Socket:Rcv]
00 00 00 50 00 00 82 29 00 00 00 00 01 46 (S2F41 메시지 Header SystemByte = 326)
20:33:45 [Socket:Rcv]
00 00 00 0A FF FF 00 00 00 05 00 00 01 47 (Linktest.req 메시지 SystemByte = 327) 01 02 41 0C 4D 41 52 4B 49 4E 47 5F 49 4E 46 4F
01 02 01 02 41 06 42 43 52 5F 49 44 41 0F 43 50 51 32 31 31 38 32 30 30 30 32 32 36 39 01
02 41 09 4D 41 52 4B 5F 44 41 54 41 41 0A 49 38 32 35 33 5A 30 30 38 38 (S2F41 메시지 Body)

위처럼 수신되어 Data Too Long 에러가 발생되었습니다.
호스트에서 메시지를 전송할 때
데이터를 확인해보셔야 할 것 같습니다.


답변 목록

  답변XCom운영중문의S2F41 오류발생 원인확인 부탁드립니다.2018-07-04


  이전글XCom제품문의C++ Builder 64bit 지원여부
  다음글XCom운영중문의라이센스 등록이 안되네요.