Skip to main content
Skip table of contents

set_output_register_float(address, val)

기능

Industrial Ethernet(EtherNet/IP, PROFINET) Slave의 Output영역의 Float General Purpose Register의 값을 설정하기 위한 명령어입니다.

인수

인수명자료형기본값설명

address

unsigned short

-

Industrial Ethernet Slave의 Output Float GPR영역 주소값 (0-23)

val

float

-

float value (4byte)

리턴

설명

0

성공

음수값

실패

예외

예외설명

DR_Error (DR_ERROR_TYPE)

인수들의 데이터형 오류 시

DR_Error (DR_ERROR_VALUE)

인수의 값이 유효하지 않을 시

DR_Error (DR_ERROR_RUNTIME)

C Extension 모듈 에러 발생 시

DR_Error (DR_ERROR_STOP)

프로그램 강제 종료 시

예제

PY
set_output _register_float (0, 4.5)
set_output _register_float (23, 2.3)
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.