Table of Contents

Advertisement

HIWIN Modbus TCP User Guide

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.
Register
Parameter
Address
8272
GPI status
8273
GPO status
HIWIN MIKROSYSTEM Corp.
Table 4.4.4.1
Data Type
Attribute
int8_t
Read-only
int8_t
Read/Write
Description
Displays the status of GPI (1~8).
0: GPI1 is OFF.
Bit 0
1: GPI1 is ON.
0: GPI8 is OFF.
Bit 7
1: GPI8 is ON.
Sets GPO (1~8) or displays the status of GPO (1~8).
0: GPO1 is OFF.
Bit 0
1: GPO1 is ON.
0: GPO8 is OFF.
Bit 7
1: GPO8 is ON.
MH02UE01-1804
Register Map
4-7

Advertisement

Table of Contents
loading

Table of Contents