Skip to content

IO

상태 알림

설명:알림 포트 범위 최대값은 모두 현재 바인딩된 IO 수량;출력 방식 범위는 모두 [0,2], 0은 0, 1은 1, 2는 깜빡임

호스트 컴퓨터 설정 상태 알림 매개변수

명령어: 0x7100

매개변수 설명:

매개변수 이름유형설명
outPutarray로봇 상태 알림 매개변수 목록, 길이 4
outPut[].IOenableint로봇 전원 인가 상태 알림 포트
outPut[].IOenable_valueint로봇 전원 인가 상태 출력 방식, 범위 [0,2]
outPut[].continuableint로봇 실행 계속 가능 상태 알림 포트
outPut[].continuable_valueint로봇 실행 계속 가능 상태 출력 방식, 범위 [0,2]
outPut[].faultint로봇 오류 알림 상태 알림 포트
outPut[].faultIsFicklerint로봇 오류 알림 상태 출력 방식, 범위 [0,2]
outPut[].mainJobFirstLineint로봇 메인 프로그램 첫 행 상태 알림 포트
outPut[].mainJobFirstLine_valueint로봇 메인 프로그램 첫 행 상태 출력 방식, 범위 [0,2]
outPut[].pauseint로봇 일시정지 상태 알림 포트
outPut[].pause_valueint로봇 일시정지 상태 출력 방식, 범위 [0,2]
outPut[].quickStopOut1int로봇 긴급 정지 1 상태 알림 포트
outPut[].quickStopOut2int로봇 긴급 정지 2 상태 알림 포트
outPut[].quickStopOutValue1int로봇 긴급 정지 1 상태 출력 방식, 범위 [0,2]
outPut[].quickStopOutValue2int로봇 긴급 정지 2 상태 출력 방식, 범위 [0,2]
outPut[].runningint로봇 실행 상태 알림 포트
outPut[].running_valueint로봇 실행 상태 출력 방식, 범위 [0,2]
outPut[].stopint로봇 정지 상태 알림 포트
outPut[].stop_valueint로봇 정지 상태 출력 방식, 범위 [0,2]
outPut[].teachBoxStateOutint티치 펜던트 분리 출력 포트(로봇 1에만 존재)
outPut[].teachBoxStateOutValueint티치 펜던트 분리 출력 방식, 범위 [0,2](로봇 1에만 존재)
remoteOutint원격 모드 상태 알림 포트
remoteOut_valueint원격 모드 상태 출력 방식, 범위 [0,2]
runOutint동작 모드 상태 알림 포트
runOut_valueint동작 모드 상태 출력 방식, 범위 [0,2]
startUpint시동 상태 알림 포트
startUp_valueint시동 상태 출력 방식, 범위 [0,2]
teachOutint티치 모드 상태 알림 포트
teachOut_valueint티치 모드 상태 출력 방식, 범위 [0,2]

요청 예시:

json
{
  "outPut":
  [
    {
      "IOenable":5,
      "IOenable_value":1,
      "continuable":8,
      "continuable_value":1,
      "fault":4,
      "faultIsFickler":1,
      "mainJobFirstLine":9,
      "mainJobFirstLine_value":2,
      "pause":2,
      "pause_value":1,
      "quickStopOut1":6,
      "quickStopOut2":7,
      "quickStopOutValue1":1,
      "quickStopOutValue2":1,
      "running":1,
      "running_value":1,
      "stop":3,
      "stop_value":1,
      "teachBoxStateOut":17,
      "teachBoxStateOutValue":2
    },
    {
      "IOenable":0,
      "IOenable_value":1,
      "continuable":0,
      "continuable_value":1,
      "fault":0,
      "faultIsFickler":1,
      "mainJobFirstLine":24,
      "mainJobFirstLine_value":0,
      "pause":0,
      "pause_value":1,
      "quickStopOut1":0,
      "quickStopOut2":0,
      "quickStopOutValue1":1,
      "quickStopOutValue2":1,
      "running":0,
      "running_value":1,
      "stop":0,
      "stop_value":1
    },
    {
      "IOenable":0,
      "IOenable_value":1,
      "continuable":0,
      "continuable_value":1,
      "fault":0,
      "faultIsFickler":0,
      "mainJobFirstLine":0,
      "mainJobFirstLine_value":1,
      "pause":0,
      "pause_value":1,
      "quickStopOut1":0,
      "quickStopOut2":0,
      "quickStopOutValue1":1,
      "quickStopOutValue2":1,
      "running":0,
      "running_value":1,
      "stop":0,
      "stop_value":1
    },
    {
      "IOenable":0,
      "IOenable_value":1,
      "continuable":0,
      "continuable_value":1,
      "fault":0,
      "faultIsFickler":0,
      "mainJobFirstLine":0,
      "mainJobFirstLine_value":1,
      "pause":0,
      "pause_value":1,
      "quickStopOut1":0,
      "quickStopOut2":0,
      "quickStopOutValue1":1,
      "quickStopOutValue2":1,
      "running":0,
      "running_value":1,
      "stop":0,
      "stop_value":1
    }
  ],
  "remoteOut":19,
  "remoteOut_value":2,
  "runOut":20,
  "runOut_value":2,
  "startUp":18,
  "startUp_value":0,
  "teachOut":21,
  "teachOut_value":2
}

