Kaiyi — 9.3.3 Functions of the Control Registers

AH500 Module Manual  Basic setting and functions  CR#0: The value in CR#0 is a model code. Users can read the model code by means of a program to judge whether the module exists.  CR#1: The value in CR#1 represents the version of the system.  Email functions  CR#48~CR#55: Please refer to the following table. 9-8 CR number Attribute Register name Description HW LW R/W Triggering the setting of the IP parameters for port 1 0: The assignment of an IP address is complete. 1: The setting of the IP parameters (in CR#4~CR#10) for port 1 is triggered. - #11 R/W Status of assigning an IP address to port 1 0: The assignment of an IP address is complete. 1: An IP address is being assigned. 2:

The assignment of an IP address by a DHCP server has not been complete. 3: The IP parameters are incorrect. - #12 #15 #14 R/W IP address of port 2 IP address of port 2 #17 #16 R/W Subnet mask of port 2 Subnet mask of port 2 R/W Assigning an IP address to port 2 by a DHCP server 0: Static IP address 1: An IP address is assigned by a DHCP server. - #20 R/W Triggering the setting of the IP parameters for port 2 0: The assignment of an IP address is complete. 1: The setting of the IP parameters (in CR#14~CR#20) for port 2 is triggered. - #21 R/W Status of assigning an IP address to port 2 0: The assignment of an IP address is complete. 1: An IP address is being assigned. 2:

The assignment of an IP address by a DHCP server has not been complete. 3: The IP parameters are incorrect. - #22 #47 #23 Reserved R/W Execution state of email 1 Execution state of email 1 - #48 R/W Execution state of email 2 Execution state of email 2 - #49 R/W Execution state of email 3 Execution state of email 3 - #50 R/W Execution state of email 4 Execution state of email 4 - #51 R/W Execution state of email 5 Execution state of email 5 - #52 R/W Execution state of email 6 Execution state of email 6 - #53 R/W Execution state of email 7 Execution state of email 7 - #54 R/W Execution state of email 8 Execution state of email 8 - #55 The definitions of the symbols: R:

Users can read the data from the register by means of the instruction FROM. W: Users can write the data into the register by means of the instruction TO. Value in the control register Execution state of the email 0 The email is not sent. 1 The email is being processed.