![background image](http://html1.mh-extra.com/html/omron/sysmac-c200h/sysmac-c200h_operation-manual_742423305.webp)
Appendix B
Programming Instructions
297
IR
SR
HR
TR
AR
LR
TC
DM
#
00000 to 23515
23600 to 25507
HR 0000 to 9915
TR 0 to 7
AR 0000 to 2715
LR 0000 to 6315
TC 000 to 511
Read/Wr: DM 0000 to DM 0999
Rd only: DM 1000 to DM 1999
0000 to 9999
or 0000 to FFFF
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.
Data Areas
Name
Mnemonic
Operand Data Areas
Function
Symbol
DECREMENT
(@)DEC(39)
DEC(39)
Wd
Decrements the value of a 4-digit BCD
word by 1, without affecting carry (CY).
Wd:
IR
HR
AR
LR
DM
SET CARRY
(@)STC(40)
STC(40)
Sets the Carry Flag (i.e., turns CY ON).
None
CLEAR CARRY
(@)CLC(41)
CLC(41)
Clears the Carry Flag (i.e, turns CY OFF). None
DISPLAY MESSAGE
(@)MSG(46)
MSG(46)
FM
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.
FM
FM+ 7
C D
A B
D P
ABCD........DP
FM:
IR
HR
AR
LR
TC
DM
#
LONG MESSAGE
(@)LMSG(47)
(CPU11-E)
LMSG(47)
S
D
–––
Outputs a 32-character message to either
a Programming Console, or a device con-
nected via the RS-232C interface. The
output message must be in ASCII begin-
ning at address S. The destination of the
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.
S:
IR
HR
AR
LR
TC
DM
D:
#000
#001
#002
–––:
Not
used.
TERMINAL MODE
(@)TERM(48)
(CPU11-E)
TERM(48)
–––
–––
–––
When the execution condition is ON, the
Programming Console operation mode is
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.
None
Содержание SYSMAC C200H
Страница 1: ...OPERATION MANUAL C200H CPU01 E 03 E 11 E SYSMAC Programmable Controllers Cat No W130 E1 05 ...
Страница 2: ...C200H Programmable Controllers CPU01 E 03 E 11 E Operation Manual Revised June 2003 ...
Страница 3: ...iv ...
Страница 5: ...vi ...
Страница 8: ...TABLE OF CONTENTS ix Glossary 345 Index 363 Revision History 369 ...
Страница 342: ...336 Programmer Program Date Page Word Contents Notes Word Contents Notes Data Storage ...
Страница 374: ...Cat No W130 E1 05 C200H Programmable Controllers CPU01 E 03 E 11 E OPERATION MANUAL ...