HIWIN Modbus TCP User Guide Register Map
HIWIN MIKROSYSTEM Corp. 4-7
MH02UE01-1804
4.4.4 GPIO
Users can monitor the statuses of general-purpose inputs or outputs (GPIO) or set general-purpose
outputs by reading or writing the registers assigned for GPIO. HIMC provides 8 general-purpose inputs
(GPI1~GPI8) and 8 general-purpose outputs (GPO1~GPO8). The registers assigned for GPIO are as
below.
Table 4.4.4.1
Register
Address
Parameter
Data Type
Attribute
Description
8272
GPI status
int8_t
Read-only
Displays the status of GPI (1~8).
Bit 0
0: GPI1 is OFF.
1: GPI1 is ON.
…
…
Bit 7
0: GPI8 is OFF.
1: GPI8 is ON.
8273
GPO status
int8_t
Read/Write
Sets GPO (1~8) or displays the status of GPO (1~8).
Bit 0
0: GPO1 is OFF.
1: GPO1 is ON.
…
…
Bit 7
0: GPO8 is OFF.
1: GPO8 is ON.