Omron NS - HOST Connection Manual page 47

Ns-series programmable terminals
Table of Contents

Advertisement

RM
Read PT memory ($W)
Read $W data in PT memory.
Per command, a maximum of 100 words can be read.
Response is up to 50 words per response.
When requesting command is parameter 2: number of words exceeds 51, then the
response is split into two. The first response sends 50 words, the second response
sends the remaining channels.
When entries were made on NS in between the first and second response, change
notice command is not sent until after the second response has been sent.
Command format
ESC command
$1B
R
[Settings]
*S
*A
*L
Successful completion response format
ESC command
$1B
R
[Settings]
*A
*L
*D
10
*S
*A
M
Sum value
0
OFF
1
ON
8
OFF
8
ON
0000
to
Initial address No. (hexadecimal 4 digits)
7FFF
00 to 99
Number of read-out words (BCD 2 digits)
00 indicates 100.
*A
M
0000
to
Initial address No. (hexadecimal 4 digits)
7FFF
01 to 50
Number of read-out words (BCD 2 digits)
0 to FFFF
Word data
","
From 2
next data.
*L
Omit *L.
Number of read-out words: 1 (fixed)
*L
*D
Variable length
(zero suppressed hexadecimal 1 to 4 digits)
nd
word onward, enter comma ", "($2C) before the
SUM
CR
$0D
SUM
CR
$0D

Advertisement

Table of Contents
loading

Table of Contents