beautypg.com

4 output in response to rs-422/485 commands, Output in response to rs-422/485 commands -56 – Yokogawa Touch Screen GP20 User Manual

Page 70

background image

2-56

IM 04L51B01-17EN

Data Block

The actual output data. The format varies depending on the output content. For details, see

section

2.11

, “

Format of the Data Block of Binary Output

.”

Data sum (16 bits, big endian)

The data sum block indicates the sum of the data block. Use the CCheckSum command to

specify whether to include data sum. By default, check sum is set to “No.” Whether data sum

is included is expressed by a flag in the header block. If the data sum block is not included,

the area itself will not be included. For the check sum calculation method, see

Appendix 5

Check Sum Calculation Method

.

2.9.4

Output in Response to RS-422/485 Commands

The table below shows the responses to the ESC O command and ESC C command. ESC

in ASCII code is 0x1B. For details, see

Appendix 1 ASCII Character Codes

.

Syntax

Meaning

Response

ESC O_xxCRLF

(_: Space)

Opens an

instrument

• Response from the destination instrument

ESC OxxCRLF

• If there is no instrument at the address specified by

the command

*

No response

ESC C_xxCRLF

(_: Space)

Closes an

instrument

• Response from the destination instrument

ESC CxxCRLF

• If there is no instrument at the address specified by

the command

*

No response

*

Some possible reasons why the condition “there is no instrument at the address

specified by the command” occurs are command error, the address assigned to the

instrument is different, the instrument is not turned on, and the instrument is not

connected through serial interface.

• “xx” in the table represents the instrument address. You can specify any address within

the range of 01 to 99 and within the addresses assigned to the communication target

instruments.

• You can only open one instrument at any given time.

• When you open an instrument with the ESC O command, you can send commands to it.

• If you open an instrument with the ESC O command, any instrument that is already open

will be automatically closed.

• Use CR+LF for the terminator.

2.9 Responses to Commands

This manual is related to the following products: