303
The sampled data is written to trace memory, jumping to the beginning of the
memory area once the end has been reached and continuing up to the start
marker. This might mean that previously recorded data (i.e., data from this sam-
ple that falls before the start marker) is overwritten (this is especially true if the
delay is positive). The negative delay cannot be such that the required data was
executed before sampling was started.
TRSM(45)
00000
AR
2514
AR 2513 ON when tracing
00200
00201
AR 2512 ON when trace is complete
Starts data tracing.
Designates point for
tracing.
Indicates that tracing has
been completed.
Address Instruction Operands Address Instruction Operands
00000 LD 0000
00001 OUT AR 2514
00002 TRSM(45)
00003 LD AR 2513
00004 OUT 00200
00005 LD AR 2512
00006 OUT 00201
Indicates that tracing is in
progress.
5-25-4 MESSAGE DISPLAY – MSG(46)
@MSG(46)
FM
FM: First message word
IR, SR, AR, DM, HR, LR
Ladder Symbols Operand Data Areas
MSG(46)
FM
Limitations FM and FM+7 must be in the same data area.
Description When executed with an ON execution condition, MSG(46) reads eight words of
extended ASCII code from FM to FM+7 and displays the message on the Pro-
gramming Console. The displayed message can be up to 16 characters long,
i.e., each ASCII character code requires eight bits (two digits). Refer to Appendix
I for the extended ASCII codes. Japanese katakana characters are included in
this code.
If not all eight words are required for the message, it can be stopped at any point
by inputting “0D.” When 0D is encountered in a message, no more words will be
read and the words that normally would be used for the message can be used for
other purposes.
Up to three messages can be buffered in memory. Once stored in the buffer, they
are displayed on a first in, first out basis. Since it is possible that more than three
MSG(46)s may be executed within a single cycle, there is a priority scheme,
based on the area where the messages are stored, for the selection of those
messages to be buffered.
The priority of the data areas is as follows for message display:
LR > IR > HR > AR > TC > DM > SR
In handling messages from the same area, those with the lowest ad-
dress values have higher priority.
Message Buffering and
Priority
Special Instructions Section 5-25