Professional Documents
Culture Documents
USEFUL CIRCUITRY
1 2 3 4 5 0000
1000 Output
Input
JMP (05)
Output
0000 0200
JMP (04)
I/O Assignment 1000
1000 Output
Input 0000
JMP (05)
Output 1000
0000
Work bit 0200
0200
0201
0202 When data retention during power failure is
unnecessary
Circuit Examples
0000
DIFU(13) 1-scan
0200 differentiation
When data retention during power failure is (DIFU)
unnecessary 0200 HR0000
0000 0201 ON Condition
DIFU(13) 1-scan differentiation (DIFU)
0200 (clock)
(DIFU) 0200 HR0000
HR000
0000
0 1000 Output
DIFU(13) 1-scan differentiation
0200 (clock)
(DIFU) Holding relay 0000 holds its operation state during power
0200 1000 failure 0000 In
0201 On Condition CNT000= Down
(DIFU) CNT000 0002 counter
R
0200 1000
25313 CMP(20)
0202 Off Condition
CNT000
=0001
0201 0202
Always on 2550
6 1002
1000 Output
(=)
1000
Auxiliary relay 25313 is normally ON. Auxiliary relay
25506 turns ON if the result when the Compare (CMP)
instruction is executed is equal.
7-7
7. USEFUL CIRCUITRY
Scanning Counter
Description
1 scan
1 2 3 4 5 6 7
Scan clock
I/O Assignment
Circuit Example
The circuit examples below are applicable to CPM1A
2000
2000 1-scan clock
2000
In
CNT000 Down
0000 #0007 counter
R
CNT000
1005 Count output
7-8
7. USEFUL CIRCUITRY
ILC
Program C
JME
Legend
X: IL condition
Y: JMP condition
7-9
7. USEFUL CIRCUITRY
A: The programs are executed according to the ladder diagram.
B: Output relays, internal auxiliary relays and timers are turned off; counters, shift registers, holding relays and data memory
relays are held in their present status.
C: Output relays, internals auxiliary relays, timers, relays are held in their present status.
7-10
7. USEFUL CIRCUITRY
I/O Assignment
0002 1001
1002 Output 2
1002
0003 1002
1003 Output 3
1003
0004 1003
1004 Output 4
1004
0005 1004
1005 Output 5
1005
0006 1005
1006 Output 6
1006
Circuit
0007Example 1006
1007 Output 7
Example 1
This1007
circuit is applicable to CPM1A
0008 1007
1008 Output 8
1008
0009 1008
1009 Output 9
1009
7-11
ILC(03)
7. USEFUL CIRCUITRY
1000
JMP(04)
0001
1001 Output 1
1001
JMP(04)
0002
1002 Output 2
1002
JMP(04)
0003
1003 Output 3
1003
JMP(04)
0004
1004 Output 4
1004
JMP(04)
0005
1005 Output 5
1005
JMP(04)
0006
1006 Output 6
Example1006
2 JMP(04)
0007
1007 Output 7
1007
JMP(04)
0008
1008 Output 8
1008
JMP(04)
0009
1009 Output 9
JMP(04)
7-12
ILC(03)
7. USEFUL CIRCUITRY
I/O Assignment
7-13
7. USEFUL CIRCUITRY
0001 Input 1 1001 Output 1 to relay
0002 Input 2 1002 Output 2 0315
0003 Input 3 1003 Output 3
0004 Input 4 1004 Output 4
0005 Input 5 1005 Output 5
0006 Input 6 1006 Output 6
0007 Input 7 1007 Output 7
0008 Input 8 1008 Output 8
0304
0009 Input 9 IL(02) 1009 Output 9
0010 0005
Input 10 1010 Output 10
0011 Input 11 DIFU(13) 1011 Output 11
0305
0012 Input 12 1012 Output 12
0305
0013 Input 13 1013 Output 13
IL
0014 Input 14 1014 Output 14
0006
0015 Input 15 DIFU(13) 1015 Output 15
0306
0306
IL
Circuit Example
0007
DIFU(13)
0307
0000
0307 DIFU(13) This circuit outputs the differentiation of inputs 0 to 15 (i.e.,0000 to
IL
0300 0015).
0300
0008
DIFU(13)
IL(02)
0308 For the differentiation outputs, auxiliary relays 0300 to 0315 are
0001
0308
DIFU(13) used.
IL
0301
0301
0009
DIFU(13)
IL(02)
0309
0002
0309
DIFU(13)
IL
0302
0302
0010
DIFU(13)
IL
0310
0310
0003
DIFU(13)
IL
0303
0303
0011
DIFU(13)
IL
0311
0311
0004
DIFU(13)
IL(02)
0304
0012
DIFU(13)
0312
0312
IL(02)
0013
DIFU(13)
0313
0313
IL
0014
DIFU(13)
0314
0314
IL
0015
DIFU(13)
0315
ILC(03)
(Normally ON)
CMP(20)
03
25313 #0000
25506
MOV(21)
33 7-14
(=) 10
7. USEFUL CIRCUITRY
If the differentiation outputs are not 0000, the data in auxiliary relay
channel 03 are transferred to output relay channel 10. Therefore, the
data in auxiliary relays 0300 to 0315 are transferred to 1000 to 1015
and the latter group of auxiliary relays are the outputs.
Non-Lock-In Annunicator
Description
7-15
7. USEFUL CIRCUITRY
2000
Output Device
1000 Alarm display output
1001 Alarm buzzer output 0010
0000 2000
Alarm buzzer
1001 output
7-16