Kaiyi — 9.3.3 Functions of the Control Registers

Chapter 9 Ethernet Communication Module AH10/15EN  Network functions  CR#10: If the value in CR#10 is 0, a static IP address is used. If the value in CR#10 is 1, a DHCP server assigns an IP address. (A dynamic IP address is used.)  CR#4~CR#5: The IP address of AH10/15EN-5A is composed of the values in CR#4 and CR#5. The values in CR#4 and CR#5 are hexadecimal values. If a dynamic IP address is used, users can read data from CR#4 and CR#5, but they can not write data into CR#4 and CR#5. Example: If the IP address is 192.168.0.2, 16#0002 is written into CR#4, and 16#C0A8 is written into CR#5. (K192=16#C0, K168=16#A8, K0=16#00, and K2=16#02.)  CR#6~CR#7:

The subnet mask of AH10/15EN-5A is composed of the values in CR#6 and CR#7. The values in CR#6 and CR#7 are hexadecimal values. If a dynamic IP address is used, users can read data from CR#6 and CR#7, but they can not write data into CR#6 and CR#7. Example: If the subnet mask is 255.255.255.0, 16#FF00 is written into CR#6, and 16#FFFF is written into CR#7.  CR#8~CR#9: The gateway address of AH10/15EN-5A is composed of the values in CR#8 and CR#9. The values in CR#8 and CR#9 are hexadecimal values. If a dynamic IP address is used, users can read data from CR#8 and CR#9, but they can not write data into CR#8 and CR#9.  CR#11: 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.  CR#12: 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.  IEC60870-5-104 Protocol (Available for AH15EN-5A) 9-9 Value in the control register Execution state of the email 2 The email is sent successfully. 3~9 Reserved 10 AH10/15EN-5A cannot connect to an SMTP server. 11 The email address of a receiver is incorrect. An error occurs when AH10/15EN-5A communicates with an SMTP server.

12 13~255 Reserved CR Number Attribute Register name Description HW LW #513 #512 R/W Connection 1 IP Address IP address of the 1st slave connection #514 R/W Connection 1 Common ASDU Address Common ASDU Address of the 1st slave connection #516 #515 R/W Connection 2 IP Address IP address of the 2nd slave connection #517 R/W Connection 2 Common ASDU Address Common ASDU Address of the 2nd slave connection #519 #518 R/W Connection 3 IP Address IP address of the 3rd slave connection #520 R/W Connection 3 Common ASDU Address Common ASDU Address of the 3rd slave connection #522 #521 R/W Connection 4 IP Address IP address of the 4th slave connection #523 R/W Connection 4 Common ASDU Address Common ASDU Address of the 4th slave connection #525 #524 R/W Connection 5 IP Address IP address of the 5th slave