I/o status commands group 7 -- command j – INFICON STC-2002 Thin Film Deposition Controller Operating Manual User Manual

Page 240

Advertising
background image

p STC-2002

DEPOSITION CONTROLLER

y

SECTION 6.XX

e page 238 of 276 ^


I/O Status Commands

Group 7 --

Command J

(J)

Read I/O Information. These commands will read the states of the remote inputs and relays, status
codes, softnodes, counter values.


Command: J
Mnemonic: EXCT_ioexm

(I/O

exam)

Parameters:

[0..71, 72..128, 150..157, 300..399, 400..409]

Description:

Requests a read of state of I/O nodes which correspond to the identifier code (0..128,

150..157, etc..). A return of non-zero indicates TRUE or active. A return of 0 indicates FALSE or
inactive. Scalar types can return numeric values between 0 and 255 (such as bit maps,
counters,etc). These values are only usable (dynamically updated with new information) if the
corresponding node identifier is actually being used within the live (active) I/O program. The state
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

Advertising