beautypg.com

H-5223 – Xylem H-5223 User Manual

Page 81

background image

Parameters:

There are two digital channels, so n can be either 1 or 2.

Response:

An ASCII string is returned containing the mode. The mode can be “Digital
Input”, “Trigger Pulse”, “Trigger Cont.”, or “On For Scan”. See the Digital I/O
chapter of the user’s manual for more information.

Example:

-> DIGITAL1MODE?

5

Command sent to the XL™.

Digital 1 Mode = Digital Input

rs Response from the XL™.

Command

DIGITALnMODE=

Description:

Write the operation mode of the n

th

digital channel. The mode determines whether

the channel is an input or output, and which type.

Parameters:

There are two digital channels, so n can be either 1 or 2. For the mode, this
command expects an ASCII string containing the mode. The mode can be “Digital
Input”, “Trigger Pulse”, “Trigger Cont.”, “On For Scan”, or “Counter”. See the
Digital I/O chapter of the user’s manual for more information.

Response:

None.

Example:

-> DIGITAL1MODE=Trigger Pulse

5

Command sent to the XL™.

rs

Response from the XL™.

Command

DIGITALnTRIGGERSOURCE?

Description:

Read the trigger source for the n

th

digital channel. This is the source of the value

which is compared against the trigger point.

Parameters:

There are two digital channels, so n can be either 1 or 2.

Response:

An ASCII string is returned containing the source. The source can be “Stage”,
“PSI”, “Temp”, etc.

Example:

-> DIGITAL1TRIGGERSOURCE?

5

Command sent to XL™.

Digital 1 Trigger Source = Stage

rs

Response from XL™.

Command

DIGITALnTRIGGERSOURCE=

Description:

Write the trigger source of the n

th

digital channel. The mode determines whether

the channel is an input or output, and which type.

C-22 Remote Operation (Command Mode)

H-5223