beautypg.com

Metrohm 766 IC Sample Processor User Manual

Page 69

background image

4 Operation

766 IC Sample Processor

64

Predefined bit patterns are supported which can be selected by short

names (e.g.

'Ready1'

or

'End2'

).

'Ready'

signifies a static "ready" line of an external instrument.

'End'

stands for pulse signals, for example EOD (= end of determination).

When scanning for pulse signals parallel scanning of several lines can-

not be applied.
Setting special bit patterns allows flexible control of connected instru-

ments.
Here the following is valid:

0

= line inactive

1

= line active

= arbitrary line state

Example:

00000001

= input line 0 is active = instrument 1 "ready"

The bit pattern (= line state) can be taken over interactively with the

LEARN function (see section 4.3.4).
For details about the remote interface, see section 5.1.

1

SCAN

>sample sequence
6 SCN:RS

Rm,RS

14 ASCII characters

Scanning the RS232 interface

arbitrary series of 14 characters

In a sequence the

SCN:RS

command causes method processing to stop

until the predefined character string (up to 14 characters) is received via

serial RS232 interface. The received data is compared character by

character.
Be sure that the interface parameters agree with those of the instrument

connected (see Configuration menu

'>RS232 settings

, section 4.2.1).

Any letters, numbers and special characters from the character set of

the IC Sample Processor can be chosen. The asterisk

'*'

may be used

as a wildcard for an arbitrary character or character string. (If

'*'

is to

be interpreted as an ASCII character,

'**'

has to be set). A wildcard

may be used in any position of a character string. If the first part of

character string is correctly identified, the first appearance of the char-

acter following the asterisk

'*'

is scanned. When it is found, the next

part of the character string is compared.
This function is especially suited to instruments with Metrohm remote

control language. Here the autoinfo status messages can be scanned.

For example, the 732 IC Detector has the following possibilities for

scanning autoinfo information:

*R"*

Ready, "Ready" state reached, e.g. at program end

*S"*

Stop, instrument manually stopped

*W"*

Instrument in wait status

*E"*

Error, error message

These status messages, however, are only transmitted if the corre-

sponding status message has been previously switched on, for exam-

ple, in the the start sequence (e.g. for the "Ready" message of the 732

IC Detector 732 with the command

'CTL:RS &Set.A.R"on"'

).