Download HAL MSIU Software User Manual
Transcript
System Description Key Concepts 1. System Description 1.1. Key Concepts This software is built on two key concepts, the logical device and the scan. These two are inter-related in that a table of scans is represented by a scan logical device..... 1.1.1. The Logical Device A logical device is a way of associating a name with a hardware or software function. By asking the controller what logical devices are available a remote computer may find out the capabilities of the system. Once the names of the available logical devices are known the remote computer may enquire the capabilities of each device by use of the commands LMIN, LMAX, LRES, LUNT, LUSE, LTYP and LVAL. These commands return values that have been configured into the logical device table in the EEPROMs. Their use is documented in section 2. Each logical device has a corresponding logical device number . The command LID# may be used to obtain this, given the devices name. Logical device numbers may vary from system to system so should always be obtained by use of the LID# command. Once known their use is quicker than using the logical device name, but logical device names and numbers may be used interchangeably in most commands ( For future reference : this also applies to Parameter names and numbers and Field names and numbers ). The command LSET may be used to set a logical device to a value and LGET to read a value. Thus LSET mass 28 sets the mass DAC to 28 and LGET SEM will read the SEM and display the result. The command LINI is used to initialise a device. Logical devices may be grouped together in a group logical device. Thus all devices that need initialising are in the "all" group. The names of these devices may be obtained by the command LID$ all which will display their names as a comma separated string. . To initialise all devices use LINI all. The LINI command is executed on each device in the all group in turn. All the group logical devices are themselves in the "groups" group. This device should always be present in the configuration. By using LID$ groups the remote computer may enquire what groups the system supports. By then doing LID$, using each of the group names returned , the devices in each group may be obtained. Groups may be used to suggest to the remote computer which devices to use for a particular purpose, e.g. devices in the "source" group for source tuning. For these groups using the LSET command will generate an error, though LINI source might be useful to reset the source DACs to their default values. Groups may also be used to change the value of a number of DACs simultaneously. An example of this is the "mode" group. SIMS systems may operate in 3 modes :- RGA, SIMS +ve ion and SIMS -ve ion. Initial values for each mode are configured into the logical device table entry of every device in the mode group. Each mode represents a "state" of the logical devices comprising the group. The logical device table has HA-085-006a 24.01.03 HAL MSIU Software User Manual Page 3 of 93