Skip to main content
Skip table of contents

set_output_register_float(address, val)

Features

It is used to export values to the Output Float General Purpose Register area of the Industrial Ethernet(EtherNet/IP, PROFINET) Slave.

Parameters

Parameter NameData TypeDefault ValueDescription

address

unsigned short

-

Address value of Output Float GPR area in Industrial Ethernet Slave(0-23)

val

float

-

float value (4byte)

Return

ValueDescription

0

Success

Negative value

Failure

Exception

ExceptionDescription

DR_Error (DR_ERROR_TYPE)

Parameter data error occurred

DR_Error (DR_ERROR_VALUE)

Parameter value is invalid

DR_Error (DR_ERROR_RUNTIME)

C Extension module error occurred

DR_Error (DR_ERROR_STOP)

Program terminated forcefully

Example

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.