호스트 컴퓨터 조회 상태 알림 매개변수

명령어: 0x7101

요청 예시:

json
{}

컨트롤러 회신 호스트 컴퓨터 상태 알림 매개변수

명령어: 0x7102

매개변수 설명:

매개변수 이름유형설명
outPutarray로봇 상태 알림 매개변수 목록, 길이 4
remoteOutint원격 모드 상태 알림 포트
remoteOut_valueint원격 모드 상태 출력 방식, 범위 [0,2]
runOutint동작 모드 상태 알림 포트
runOut_valueint동작 모드 상태 출력 방식, 범위 [0,2]
startUpint시동 상태 알림 포트
startUp_valueint시동 상태 출력 방식, 범위 [0,2]
teachOutint티치 모드 상태 알림 포트
teachOut_valueint티치 모드 상태 출력 방식, 범위 [0,2]

응답 예시:

json
{
  "outPut":
  [
    {
      "IOenable":5,
      "IOenable_value":1,
      "continuable":8,
      "continuable_value":1,
      "fault":4,
      "faultIsFickler":1,
      "mainJobFirstLine":9,
      "mainJobFirstLine_value":2,
      "pause":2,
      "pause_value":1,
      "quickStopOut1":6,
      "quickStopOut2":7,
      "quickStopOutValue1":1,
      "quickStopOutValue2":1,
      "running":1,
      "running_value":1,
      "stop":3,
      "stop_value":1,
      "teachBoxStateOut":17,
      "teachBoxStateOutValue":2
    },
    {
      "IOenable":0,
      "IOenable_value":1,
      "continuable":0,
      "continuable_value":1,
      "fault":0,
      "faultIsFickler":1,
      "mainJobFirstLine":24,
      "mainJobFirstLine_value":0,
      "pause":0,
      "pause_value":1,
      "quickStopOut1":0,
      "quickStopOut2":0,
      "quickStopOutValue1":1,
      "quickStopOutValue2":1,
      "running":0,
      "running_value":1,
      "stop":0,
      "stop_value":1
    },
    {
      "IOenable":0,
      "IOenable_value":1,
      "continuable":0,
      "continuable_value":1,
      "fault":0,
      "faultIsFickler":0,
      "mainJobFirstLine":0,
      "mainJobFirstLine_value":1,
      "pause":0,
      "pause_value":1,
      "quickStopOut1":0,
      "quickStopOut2":0,
      "quickStopOutValue1":1,
      "quickStopOutValue2":1,
      "running":0,
      "running_value":1,
      "stop":0,
      "stop_value":1
    },
    {
      "IOenable":0,
      "IOenable_value":1,
      "continuable":0,
      "continuable_value":1,
      "fault":0,
      "faultIsFickler":0,
      "mainJobFirstLine":0,
      "mainJobFirstLine_value":1,
      "pause":0,
      "pause_value":1,
      "quickStopOut1":0,
      "quickStopOut2":0,
      "quickStopOutValue1":1,
      "quickStopOutValue2":1,
      "running":0,
      "running_value":1,
      "stop":0,
      "stop_value":1
    }
  ],
  "remoteOut":19,
  "remoteOut_value":2,
  "runOut":20,
  "runOut_value":2,
  "startUp":18,
  "startUp_value":0,
  "teachOut":21,
  "teachOut_value":2
}

