get_output_register_int(address)
Features
It is used to import values to the Output Int General Purpose Register area of the Industrial Ethernet(EtherNet/IP, PROFINET) Slave.
Parameter
Parameter Name | Data Type | Default Value | Description |
---|---|---|---|
address | unsigned short | - | Address value of Output Int GPR area in Industrial Ethernet Slave(0-23) |
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
a = get_output _register_int (0)
b = get_output_register_int(23)