5 setting the operating mode, 1 configuration defaults and dipswitch settings, 2 the configure adapter command – Siemens SIMATIC TIWAY 1 User Manual
Page 22: Operation and application
OPERATION AND APPLICATION
UNILINK HOST ADAPTER
2–12
USER MANUAL
2.5
SETTING THE OPERATING MODE
Each adapter must be configured for one of the six possible operating modes.
The mode is configured with the CONFIGURE ADAPTER command with the
exception of the Standalone NM mode, which is chosen by setting Positions 9
and 10 of Dipswitch 1 down. The defaults and dipswitch settings are discussed
further in Paragraph 2.5.1. There are three configuration commands; the
CONFIGURE ADAPTER command, the CONFIGURE HIU command, and the
CONFIGURE NM command.
2.5.1
Configuration Defaults and Dipswitch Settings
Most of the parameters associated with the configuration commands have
default values chosen to help you install an operating host interface with a
minimum amount of effort. As your network expands and you gain experience
with the advanced commands, you can change the defaults to tailor the network
performance to your needs.
The adapter has two 10-position dipswitch banks, located behind the front
access door as shown in Figure 2–11. Most of the settings on the dipswitches
relate to the parameters for the host and TIWAY I ports. However, the setting of
Position 9 on Dipswitch 2 determines the default mode value. When Position 9 is
up, the adapter will default to an HIU/EHA and when Position 9 is down, the
adapter will default to an MHIU/EHA.
LEDs
Reset
Number 2
Number 1
Figure 2–11 Dipswitch Positions
The default mode will be chosen when you issue one of the Base HIU commands
before issuing the CONFIGURE ADAPTER command. In the later case, the
adapter assumes the default mode from the setting of Position 9 on Dipswitch 2
and assumes the EHA mode. This means that after the adapter is reset, if you
issue any of commands 01 through 08, the adapter will assume the MHIU/EHA
or HIU/EHA mode depending on the setting of Position 9.
2.5.2
The CONFIGURE ADAPTER Command
The first command your application software should send is the CONFIGURE
ADAPTER command, code 20. The main function of this command is to set the