Serial mode – Acrosser AES-HM76Z1FL User Manual

Page 67

Advertising
background image

67

8.2.5. Serial Mode

1. Syntax:

get_comport_mode(int com)

Description: Get the Com port mode.

Parameters: 0:Com3, 1:Com4

Return Value: 0:RS485, 1:RS422

2. Syntax:

set_comport_mode(int com, int mode)

Description: Set the Com port mode.

Parameters: 0:Com3, 1:Com4.

0:RS485, 1:RS422

Return Value: None.

Advertising