Breadcrumbs

get_input_register_bit()

Definition

get_input_register_bit(address)

Features

It is used to import values to the Input Bit General Purpose Register area of the Industrial Ethernet(EtherNet/IP, PROFINET) Slave.

Parameters

Parameter Name

Data Type

Default Value

Description

address

unsigned short

-

Address value of Input Bit GPR area in Industrial Ethernet Slave(0-63)

Return

Value

Description

value

Corresponding register value

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
a = get_input _register_bit (0)
b = get_input_register_bit (63)