Special Instructions
00000
AR 2513 ON when tracing
AR 2512 ON when trace is complete
Address Instruction
00000
LD
00001
OUT
00002
TRSM(45)
00003
LD
5-28-2 MESSAGE DISPLAY – MSG(46)
Limitations
Description
Message Buffering and
Priority
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
sample 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.
Operands
0000
AR
2514
AR
2513
Ladder Symbols
MSG(46)
@MSG(46)
FM
DM 6649 to DM 6655 cannot be used for FM.
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
Programming 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 H for the 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 "OD." When OD is encountered in a message, no more
words will be read and the words that normally would be used for the mes-
sage 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 > TIM/CNT > DM
AR
Starts data tracing.
2514
Designates point for
TRSM(45)
tracing.
Indicates that tracing is in
00200
progress.
Indicates that tracing has
00201
been completed.
Address Instruction
00004
OUT
00005
LD
AR
00006
OUT
FM
Section 5-28
Operands
00200
2512
00201
Operand Data Areas
FM: First message word
IR, SR, AR, DM, EM, HR, LR
381
Need help?
Do you have a question about the CQM1H - PROGRAM and is the answer not in the manual?