INFICON STC-2000A Thin Film Deposition Controller Operating Manual User Manual
Page 243

p
STC-2000A DEPOSITION CONTROLLER
y
of value which is then being stored into these node areas during program evaluation are what the
query (exam) returns. A value of 256 will be returned from nodes which are not being used in an
I/O program. If a running I/O program is edited such that a node is no longer referenced in the I/O
program, the next query will return a 256 value. This functionality is intended to aid in
introspection and debugging of I/O programs by allowing remote determination of I/O node states,
especially those which are internal, such as softnodes and counters, for which there is no other
independent view. The assignment of the numbers to internal I/O conditions matches the
definitions used to program the I/O system. Missing codes of 129 to 149 are reserved for future
status pollable nodes. Codes from 158 to 169 are reserved for future settable/pollable status nodes.
Codes from 170 to 299 are event type codes and are not pollable by this command but can be
looked at via the 'H' command and the appropriate command code (see description above). Note
there is no simple correspondence between I/O event codes and 'H' command event id indices.
Returns:
[RZCD_AOK][0..255, 256] if proper I/O node id argument was sent. Returns a logical or scalar
value (0,1 for boolean, 0..255 for scalar) for nodes which are being used in I/O program. Returns
256 for nodes which are not in program, information is not representative of system meaning.
[RZCD_ILDV] if improper value for parameter argument.
[RZCD_ILSN] if too many arguments, wrong delimiters, etc.
I/O Status Command (J)
The J set of commands can detect certain states and events in the I/O system. The parameter that
is passed is the ID number used by the I/O system. The data returned is either a 0 or 1, depending on the
state. The following ID's are always available:
0 To 7 Remote Inputs 1 Through 8
8 To 15 Relays 1 Through 8
16 To 72
IState
81 To 94
UState
141 To 190
Soft Nodes
300 To 899
Counter
900 To 999
Layer Number
Other states and events are available if the I/O program uses them. The ID number that is used as a
parameter number is found in Table 5.3. If you ask for something that is not in the above list or in the I/O
system, the result will not be valid.
Command Examples
Command J
0
Response A0
Description
Read Boolean state of I/O node 0, hardware input number 1. Response of 0, input is not
active (is ungrounded).
Command J8
Response A1
Description
Read Boolean state of I/O node 8, hardware relay number 1 output contacts. Response of
1, output is active (assuming I/O rungs in program make it so).
Command J141
Response A1
Description
Read status of I/O soft node, # 141. Assuming the node is assigned somewhere in the I/O
program, this statement will query the current state of it. This aids in debugging complicated I/O programs.
Soft Node is Set True.
Table 24.6: Group 7 Examples.
______________________________________________________________________
SECTION 6.XX
page 243 of 292