615
Examples of Actual Applications of Memory Link
Section 10-2
10-2 Examples of Actual Applications of Memory Link
Some examples that will give you an idea of how to actually apply the memory link
are presented below.
S Switching screen by the operation at PT control area Page 615
S To know the event that a numeral/character string is input to PT Page 616
The examples below give you the explanation centered on which commands are
sent to apply the function and the method to use the responses returned from PT.
For method on using programming language which is run at the host, refer to the
manual of each programming language etc. For details of commands used with
memory link, refer to Section 9 “Using Memory Link”.
Switching screen by the operation at PT control area
Example: Switching screen by the operation at PT control area:
Allocated word in PT control area: 0100CH
Screen No. 10
Screen No. 15
Command
Host
NT31/NT31C
Use “PT memory write command” (sent from host to PT) for this case since it is
necessary to write new screen number to the first word in PT control area.
S Command
8
1B 57
[ESC] W
31 30
0
4D
M0
3038
1
0
30
0
30 0D46
F0
30
[CR]
0
30
(3)
(2)(1)
S Explanation
(1) Write attribute : Check sum absent, SET attribute (writing 1
word)
(2) First word No. written : 0100CH
Number of words written : Omitted, since the write attribute is as above.
(3) Data of written word : 000F
H