Omron NS - HOST Connection Manual page 50

Ns-series programmable terminals
Table of Contents

Advertisement

WM
Write to PT memory ($W)
Write to $W data in PT memory.
Per command, a maximum of 50 words can be written.
As writing attribute you can select SET, AND, OR, or XOR.
Command format
ESC command
$1C
W
[Settings]
*S
*A
*L
*D
Normal completion response format (only when response under
communications conditions is ON).
ESC
command
$1B
W
[Settings]
*S
*A
M
BCD1digit
SUM
0
OFF
1
ON
2
OFF
3
ON
4
OFF
5
ON
6
OFF
7
ON
8
OFF
9
ON
0000
to
Initial address number (hexadecimal 4 digits)
7FFF
01to 50
Number of destination words (BCD 2 digits)
0000
to
Word data (zero suppressed hexadecimal, 1 to 4 digits)
FFFF
From 2
","
data.
Data ending with comma cause error.
*D
SUM
M
0
0
*L
Writing
attribute
SET
AND
OR
XOR
SET
nd
word on, enter comma [,] ($2C) before next
CR
$0D
*D
SUM
Variable
length
Writes designated value just
as it is.
Ands
present
value
destination with designated
value and writes outcome.
Ors
present
value
destination with designated
value and writes outcome
Xors
present
value
destination with designated
value and writes outcome.
Omits *L .
Number
of
destination
words : 1
(fixed)
CR
$0D
of
of
of
13

Advertisement

Table of Contents
loading

Table of Contents