IO 리셋

설명:"enable"과 "value" 노드 길이는 모두 128이며, 실제 유효 데이터는 현재 IO의 총 포트 수이고, 초과 부분은 기본값 0

호스트 컴퓨터 설정 IO 리셋 매개변수

명령어: 0x7110

매개변수 설명:

매개변수 이름유형설명
enablearray리셋 여부;bool 유형, 길이 128
robotint설정할 로봇 번호, 범위 [1,4]
typeint설정할 리셋 유형, 범위 [1,3]
1:원격 IO 리셋
2:모드 전환 정지
3:프로그램 오류
valuearray출력 포트 리셋 값;int 유형, 범위 [0,1], 길이 128

요청 예시:

json
{
  "enable":[0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,
            0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
            0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
            0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
            0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
            0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
            0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
            0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
  "robot":1,
  "type":1,
  "value":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
            0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
            0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
            0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
            0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
            0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
            0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
            0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
}

호스트 컴퓨터 조회 IO 리셋 매개변수

명령어: 0x7111

매개변수 설명:

매개변수 이름유형설명
robotint조회할 로봇 번호, 범위 [1,4]
typeint조회할 리셋 유형, 범위 [1,3]
1:원격 IO 리셋
2:모드 전환 정지
3:프로그램 오류

요청 예시:

json
{
  "robot":1,
  "type":1
}

컨트롤러 회신 호스트 컴퓨터 IO 리셋 매개변수

명령어: 0x7112

매개변수 설명:

매개변수 이름유형설명
enablearray리셋 여부;bool 유형, 길이 128
robotint로봇 번호, 범위 [1,4]
typeint리셋 유형, 범위 [1,3]
1:원격 IO 리셋
2:모드 전환 정지
3:프로그램 오류
valuearray출력 포트 리셋 값;int 유형, 범위 [0,1], 길이 128

응답 예시:

json
{
  "enable":[0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,
            0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
            0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
            0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
            0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
            0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
            0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
            0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
  "robot":1,
  "type":1,
  "value":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
            0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
            0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
            0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
            0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
            0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
            0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
            0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
}

IO 기능 상태

호스트 컴퓨터 조회 IO 기능 상태

명령어: 0x7120

매개변수 설명:

매개변수 이름유형설명
typeintIO 상태 유형, 범위 [1,4]
1:디지털 입력
2:디지털 출력
3:아날로그 입력
4:아날로그 출력

요청 예시:

json
{
  "type":1
}

컨트롤러 회신 호스트 컴퓨터 IO 기능 상태

명령어: 0x7121

매개변수 설명:

매개변수 이름유형설명
IOFunctionarrayIO 기능 목록;string 유형, 길이는 현재 IO 포트 수량
typeintIO 상태 유형, 범위 [1,4]
1:디지털 입력
2:디지털 출력
3:아날로그 입력
4:아날로그 출력

응답 예시:

json
{
  "IOFunction":["","","","","드래그:드래그 티치 외부 트리거 신호 ","","","",
                "","","","","","하드와이어 인에이블 포트 1 ","안전:로봇1 긴급 정지 1 안전:로봇2 긴급 정지 1 ","",
                "","원격:로봇1 시작 원격:로봇1 프로그램1 선택 ","","","","","","",
                "","","","","","","",""],
  "type":1
}

IO 구성

설명:시리얼 아날로그 IO 매개변수(EtherCAT IO 보드에 아날로그 IO가 있으면 해당 시리얼 아날로그 IO는 무효)

호스트 컴퓨터 설정 IO 구성 매개변수

명령어: 0x7130

매개변수 설명:

매개변수 이름유형설명
serialAnalogobject시리얼 아날로그 매개변수
serialAnalog.baudRateint보드레이트
serialAnalog.portint포트 번호, 범위 (0,65535]
serialAnalog.typestring아날로그 유형
"DAC_ANAIO":DAC 아날로그 IO 보드
"SUPER_ANAIO":격제어 아날로그 IO 보드
simuNumint가상 IO 수량, 범위 [0,4]

요청 예시:

json
{
  "serialAnalog":
  {
    "baudRate":115200,
    "port":2,
    "type":"SUPER_ANAIO"
  },
  "simuNum":2
}

호스트 컴퓨터 조회 IO 구성 매개변수

명령어: 0x7131

요청 예시:

json
{}

컨트롤러 회신 호스트 컴퓨터 IO 구성 매개변수

명령어: 0x7132

매개변수 설명:

매개변수 이름유형설명
numintIO 수량(실제 IO와 가상 IO의 총 수량 포함)
portNumarray각 IO 포트 수 2차원 배열;int 유형
1차원:IO 번호, 2차원 순서대로:디지털 입력 포트 수, 디지털 출력 포트 수, 아날로그 입력 포트 수, 아날로그 출력 포트 수
serialAnalogobject시리얼 아날로그 매개변수
serialAnalog.baudRateint보드레이트
serialAnalog.portint포트 번호, 범위 (0,65535]
serialAnalog.typestring아날로그 유형
simuNumint가상 IO 수량, 범위 [0,4]
typearray연결된 IO 보드 모델 목록;string 유형

응답 예시:

json
{
  "num":2,
  "portNum":
  [
    [16,16,2,2],
    [16,16,2,2]
  ],
  "serialAnalog":
  {
    "baudRate":115200,
    "port":2,
    "type":"SUPER_ANAIO"
  },
  "simuNum":2,
  "type":["가상 IO","가상 IO"]
}

안전 설정

호스트 컴퓨터 설정 안전 설정 매개변수

명령어: 0x7140

매개변수 설명:

매개변수 이름유형설명
quickStopobject긴급 정지 매개변수
quickStop.enablebool긴급 정지 인에이블
quickStop.port1int긴급 정지 1 디지털 입력 포트
quickStop.port2int긴급 정지 2 디지털 입력 포트
quickStop.shieldFlag1bool긴급 정지 1 차단
quickStop.shieldFlag2bool긴급 정지 2 차단
quickStop.shieldTimeint긴급 정지 차단 시간, 범위 [0,100000)s
quickStop.timedouble급정지 시간, 범위 [50,200]ms
quickStop.value1int긴급 정지 1 디지털 입력 매개변수, 범위 [0,1]
quickStop.value2int긴급 정지 2 디지털 입력 매개변수, 범위 [0,1]
robotint설정할 로봇 번호, 범위 [1,4]
safeScreenobject안전 라이트 커튼 매개변수
safeScreen.enablebool안전 라이트 커튼 인에이블
safeScreen.port1int안전 라이트 커튼 1 디지털 입력 포트
safeScreen.port2int안전 라이트 커튼 2 디지털 입력 포트
safeScreen.value1int안전 라이트 커튼 1 디지털 입력 매개변수, 범위 [0,1]
safeScreen.value2int안전 라이트 커튼 2 디지털 입력 매개변수, 범위 [0,1]

요청 예시:

json
{
  "quickStop":
  {
    "enable":true,
    "port1":15,
    "port2":0,
    "shieldFlag1":false,
    "shieldFlag2":true,
    "shieldTime":30,
    "time":60.0,
    "value1":1,
    "value2":1
  },
  "robot":1,
  "safeScreen":
  {
    "enable":true,
    "port1":8,
    "port2":0,
    "value1":1,
    "value2":1
  }
}

호스트 컴퓨터 조회 안전 설정 매개변수

명령어: 0x7141

매개변수 설명:

매개변수 이름유형설명
robotint조회할 로봇 번호, 범위 [1,4]

요청 예시:

json
{
  "robot":1
}

컨트롤러 회신 호스트 컴퓨터 안전 설정 매개변수

명령어: 0x7142

매개변수 설명:

매개변수 이름유형설명
quickStopobject긴급 정지 매개변수
quickStop.enablebool긴급 정지 인에이블
quickStop.port1int긴급 정지 1 디지털 입력 포트
quickStop.port2int긴급 정지 2 디지털 입력 포트
quickStop.shieldFlag1bool긴급 정지 1 차단
quickStop.shieldFlag2bool긴급 정지 2 차단
quickStop.shieldTimeint긴급 정지 차단 시간, 범위 [0,100000)s
quickStop.timedouble급정지 시간, 범위 [50,200]ms
quickStop.value1int긴급 정지 1 디지털 입력 매개변수, 범위 [0,1]
quickStop.value2int긴급 정지 2 디지털 입력 매개변수, 범위 [0,1]
robotint로봇 번호, 범위 [1,4]
safeScreenobject안전 라이트 커튼 매개변수
safeScreen.enablebool안전 라이트 커튼 인에이블
safeScreen.port1int안전 라이트 커튼 1 디지털 입력 포트
safeScreen.port2int안전 라이트 커튼 2 디지털 입력 포트
safeScreen.value1int안전 라이트 커튼 1 디지털 입력 매개변수, 범위 [0,1]
safeScreen.value2int안전 라이트 커튼 2 디지털 입력 매개변수, 범위 [0,1]

응답 예시:

json
{
  "quickStop":
  {
    "enable":true,
    "port1":15,
    "port2":0,
    "shieldFlag1":false,
    "shieldFlag2":true,
    "shieldTime":30,
    "time":60.0,
    "value1":1,
    "value2":1
  },
  "robot":1,
  "safeScreen":
  {
    "enable":true,
    "port1":8,
    "port2":0,
    "value1":1,
    "value2":1
  }
}

포트 트리거 정보

설명:포트가 트리거되면 컨트롤러는 호스트 컴퓨터에 설정된 정보를 전송하여 알림

호스트 컴퓨터 설정 디지털 입력 포트 트리거 정보

명령어: 0x7150

매개변수 설명:

매개변수 이름유형설명
enablearray정보 트리거 인에이블;int 유형, 범위 [0,1], 길이 32
msgarray정보 트리거 시 전송되는 메시지;string 유형, 길이 32
msgTypearray정보 트리거 유형;int 유형, 범위 [0,2]
0:메시지
1:경고
2:오류, 길이 32
valuearray정보 트리거 매개변수;int 유형, 범위 [0,1], 길이 32

요청 예시:

json
{
  "enable":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0],
  "msg":["","","","","","","","","","","","","","","","","","","","","AAAAA","","","","","","","","","","",""],
  "msgType":[0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,2,2,2,2,2,2,2,2,2,2,2],
  "value":[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]
}

호스트 컴퓨터 조회 디지털 입력 포트 트리거 정보

명령어: 0x7151

요청 예시:

json
{}

컨트롤러 회신 호스트 컴퓨터 디지털 입력 트리거 정보

명령어: 0x7152

매개변수 설명:

매개변수 이름유형설명
enablearray정보 트리거 인에이블;int 유형, 범위 [0,1], 길이 32
msgarray정보 트리거 시 전송되는 메시지;string 유형, 길이 32
msgTypearray정보 트리거 유형;int 유형, 범위 [0,2]
valuearray정보 트리거 매개변수;int 유형, 범위 [0,1], 길이 32

응답 예시:

json
{
  "enable":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0],
  "msg":["","","","","","","","","","","","","","","","","","","","","AAAAA","","","","","","","","","","",""],
  "msgType":[0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,2,2,2,2,2,2,2,2,2,2,2],
  "value":[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]
}

