
MSG
ABCDEFGHIJKLMNOP
205
The following example shows the display that would be produced for the in-
struction and data given when 00000 was ON. If 00001 goes ON, a message
will be cleared.
MSG(46)
DM 0010
FAL(06) 00
00000
00001
Address Instruction Operands
00000 LD 00000
00001 MSG(46)
DM 0010
00002 LD 00001
00003 FAL(06) 00
DM contents ASCII
equivalent
DM 0010 4 1 4 2 A B
DM 0011 4 3 4 4 C D
DM 0012 4 5 4 6 E F
DM 0013 4 7 4 8 G H
DM 0014 4 9 4 A I J
DM 0015 4 B 4 C K L
DM 0016 4 D 4 E M N
DM 0017 4 F 5 0 O P
5-22-4 LONG MESSAGE – LMSG(47)
S: First source word (ASCII)
IR, AR, DM, HR, TC, LR
D: Destination
# (000)
Ladder Symbols
Operand Data Areas
---: Not used.
LMSG(47)
S
D
---
@LMSG(47)
S
D
---
Limitations Can be performed with the CPU11-E only. S through S+15 must be in the
same data area and must be in ASCII. The message will be truncated if a
null character (00) is contained between S and S+15.
Description LMSG(47) is used to output a 32-character message to a Programming Con-
sole. The message to be output must be in ASCII beginning in word S and
ending in S+15, unless a shorter message is desired. A shorter message can
be produced by placing a null character (00) into the string; no characters
from the null character on will be output.
D designates the destination of the output. For the C200H, 000 designates
the Programming Console.
To output to the Programming Console, it must be set in TERMINAL mode.
Although LMSG(47) will be executed as normal, the message will not appear
correctly on the Programming Console unless TERMINAL mode is set.
Example
Special Instructions Section 5-22
Comentários a estes Manuais