Message Display - Msg(46) - Omron C200H Operation Manual

Hide thumbs Also See for C200H:
Table of Contents

Advertisement

Special Instructions
5-22-3
MESSAGE DISPLAY – MSG(46)
Description
Message Buffering and
Priority
Clearing Messages
Flags
204
Ladder Symbols
MSG(46)
@MSG(46)
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, GPC, or FIT. The displayed message can be up to 16
characters long, i.e., each ASCII character code requires eight bits (two dig-
its). 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 "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 prior-
ity scheme, based on the area where the messages are stored, for the selec-
tion of those messages to be buffered.
The priority of the data areas is as follows for message display:
LR > IR (I/O) > IR (not I/O) > HR > AR > TC > DM
In handling messages from the same area, those with the lowest ad-
dress values have higher priority.
In handling indirectly addressed messages (i.e.
lowest DM address values have higher priority.
To clear a message, execute FAL(06) 00 or clear it via a Programming Con-
sole using the procedure in 4-5-5 Clearing Error Messages.
If the message data changes while the message is being displayed, the dis-
play will also change.
ER:
Indirectly addressed DM word is non-existent. (Content of
is not BCD, or the DM area boundary has been exceeded.)
FM
Section 5-22
Operand Data Areas
FM: First message word
IR, AR, DM, HR, LR
DM), those with the
DM word

Advertisement

Table of Contents
loading

Table of Contents