호스트 컴퓨터 설정 디지털 출력 포트 트리거 정보

명령어: 0x7153

매개변수 설명:

매개변수 이름유형설명
enablearray정보 트리거 인에이블;int 유형, 범위 [0,1], 길이 32
msgarray정보 트리거 시 전송되는 메시지;string 유형, 길이 32
msgTypearray정보 트리거 유형;int 유형, 범위 [0,2]
valuearray정보 트리거 매개변수;int 유형, 범위 [0,1], 길이 32

요청 예시:

json
{
  "enable":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0],
  "msg":["","","","","","","","","","","","","","","","","","","","","AAAAA","","","","","","","","","","",""],
  "msgType":[0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,2,2,2,2,2,2,2,2,2,2,2],
  "value":[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]
}

호스트 컴퓨터 조회 디지털 출력 포트 트리거 정보

명령어: 0x7154

요청 예시:

json
{}

컨트롤러 회신 호스트 컴퓨터 디지털 출력 트리거 정보

명령어: 0x7155

매개변수 설명:

매개변수 이름유형설명
enablearray정보 트리거 인에이블;int 유형, 범위 [0,1], 길이 32
msgarray정보 트리거 시 전송되는 메시지;string 유형, 길이 32
msgTypearray정보 트리거 유형;int 유형, 범위 [0,2]
valuearray정보 트리거 매개변수;int 유형, 범위 [0,1], 길이 32

