Breadcrumbs

set_eip_gpr_expand_output_register_float()

Definition

set_eip_gpr_expand_output_register_float(address, val)

Features

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

Parameters

Parameter Name

Data Type

Default Value

Description

address

unsigned short

-

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

val

float

-

float value (4byte)

Return

Value

Description

0

Success

Negative value

Failure

Exception

Exception

Description

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

Python
set_eip_gpr_expand_output_register_float(0, 4.5)
set_eip_gpr_expand_output_register_float(23, 2.3)

Keyword

set_ / output / register / output_register / expand / register_float