Omron NS - HOST Connection Manual page 45

Ns-series programmable terminals
Table of Contents

Advertisement

3-3
Communications procedures
3-3-1
Memory Link Commands
Command/response formats are as mentioned below.
Read/write/change notify command
ESC command
Read/write command (In above-mentioned format, the *L is regarded as
1 (fixed))
ESC command
Write all (FILL) command
ESC command
Read type command normal completion response format
ESC command
Other responses
ESC command
ESC
command
SUM
8
*S
*S
*S
*A
*D
($1B)
2 characters
*S
1 character
Hexadecimal
*A
4 digits
Hexadecimal
*B
4 digits
*L
BCD 2 digits
*D
Variable length
2 characters
(may be
abbreviated)
*A
*L
*A
*D
*A
*B
*L
SUM
CR
Initial Command: ESC($1B) fixed
1 English capital letters which display the
Designates SUM omission and
some cases, specifies write to memory attributes
SUM OFF: SUM computing by host can be omitted.
SUM ON: enables judgment if command is invalid
as a result of noise interference.
Initial read/write address
Last Write all (FILL) address
Number of read/write elements
The checksum of the command response is the 2
digit code in hexadecimal which is indicated using
lower one-byte of the total sum from the ESC to
*D
SUM
SUM
CR
*D
*D
SUM
CR
type of command
*L omission. In
as well.
Data section
CR
SUM
CR

Advertisement

Table of Contents
loading

Table of Contents