응답 예시:

json
{
  "enable":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0],
  "msg":["","","","","","","","","","","","","","","","","","","","","AAAAA","","","","","","","","","","",""],
  "msgType":[0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,2,2,2,2,2,2,2,2,2,2,2],
  "value":[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]
}

포트 명칭

설명:포트 명칭을 변경

호스트 컴퓨터 설정 디지털 입력 포트 명칭

명령어: 0x7160

매개변수 설명:

매개변수 이름유형설명
namearray설정된 디지털 입력 포트 명칭 목록;string 유형

요청 예시:

json
{
  "name":["AAA","","","","","","","","","","","","","BBB","","","","","","","","","","","","","","","","","",""]
}

호스트 컴퓨터 조회 디지털 입력 포트 명칭

명령어: 0x7161

요청 예시:

json
{}

컨트롤러 회신 호스트 컴퓨터 디지털 입력 포트 명칭

명령어: 0x7162

매개변수 설명:

매개변수 이름유형설명
namearray설정된 디지털 입력 포트 명칭 목록;string 유형

응답 예시:

json
{
  "name":["AAA","","","","","","","","","","","","","BBB","","","","","","","","","","","","","","","","","",""]
}

호스트 컴퓨터 설정 디지털 출력 포트 명칭

명령어: 0x7163

매개변수 설명:

매개변수 이름유형설명
namearray설정된 디지털 출력 포트 명칭 목록;string 유형

요청 예시:

json
{
  "name":["","","","","","VV","","","","","","","","","","","","","","","","","","","","","","","","","",""]
}

호스트 컴퓨터 조회 디지털 출력 포트 명칭

명령어: 0x7164

요청 예시:

json
{}

컨트롤러 회신 호스트 컴퓨터 디지털 출력 포트 명칭

명령어: 0x7165

매개변수 설명:

매개변수 이름유형설명
namearray설정된 디지털 출력 포트 명칭 목록;string 유형

응답 예시:

json
{
  "name":["","","","","","VV","","","","","","","","","","","","","","","","","","","","","","","","","",""]
}

호스트 컴퓨터 설정 아날로그 입력 포트 명칭

명령어: 0x7166

매개변수 설명:

매개변수 이름유형설명
namearray설정된 아날로그 입력 포트 명칭 목록;string 유형

요청 예시:

json
{
  "name":["","UY","",""]
}

호스트 컴퓨터 조회 아날로그 입력 포트 명칭

명령어: 0x7167

요청 예시:

json
{}

컨트롤러 회신 호스트 컴퓨터 아날로그 입력 포트 명칭

명령어: 0x7168

매개변수 설명:

매개변수 이름유형설명
namearray설정된 아날로그 입력 포트 명칭 목록;string 유형

응답 예시:

json
{
  "name":["","UY","",""]
}

호스트 컴퓨터 설정 아날로그 출력 포트 명칭

명령어: 0x7169

매개변수 설명:

매개변수 이름유형설명
namearray설정된 아날로그 출력 포트 명칭 목록;string 유형

요청 예시:

json
{
  "name":["TY","","",""]
}

호스트 컴퓨터 조회 아날로그 출력 포트 명칭

명령어: 0x716A

요청 예시:

json
{}

컨트롤러 회신 호스트 컴퓨터 아날로그 출력 포트 명칭

명령어: 0x716B

매개변수 설명:

매개변수 이름유형설명
namearray설정된 아날로그 출력 포트 명칭 목록;string 유형

응답 예시:

json
{
  "name":["TY","","",""]
}

입력 출력

호스트 컴퓨터 설정 디지털 출력 값

명령어: 0x7180

매개변수 설명:

