Omron SYSMAC C200HS Operation Manual page 298

Programmable controllers
Hide thumbs Also See for SYSMAC C200HS:
Table of Contents

Advertisement

Special Instructions
Example
SR 25315
SR 25315
LR 0000
10000
10001
HR 10
0000
HR 11
0000
HR 12
0000
HR 13
0000
HR 14
0000
HR 15
4142
HR 16
430D
HR 17
0000
HR 18
0000
Flags
288
In the following example, the FPD(––) is set to display the bit address and mes-
sage ("ABC") when a monitoring time of 123.4 s is exceeded.
MOV(21)
#4142
HR 15
MOV(21)
#430D
HR 16
FPD(––)
#8010
#1234
HR 10
SR 25504
(CY Flag)
INC(38)
DM 0100
10002
LR 0015
10003
FPD(––) is executed and begins monitoring when LR 0000 goes ON. If LR 0015
does not turn ON within 123.4 s and IR 10000 through IR 10003 are all ON,
IR 10002 will be selected as the cause of the error, an FAL(06) error will be gen-
erated with an FAL number of 10, and the bit address and preset message
("10002–1ABC") will be displayed on the Peripheral Device.
HR 10
HR 11
HR 12
HR 13
HR 14
HR 15
HR 16
HR 17
HR 18
ER:
T is not BCD.
C is not a constant or the rightmost two digits of C are not BCD 00 to 99.
Indirectly addressed DM word is non-existent. (Content of :DM word is
not BCD, or the DM area boundary has been exceeded.)
CY:
ON when the time between the execution of FPD(––) and the execution
of a diagnostic output exceeds T.
Address Instruction
00000
LD
00001
MOV(21)
00002
LD
00003
MOV(21)
00004
LD
00005
FPD(––)
00006
AND
00007
INC(38)
00008
LD
00009
OR
00010
LD NOT
00011
OR NOT
00012
AND LD
00013
OUT
C000
Indicates information, normally closed condition
2031
"1"
3030
"00"
3032
"02"
2D31
"–1"
4142
"AB"
430D
"C", and CR code
0000
The last two words are ignored.
0000
(Displayed as spaces.)
Section 5-25
Operands
25315
#
4142
HR
15
25315
#
430D
HR
16
LR
0000
#
8010
#
1234
HR
10
25504
DM
0100
10000
10001
10002
10003
LR
0015

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents