beautypg.com

9 responses to commands, 2 negative response, Responses to commands -53 – Yokogawa Touch Screen GP20 User Manual

Page 67: Negative response -53, 12 app

background image

2-53

IM 04L51B01-17EN

Commands and Responses

1

2

App

2.9 Responses to Commands

This section explains the responses that GX/GP returns in response to commands. There

are three types of responses: affirmative response, negative response, and data output

response.

2.9.1

Affirmative Response (For commands other than output request

commands)

If the GX/GP successfully completes the processing of a received command that is not an

output request command, it returns an affirmative response.

Syntax

E0CRLF

CRLF” is the terminator that the GX/GP uses. “CRLF” will be used in the explanation of the

syntax. In the response examples, “CRLF” will be omitted.

2.9.2

Negative Response

If a command syntax error, setting error, or other error occurs, the GX/GP returns a negative

response.

Syntax

E1,p,p,•••,pCRLF

p

Error number and the position of error occurrence

The detailed format of p is indicated below. The GX/GP outputs the error number, the

position of the command where the error occurred, and the position of the parameter

where the error occurred, each separated by a colon.

en:cp:pp

en

Error number.

cp

A value indicating the command position where the error occurred. The

position is numbered in order with the first command as 1. For a single

command, the GX/GP outputs 1.

pp

A value indicating the parameter position where the error occurred. The

position is numbered in order with the first parameter in each command

as 1. For errors that pertain to the entire command (for example, error in

the command name), the GX/GP outputs 0.

If errors occur in multiple parameters, the GX/GP outputs numbers

separated by commas in ascending order.

Response Example 1

If error number 3 occurs in the second parameter of a single command, the GX/GP outputs:

E1,3:1:2

Response Example 2

If error number 1 occurs in the third parameter and error number 100 occurs in the fifth

parameter of a single command, the GX/GP outputs:

E1,1:1:3,100:1:5

This manual is related to the following products: