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
46
30
31
0D
4D
M
30
0
0
s1
s2
s
1
, s
2
:
Check sum (2 hexadecimal digits)
This is always added (fixed as “1FH”).
[Function]
S
Writes the data of the specified number of words starting from the specified word
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
: The result 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
Summary of Contents for NT31 Series
Page 1: ...Cat No V043 E1 2 Programmable Terminal NT31 31C OPERATION MANUAL...
Page 2: ...iii NT31 31C Programmable Terminal Operation Manual Produced March 1999...
Page 41: ...30 Before Operating Section 1 5...
Page 75: ...64 Using a Memory Unit NT31 NT31C without V1 Section 3 6...
Page 160: ...149...
Page 174: ...163...
Page 193: ...182...
Page 211: ...200...
Page 235: ...224 c Return to the screen on which screens are specified...
Page 262: ...251...
Page 360: ...349 It is not possible to control a gloval window by touch switch operation...
Page 468: ...457 254 255 0 2 7 1 4 5 3 3 0 0 0 5 9 8 0 3...
Page 476: ...465 Special Functions Section 7 16...
Page 495: ...484 OFF...
Page 610: ...599 Commands Responses Section 9 3...
Page 630: ...619 Examples of Actual Applications of Memory Link Section 10 2...