Omron C200H Operation Manual page 305

Hide thumbs Also See for C200H:
Table of Contents

Advertisement

Programming Instructions
Name
Mnemonic
DECREMENT
(@)DEC(39)
SET CARRY
(@)STC(40)
CLEAR CARRY
(@)CLC(41)
DISPLAY MESSAGE
(@)MSG(46)
LONG MESSAGE
(@)LMSG(47)
(CPU11-E)
TERMINAL MODE
(@)TERM(48)
(CPU11-E)
Data Areas
These footnote tables show the actual ranges of all data areas. Bit numbers are provided (except for DM and TC areas); remove the rightmost two digits for word numbers.
IR
SR
00000 to 23515 23600 to 25507
HR 0000 to 9915
Symbol
Decrements the value of a 4-digit BCD
word by 1, without affecting carry (CY).
DEC(39)
Wd
Sets the Carry Flag (i.e., turns CY ON).
STC(40)
Clears the Carry Flag (i.e, turns CY OFF). None
CLC(41)
Displays eight words of ASCII code, start-
ing from FM, on the Programming Console
or GPC. All eight words must be in the
same data area.
MSG(46)
FM
Outputs a 32-character message to either
a Programming Console, or a device con-
LMSG(47)
nected via the RS-232C interface. The
S
output message must be in ASCII begin-
ning at address S. The destination of the
D
message is designated in D: 000 specifies
–––
that the message is to be output to the
GPC; 001 specifies the RS-232C inter-
face, starting with the leftmost byte; and
002 specifies the RS-232C interface,
starting from the rightmost byte.
When the execution condition is ON, the
Programming Console operation mode is
TERM(48)
changed to TERMINAL mode. There is no
–––
program command available to change the
–––
mode back to CONSOLE mode. Pressing
the CHNG key on the Programming Con-
–––
sole manually toggles between the two
modes.
HR
TR
AR
TR 0 to 7
AR 0000 to 2715
Function
A
B
FM
C
D
FM+ 7
D
P
ABCD........DP
LR
TC
LR 0000 to 6315
TC 000 to 511
Appendix B
Operand Data Areas
Wd:
IR
HR
AR
LR
DM
None
FM:
IR
HR
AR
LR
TC
DM
#
S:
D:
IR
#000
HR
#001
AR
#002
LR
TC
DM
None
DM
Read/Wr: DM 0000 to DM 0999
0000 to 9999
Rd only: DM 1000 to DM 1999
or 0000 to FFFF
–––:
Not
used.
#
297

Advertisement

Table of Contents
loading

Table of Contents