3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.2 3.2.1 3.2.0 Korean English Chinese Czech Dutch French German Hungarian Italian Japanese Polish Portuguese Spanish
3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.2 3.2.1 3.2.0 Korean English Chinese Czech Dutch French German Hungarian Italian Japanese Polish Portuguese Spanish

set_eip_gpr_expand_output_register_int()

Definition

set_eip_gpr_expand_output_register_int(address, val)

Features

It is used to export values to the Output Int 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 Int GPR (Expand) area in Industrial Ethernet Slave(0-49)

val

int

-

int 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_int(0, 0x00FF00FF)
set_eip_gpr_expand_output_register_int(23, 65535)

Keyword

set_ / output / register / output_register / expand / register_int