| Example: on/off and analog input registers assignment Two Expansion Modules, respectively with 16 digital inputs and 8 analog inputs are connected to an UCW-28IO/50 Basic Module. For this configuration, the input registers are assigned as follows: • Register 2 has the states of the 16 digital inputs of the Basic Module • The high bits of Register 3 contain the states of Port A of the Expansion Module with 16 digital input • The low bits of Register 3 contain the states of Port B of the Expansion Module with digital inputs • The four registers containing the values of the analog inputs of the UCW-28IO/50 Basic Module begin with Register 4 • The eight registers containing the values of the analog inputs of the Expansion Module begin with Register 8 • The 16 counter/timer registers start with Register 16. The first of these corresponds to Port AO, the last to Port B15 • The "current" registers containing minimum, maximum, and average values of the first four analog inputs start with Register 32. • The "previous" registers containing minimum, maximum, and average values of the first four analog inputs start with Register 48. Digital and Analog Output Registers The output registers block is arranged with digital output registers first, followed by the analog output register bits. Since the registers are 16 bits wide, eight digital outputs occupy half a register word. Port A occupies the lower part of a register. If analog outputs exist, these begin with the next complete register. Each analog output occupies 12 bits of a full register, with the upper 4 bits unused. Assignment of the output ports of an RTU Basic Module to the output register bits: |