Model 346 User’s Manual Logo
2.2
  • 1. Introduction
  • 2. Installation
  • 3. Operation
  • 4. Advanced Operation
  • 5. Remote Interface Operation
    • 5.1. Message Flow Control
    • 5.2. USB Interface
    • 5.3. Ethernet Interface
    • 5.4. GPIB Interface
    • 5.5. Model 346 Command Summary
      • Input Related Commands & Queries
      • Curve Related Commands
      • Output Related Commands
      • Digital IO Related Commands
      • Status and Error Reporting
      • Utility Commands
  • 6. Options and Accessories
  • 7. Service
Model 346 User’s Manual
  • 5. Remote Interface Operation
  • 5.5. Model 346 Command Summary
  • Digital IO Related Commands

Digital IO Related Commands

RELAY Relay Control Parameter Command

RELAY <relay number>, <feature>, <instance>, <condition> [term]

Parameters

Name

Type

Description

relay number

n

The relay number to configure: 1 or 2

feature

n

Input feature for first value:

0 = Off

1 = On

2 = Thermometry Input (Alarms)

3 = Output Status

4 = Digital Input

5 = System Status

instance

n/a

Input instance for first value. Type depends on feature 1:

  • For the thermometry input feature: input channel (A, B, C1-C4, D1-D4, E1-E4, F1-F4, G1-G4, H1-H4, or NONE)

  • For output status feature: numeric output (1-10)

  • For digital input feature: digital input number (1-2)

  • For system feature currently only warmup all (0) is implemented

  • For off and on feature: ignored (use 0)

condition

n

Condition to evaluate for first value. Valid values depend on feature.

  • For on, off, and system status features:

    condition is ignored, and should be set to 0.

  • For thermometry input feature:

    0 = Low alarm active, 1 = High alarm active, 2 = Either alarm active, 3 = Both alarms active 4 = Threshold 1, 5 = Threshold 2, 6 = Threshold 3, 7 = Threshold 4, 8 = Sensor fault, 9 = Temperature fault, 10 = Temperature extrapolated

  • For output status feature:

    0 = Output load fault, 1 = Setpoint ramp done, 2 = Output stabilizing, 3 = Output stable, 4 = Output warm

  • For digital input feature:

    0 = Low, 1 = High

Example

RELAY 1, 1, NONE, 0[term] relay 1 normally open contacts are closed and normally closed contacts are open.

Remarks

Each relay has both a Normally Closed and Normally Open contact terminal exposed on the rear panel. Although instances are only required for thermometry input, output status, and digital input features, the instance parameter must be specified for all features and should be set to 0 when not used. The condition parameter varies based on feature type - thermometry input features support alarm and threshold conditions, output status features support various output state conditions, and other features use generic true/false conditions. In addition, for backwards compatibility with the Model 336, input channels can be accepted for the ‘instance’ parameter, and will be treated as ‘don’t cares’ by the Model 346. In addition, in the case of ON and OFF as the feature, the instance and condition parameters will be reset to zero, regardless of what was sent by the user, and will be reported as such, on a subsequent query.

RELAY? Relay Control Parameter Query

RELAY? <relay number> [term]

Parameters

Name

Type

Description

relay number

n

The relay number to query: 1 or 2

Returns

<feature>, <instance>, <condition> (see command for description)

RELAYST? Relay Status Query

RELAYST? <relay number> [term]

Parameters

Name

Type

Description

relay number

n

The relay number to query: 1 or 2

Returns

<relay state>

Remarks

The relay state is either de-energized (0) or energized (1). When the relay is energized, the normally open contacts are closed and the normally closed contacts are open. When the relay is de-energized, the normally open contacts are open and the normally closed contacts are closed. If issuing a RELAY command followed by RELAYST?, it is recommended to wait at least 100 mS before issuing the query to ensure the relay has had time to change state.

DIGIN? Digital Input State Query

DIGIN? [term]

Returns

<digital in 1 state>,<digital in 2 state>[term]

Name

Type

Description

digital in 1 state

n

0 = low, 1 = high

digital in 2 state

n

0 = low, 1 = high


© Copyright Copyright May 4, 2026, Lake Shore Cryotronics, Inc..