EasyManua.ls Logo

Omron NT31

Omron NT31
707 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
578
Commands/Responses
Section 9-3
Response
Only if “Yes” is set for the “Response” memory switch, the response indicated be-
low is returned on normal completion.
[Format]
1B 57
[ESC] [CR]W
4630 31 0D4D
M
30
0 0 s1 s2
s
1
,s
2
: Check sum (2 hexadecimal digits)
This is always added (fixed as 1FH”).
[Function]
S Writesthe data of the specified number of wordsstarting from the specifiedword
in the PT memory.
S The result after executing the specified operation (write attribute) on the present
contents of the PT memory and the written data is written is as follows.
S A maximum of 50 words can be written at one time.
The write attribute specified by a command executes the following operation on
the present data of the PT memory and the written data and writes the result.
S SET attribute : Specified data is written as it is regardless of the present
data of PT.
S AND attribute : The result after executing the AND operation on the
present data of the PT and the written data is written.
S OR attribute : Theresult after executing the OR operation on the present
data of the PT and the written data is written.
S XOR attribute : The result after executing the XOR operation on the
present data of the PT and the written data is written.
Example:
Write attribute
Written data Present data of the PT memory Result
SET attribute 1234
H
3456
H
1234
H
AND attribute 1234
H
3456
H
1014
H
OR attribute 1234
H
3456
H
3676
H
XOR attribute 1234
H
3456
H
2662
H

Table of Contents

Other manuals for Omron NT31

Related product manuals