Kaiyi — 9.3.1 Functions of the Input Registers

Chapter 9 Ethernet Communication Module AH10/15EN 3. Tighten the screw on the module. 9.2.2 Connecting to the Network After an AH500 series CPU module is set through HWCONFIG in ISPSoft, AH10/15EN-5A can carry out communication. The basic setting of the CPU module is accomplished through the RS-232/USB/Ethernet port. After IP addresses and subnet masks are assigned to AH10/15EN-5A, and a network cable is connected to AH10/15EN-5A, AH10/15EN-5A can carry out the communication. Users can choose a Cat 5e twisted pair cable as the network cable, and does not need a jumper wire. AH10/15EN-5A is equipped with two RJ45 ports. The ports function as a switching hub that connects network segments.

If users want to use these ports, they must assign a single IP address. If AH10/15EN-5A is connected to two different networks, the users must disable the switching hub function through HWCONFIG, and assign two IP addresses and two subnet masks to AH10/15EN-5A so that AH10/15EN-5A connects to a wide area network (WAN) and a local area network (LAN). 9.3 Registers There are input registers, output registers, and control registers in AH10/15EN-5A. The status of AH10/15EN-5A is stored in an input register, functions are triggered by the values in output registers, and parameters related to communication are stored in control registers.

Users can set input devices and output devices in a CPU module which correspond to the input registers and the output registers in AH10/15EN-5A through HWCONFIG in ISPSoft. Besides, the users can read data from a control register by the instruction FROM, and write data into a control register by the instruction TO. The functions of the registers are described below. 9.3.1 Functions of the Input Registers 9-5 Number Attribute Register name Description HW LW R Displaying Status of the product 0: The sys the status of the system tem is normal. - #0 R The versio hexadecim Version of the system of the soft 16#1020. n of the system is represented by a al value.

For example, if the version ware is 1.02, it is represented by - #1 - #2 R Status of port 1 Displaying the status of port 1 - #3 R Status of port 2 Displaying the status of port 2 - #4 R Reserved - #5 R Reserved