Spk, A1 (incl. screen shots)

The configuration at A1:

 
hasa1
  a1/ads/sps1  131.169.225.48 hasa1mirr1.desy.de
  a1/ads/sps2  131.169.225.49 hasa1mirr2.desy.de

  a1/slt/mirr1xr a1/ads/sps1 chan 0 
  a1/slt/mirr1xt a1/ads/sps1 chan 1 
  a1/slt/mirr1yr a1/ads/sps1 chan 2 
  a1/slt/mirr1yt a1/ads/sps1 chan 3 
  a1/slt/mirr2xr a1/ads/sps2 chan 0 
  a1/slt/mirr2xt a1/ads/sps2 chan 1 
  a1/slt/mirr2yr a1/ads/sps2 chan 2

Here is the procedure how to create the Tango devices. Two PLCs are involved, one for mirr1 the other for mirr2:

Figure 56.1: Spk create server
Image SpsCreateServer

In the next step we create the Spk devices:

Figure 56.2: Spk create server
Image SpkCreateServer

Note that the Spk server contains the Ads and the Spk classes.

Here are screen shots that show the properties of the PLC and SPK server at A1.

Figure 56.3: Properties of the PLC Server for the Spk, A1
Image AdsSpk_properties

Note that the PlcServer property of the Spk device selects the PLC.

Figure 56.4: Properties of the Spk Server, A1
Image Spk_properties

After the server has been configured properly, the devices are introduced to Online (/online_dir/online.xml):

<device>
 <name>spk1xr</name>
 <type>stepping_motor</type>
 <module>spk</module>
 <device>a1/spk/mirr1xr</device>
 <control>tango</control>
 <hostname>hasa1:10000</hostname>
</device>
<device>
 <name>spk1xt</name>
 <type>stepping_motor</type>
 <module>spk</module>
 <device>a1/spk/mirr1xt</device>
 <control>tango</control>
 <hostname>hasa1:10000</hostname>
</device>
<device>
 <name>spk1yr</name>
 <type>stepping_motor</type>
 <module>spk</module>
 <device>a1/spk/mirr1yr</device>
 <control>tango</control>
 <hostname>hasa1:10000</hostname>
</device>
<device>
 <name>spk1yt</name>
 <type>stepping_motor</type>
 <module>spk</module>
 <device>a1/spk/mirr1yt</device>
 <control>tango</control>
 <hostname>hasa1:10000</hostname>
</device>
<device>
 <name>spk2xr</name>
 <type>stepping_motor</type>
 <module>spk</module>
 <device>a1/spk/mirr2xr</device>
 <control>tango</control>
 <hostname>hasa1:10000</hostname>
</device>
<device>
 <name>spk2xt</name>
 <type>stepping_motor</type>
 <module>spk</module>
 <device>a1/spk/mirr2xt</device>
 <control>tango</control>
 <hostname>hasa1:10000</hostname>
</device>
<device>
 <name>spk2yt</name>
 <type>stepping_motor</type>
 <module>spk</module>
 <device>a1/spk/mirr2yt</device>
 <control>tango</control>
 <hostname>hasa1:10000</hostname>
</device>