Sigma – INFICON SQC-122 Thin Film Deposition Controller Communications Manual User Manual

Page 17

Advertising
background image

1318 Duff Drive

?

Fort Collins, Colorado 80524

?

(970) 416-9660

?

Fax (970) 416-9330

?

Sigma

instruments

SendGetRelays

Parameters: None
Return : 16 Bit Integer, always returns a 1.

SendGetRelays is used to retrieve the mapping of the 8 physical relays to the 21
Relay events. This function must precede the use of GetRelays.

GetRelays

Parameters: Pointer to an IO structure (integer array(7).
Return : 16 Bit Integer, always returns a 1.

GetRelays is used to retrieve the mapping of the 8 physical relays to the 21 relay
events. Values in the array(0-7) are the events (0-20) assigned to each input.
Relay events are:

0 = Source Shutter 1

7 = Deposit Phase

14 = Time Setpoint

1 = Source Shutter 2

8 = PreCond Phase

15 = Thickness Setpoint

2 = Sensor Shutter 1

9 = SoakHold Phase

16 = Final Thickness

3 = Sensor Shutter 2

10 = Process Active

17 = Pocket BCD Bit 0

4 = All Sensor Fail

11 = Manual Mode

18 = Pocket BCD Bit 1

5 = Sensor 1 Fail

12 = Max. Power

19 = Pocket BCD Bit 2

6 = Sensor 2 Fail

13 = Stopped

20 = Secondary Sensor

Example:

ReturnVal = SendGetRelays

request transfer Relays

do while(ChkCommDone == -1)

wait for comm to finish

ReturnVal = GetRelays(&IoP)

I/O Sruct contains info

SetRelays

Parameters: Pointer to a I/O Structure.
Return : 16 Bit Integer, always returns a 1.

SetRelays is used to set the event definitions of the eight realys as described
above. All of the parameters are passed to the function through the I/O Structure.

Example:

ReturnVal = SetRelays(&IoP)

set Relay events

do while(ChkCommDone == -1)

wait for comm to finish

Advertising