매개변수 이름유형설명
portint설정할 포트 번호
statusint설정할 디지털 출력 값, 범위 [0,2]
0:출력 0 < br/>1:출력 1 < br/>2:출력 값 반전 (예:원래 출력 1이면 이제 출력 0)

요청 예시:

json
{
  "port":1,
  "status":1
}

호스트 컴퓨터 조회 디지털 출력 값

명령어: 0x7181

요청 예시:

json
{}

컨트롤러 회신 호스트 컴퓨터 디지털 출력 값

명령어: 0x7182

매개변수 설명:

매개변수 이름유형설명
statusarray디지털 출력 상태 목록;int 유형, 범위 [0,1], 길이 32

응답 예시:

json
{
  "status":[0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0]
}

호스트 컴퓨터 조회 디지털 입력 값

명령어: 0x7183

요청 예시:

json
{}

컨트롤러 회신 호스트 컴퓨터 디지털 입력 값

명령어: 0x7184

매개변수 설명:

매개변수 이름유형설명
statusarray디지털 입력 상태 목록;int 유형, 범위 [0,1], 길이 32

응답 예시:

json
{
  "status":[0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0]
}

호스트 컴퓨터 설정 아날로그 출력 값

명령어: 0x7185

매개변수 설명:

매개변수 이름유형설명
portint설정할 포트 번호
valuedouble설정할 아날로그 출력 값 (해당 노드 값은 0 이상)

요청 예시:

json
{
  "port":1,
  "value":8.880
}

호스트 컴퓨터 조회 아날로그 출력 값

명령어: 0x7186

요청 예시:

json
{}

컨트롤러 회신 호스트 컴퓨터 아날로그 출력 값

명령어: 0x7187

매개변수 설명:

매개변수 이름유형설명
valuearray아날로그 출력 현재 값;double 유형

응답 예시:

json
{
  "value":[8.87939453125,0.0,0.0,0.0]
}

호스트 컴퓨터 조회 아날로그 입력 값

명령어: 0x7188

요청 예시:

json
{}

컨트롤러 회신 호스트 컴퓨터 아날로그 입력 값

명령어: 0x7189

매개변수 설명:

매개변수 이름유형설명
valuearray아날로그 입력 현재 값;double 유형

응답 예시:

json
{
  "value":[9.99755859375,0.0,0.0,0.0]
}

강제 입력

호스트 컴퓨터 설정 강제 디지털 입력

명령어: 0x7190

매개변수 설명:

매개변수 이름유형설명
enableint강제 디지털 입력 여부, 범위 [0,1]
portint강제 디지털 입력의 포트 번호
statusint강제 디지털 입력의 현재 값

요청 예시:

json
{
  "enable":1,
  "port":1,
  "status":0
}

호스트 컴퓨터 조회 강제 디지털 입력 포트

명령어: 0x7191

요청 예시:

json
{}

컨트롤러 회신 호스트 컴퓨터 강제 디지털 입력 포트

명령어: 0x7192

매개변수 설명:

매개변수 이름유형설명
portarray강제 디지털 입력의 포트 번호;int 유형
statusarray강제 디지털 입력의 값;int 유형

응답 예시:

json
{
  "port":[2,6,12],
  "status":[0,1,0]
}

호스트 컴퓨터 설정 강제 아날로그 입력

명령어: 0x7193

매개변수 설명:

매개변수 이름유형설명
enableint강제 아날로그 입력 여부, 범위 [0,1]
portint강제 아날로그 입력의 포트 번호
statusdouble강제 아날로그 입력의 현재 값 (해당 노드 값은 0 이상)

요청 예시:

json
{
  "enable":1,
  "port":2,
  "status":9.0
}

호스트 컴퓨터 조회 강제 아날로그 입력 포트

명령어: 0x7194

요청 예시:

json
{}

컨트롤러 회신 호스트 컴퓨터 강제 아날로그 입력 포트

명령어: 0x7195

매개변수 설명:

매개변수 이름유형설명
portarray강제 디지털 입력의 포트 번호;int 유형
statusarray강제 디지털 입력의 값;double 유형

응답 예시:

json
{
  "port":[1,2],
  "status":[5.0,9.0]
}