Professional Documents
Culture Documents
PLC Array AP-14 Alambrado y Ejemplos
PLC Array AP-14 Alambrado y Ejemplos
Attention
(1) The patent and related documents for the equipment belong to
ARRAY ELECTRONIC CO., LTD and are not allowed to be
copied or reprinted by the third party without permission.
(2) The manufacturer remains the right of designing and improv-
ing the equipment without notice.
(3) Please oblige us with your valuable comments if there is some
defect in the manual, well write them in the next edition.
AP-14M PLC
1-1
1.2 Precautions of Operation
1.2.1 Fix the Screw Tightly and Connect to the Cable Contact
Choose available A. C. power supply for PLC, adjust the power supply
knob to proper version to energize.
1-2
1.3 Programming Tools
Program AP-14 on PC
Personal Computer
AP-14M PLC
EASY-2000
1-3
1.3.2 Ap-14P Programmer
Combing portable AP-14P programmer and AP-14M PLC is available to programming edit,
step test, and debug.
Button
Specification Brand
Power Knob
Up(POWER): Power off Programmer cable contact
Down(BATTERY): Power on
1-4
Chapter 2 Specification
Item Specification
Installation method direct installation (fixed with the screwdriver) or fixed with DIN rail
2-1
2.2 Function Specification
Item Specification
Programming language Special language for the controller(Ladder logic, Instruction list)
Self diagnostic module program checking (Grammar, Circuit); WATCH DOG monitor
2-2
2.3 Input/Output Specification
I/O signal indication LED flashes green when LED flashes green when
input is active output is active
High level voltage range DC10V~30V(typical value: 24V)
in input port (1)
Low level voltage range DC0V~3V(typical value: 24V)
in input port (0)
COM
Power
12312312121212121212123123123121212123
12312312121212121212123123123121212123
12312312121212121212123123123121212123
I7 I6 I5 I4 I3 I2 I1 I0
AP-14M O5 O4 O3 O2 O1 O0
123123121212312312312123123123123121212123
123123121212312312312123123123123121212123
123123121212312312312123123123123121212123
_ 24V +
2-3
2.5 Name and Function of Sub-parts
(10)
(1)
(9)
(2)
(3)
(4)
(8)
(7)
(6)
(5)
(1) Input terminal row
(9) Status display LED
Receive/refuse power and signal of input
POW(green): light on: normal power
(2) Program button
RUN(green): light on: normal operate
Press it when write the programs PRO(green): light on: write/read programs
(3) Program circuit contact S I N (green): light on: single operate
Combining programmer circuit is available ERR(red): light on: wrong operate
to write programs MEM(green): light on: choose
MEMORY modules
(4) Installation port
(10) Input display LED(green)
Available to install and fix screw Display input status, lights on when input
(5) Keeping memory knob is active
Choose MEMORY modules (11) Voltage knob
(6) Normal/single-operation switch Choose 110V/220V
(12) DIN rail installation part
Choose normal/single operation
Install the rail which supportsDIN
(combining with programmer/
(13) Slide module
EASY2000) tighten/loose DIN rail
(7) Output terminal row (11)
Receive/refuse the output signal
(8) Output display LED(green)
display output status, LED lights on (12)
PROGRAMMABLE
ARRAY ELECTRONIC
(13)
2-4
2.6 Dimension and Setting Drawings
[MEASURE: mm]
2-5
Chapter 3 Structure and Description
of AP-14 Hardware
The designated capacity and the initial value are available for application as the following:
3-1
3.2 Description of Various Devices
I stands for input relay, Symbol: 10-17, totaling 8, separately connecting positive
power of inputting signal. COM is the public contact for I0-I7 negative terminals,
connecting negative D.C.
O stands for output relay, Symbol: O0-O5, totaling 6.
Bus of programmable logic Controller is available to receive input signal of switch
and send output signal to load.
The normal open contact and normal close contact of I/O relay can be used without
limit.
Function of I/O relay is as the following diagram (3-1):
AC
11Start 11Stop
11 11 Power ~
112 12
12
N.O.contact 1 coil 12N.O contact 2 Load
12
○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○
○
DC24V
O0 Power
○
¡Ï COM
○
○
○
○
○
Input Signal O0
○
I0 I1
○
○
I0 OUT O0
load
○
○
O0
○
I0
○
I1
N.O contact
○
○
I0
○
N.C contact
○
○
Input Relay
○
○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○
○
Output Relay
DIAGRAM(3-1)b:Self-keeping by PLC I/O Relay
3-2
3.2.2 Internal Relay
M stands for internal relay, total 32 internal relays (M00-M31) are available. The N.O.
contact of internal relay is off while the N.C.contact on when machine is powered. Please
see diagram (3-2)
Internal relay contact is unable to output directly
M00
I0 I1
OUT
I2
M00
N.O CONTACT
M00
N.C CONTACT
DIAGRAM(3-2)
If want to change contact state, operate OUT, SE, CR, SEB, CLB etc commands.
Any of PLC contact can operate internal relay, whose coil operates same as output relay.
The N.O. contact and N. C. contact of the internal relay can be used without limit.
3-3
3.2.3 Timer
Timer is the built-in time limit internal relay of the PLC. When it reaches the
presetting data, the output contact operates.
T stands for timer, 4 timers(T0-T3) are available and each with the time range
of [0.01~255]seconds.
Series-timers can time 4,228,250,625 seconds(1,174,514 hours).
The N.O/N.C contact of timer can be used without limit.
With memory module, PLC can keep timing status in event of power failure.
(Refer to chapter 2.5 for more information about memory module)
Timer operating diagram is as the following:
I0 T0
KZ002
T
○
KC050
○
I0
○
65
○
T0 O1 25
○
2.55
○
SE T0
○
○
○
○
○
O1
○
END
○
○
○
DIAGRAM(3-3)
3-4
3.2.4 Cycling Counter
C stands for cycling counter, 4 counter (C0-C3)are equipped in PLC and each with
a count range of [001~255]T.
Series-counters can count 4,228,250,625 times.
With memory module, PLC can automatically keep counting status in the event of
power failure. (Refer to chapter 2.5 for more information about memory module)
Cycling Counter operating diagram is as the following:
I0
C0
○
CT 002 I0
CO
○
○
○
○
○
○
○
○
○
○
C0 O0 O0
○
○
○
OUT
○
○
○
○
○
○
END
DIAGRAM(3-4)
3-5
Chapter 4 Instruction
4.1 Instruction Overview
The following diagram shows the instructions of the AP-14 system, totaling 15.
command symbol function parameter pages
symbol
X
LD combine N.O. contact with the bus I, M, O, T, C 4-2
X
LDI combine N.C. contact with the bus I, M, O, T, C 4-2
X 4-3
AND series-connect an N.O. contact I, M, O, T, C
X
SE SE output relay or internal relay setting O, M 4-5
X
SEB SEB internal relay setting M 4-6
X
CR CR output relay or internal relay resetting O, M 4-7
X
CLB CLB internal relay resetting M 4-8
XXX
JMP program toggle command XXX 4-9
JMP
X
CO CO CTXXX Cycling counter C 4-10
X KZXXX
TIM T KC Timer T 4-11
4-1
4.2 Description of the Instructions
4.2.1 LD, LDI, OUT
LD
LD combine N.O. contact with bus
LDI
LDI combine N.C. contact with bus
OUT
OUT output operating results
4-2
4.2.2 AND, ANI, END
AND
AND series-connect an N.O. contact
ANI
ANI series-connect an N.C. contact
END
END program ends
000 LD CR LD
0 I 0
ENTER 000 LD I0
I0 I1 I2 O0
OUT
AND CR LDI ENTER
001 2 I 1 001 AND I1
OUT SE LD ENTER
003 5 O 0 003 OUT O0
DESCRIPTION SUPPLEMENT
AND: series-connect an N.O. contact AND command is available for continuous
ANI: series-connect an N.C.contact series-connection as needs, the diagram is
The operating parameter of AND¡BANI as the following:
command is available for any of these:
input relay ¡Boutput relay ¡Binternal I0 I1 I2 I3
relay ¡Btimer ¡Bcounter. ○ ○
4-3
4.2.3 OR, ORI
OR
OR parallel-connect an N.O. contact
ORI
ORI parallel-connect an N.C. contact
LD CR LD
I0 O0 000 0 I 0
ENTER 000 LD I0
OUT
001 OR CR LDI
4 I 1
ENTER 001 OR I1
I1
DESCRIPTION SUPPLEMENT
OR: parallel-connect an N.O. contact OR command is available for continuous
ORI: parallel-connect an N.C. contact parallel-connection as needs, the diagram
is as the following:
I0
The operating parameter of OR¡BORI
command is available for any of these: I1
I1
I2
4-4
4.2.4 SE
I0 O0
LD CR LD ENTER
000 0 I 0 000 LD I0
SE
SE SE LD ENTER
001 O O 0 001 SE O0
DESCRIPTION SUPPLEMENT
SE is the setting command for The diagram result will be as following when
internal relay and output relay. replacing SE command by out command.
SE command is available for de-
○
○
○
○
(OPERATE SE) O0
○
○
○
○
(OPERATE OUT) O0
○
○
○
4-5
4.2.5 SEB
I0 M00
001 SE KC LD LD ENTER
O M 0 0 001 SE M00
END
002 END ENTER
002 END
DESCRIPTION
SEB is the setting command for internal relay.
SEB command has the same function as SE, but the operating
parameter of SEB command is only available for internal relay while
SE for either internal relay or output relay.
I0
○
○
○
M00
○
○
○
○
4-6
4.2.6 CR
I0 O0
000 LD CR LD ENTER 000 LD I0
SE 0 I 0
I1 O0 SE SE LD ENTER
001 O O 0 001 SE O0
CR
LD CR LDI
002 0 I 1
ENTER 002 LD I1
END
003 CR SE LD ENTER
I O 0 003 CR O0
DESCRIPTION SUPPLEMENT
CR is the reset command for internal relay and Change the above-mentioned diagram as the
output relay. following:
CR command is available for deciding whether I0 O0
○
○
○
○
I1
○
○
○
○
○
○
○
I0
○
○
○
○
○
○
○
○
○
O0
○
○
○
○
○
I1
○
○
○
○
○
○
○
○
○
○
○
○
○
O0
○
○
○
○
○
○
○
4-7
4.2.7 CLB
I0 M00
000 LD CR LD ENTER 000 LD I0
SEB 0 I 0
DESCRIPTION SUPPLEMENT
CLB is the reset command for internal relay. Change the above-mentioned diagram as the
CLB command has the same function as following:
CR, but the CLB operating parameter is
I0 M00
only available for internal relay while CR
CLB
for either internal relay or output relay. I1 M00
Operate the above-mentioned commands, SEB
the sequence diagram is as the following:
END
○
○
○
I0
○
○
○
○
○
○
○
I1
○
○
○
○
○
○
○
M00
○
○
○
I0
○
○
○
○
○
I1
○
○
○
○
○
M00
○
○
○
○
○
○
○
4-8
4.2.8 JMP
XXX
JMP command is available for transferring to the following
JMP JMP relative XXX steps
DESCRIPTION SUPPLEMENT
JMP command is available for transferring to the The sequence diagram is as the following:
following relative XXX steps.
○
○
○
○
○
○
○
○
I2
○
○
○
○
○
○
O1
○
○
○
○
○
○
0. O2
○
○
○
○
○
○
○
○
○
○
○
○
○
4-9
4.2.9 CO
X
CO CO CT XXX CO command is available for the cycling counter
I0 C0 LD CR LD
000 0 I 0
ENTER 000 LD I0
CT 002
CO
DESCRIPTION SUPPLEMENT
CO command is available for the cycling counter, Operate the above-mentioned commands, the
including two sub word commands: CO X and CT sequence diagram is as the following:
○
○
○
I0
○
○
○
○
○
○
○
○
O0
○
○
○
○
○
4-10
4.2.10 TIM
X
KZ XXX
TIM T timer
KC ¡µ¡µ¡µ
000 LD CR LD ENTER
0 I 0 000 LD I0
I0 T0
KZ002 TIM CLB LD ENTER
001 8 T 0 001 TIM T0
T KC050
KZ LD LD AND
002 7 0 0 2
ENTER 002 KZ 002
T0 O1
SE KC LD OUT LD ENTER
003 M 0 5 0 003 KC 050
LD CLB LD ENTER
004 0 T 0 004 LD T0
END
SE SE LDI ENTER
005 O O 1 005 SE O1
DESCRIPTION
TIM command is available for the timer. X stands for the cycling counter in a total
TIM command is available for deciding whether to of 4pcs as T0, T1, T2, T3 with the range
previous operating result. When the result is 1, TIM includes three essential sub-commands:
execute it till it gets to the presetting value. When TIM, KZ, KC. Everyone is necessary.
the result is 0, the timer doesnt work. The sequence diagram is as the following:
When time reaches presetting value, timer sets 1,
if not , the result changes from 1 to 0, and timing
○
I0
○
runs on again.
○
6S 2S
○
2.5S
○
○
○
O1
○
○
○
4-11
Chapter 5 Programmer
5.1 Description of the Programmer
function button
power switch
operation button
DESCRIPTION
Function button FUN display the contents at the previous cursor address
Ć
The following two Function modes can be display the contents at the following cursor
designated: address
(1) Select ON/OFF of the sound.
(2) Select whether to charge the battery or not confirming button ENTER
Operation buttons: when finish one line command, press this bu-
tton to comfirm. But be careful to press it to
COMP compare the programs in the programmer avoid the unnecessary correction under other
EEPROM with those in the PLC EEPROM. situations
DEL delete the comands and addresses ON/OFF power switch ON/OFF
5-1
5.2 The Operating Procedure of the Programmer
(a) Adjust the programmer power switch to
BATTERY.
(b) Combine with the programmer cable
(c) Press ON/OFF button for 3 seconds, the
start LCD displays as the following:
ARRAY electronic
co., ltd
The above mentioned LCD view lasts for 3s, or edit the new program;
then the system is in status of inputting program. (b) it will automatically be in editing
(a) the contents at 000 line will be shown if status if no program, see following
the program exists in progammer, see following figure:
figure: 000
input 001
000 LD I0
programs 001 OR I1 now you can start new program.
now you can check the former programs
by pressing and
or press CLR
to correct it,
Press the WRP button, write the program to the PLC EEPROM, the LCD
displays as the following:
write
programs Writing ○ ○
Write OK!
Cut off Power supply
end Press ON/OFF
button for 3s to cut power supply.
DESCRIPTION
Press the FUN button, the system will return to the select to charge, the LCD displays
editing state automatically after 5 seconds when no as the following:
selection is made.
To decide if the battery needs charge or not, the system Charging
will check the battery voltage automatically. Please
pay attention to the system recommadation
After charging, the LCD displays
as the following:
(1) As battery voltage<4.2V, the LCD displays alarm
smybol: # on right bottom as the following: Charge OK!
003 JMP 008 The user may take the charger away and edit.
#
5-3
5.4 Description of the Operation Button
5.4.1 Description of the Operation ButtonINS
I2 INSERT 002 OR I2
I3 003 OUT O0
INS 003
(3) Press AND CR ANI
2 I 3 003 AND I3
001 AND I1
I0 I1 I3 O0
OUT
002 OR I2
I2
003 AND I3
004 END
DESCRIPTION
Insert new command in the designated address, the following command
addresses will increase 1 automatically. If the inserted program exceeds
the maximum address range, the system will show error.
ENTER
If press INS with no command being inserted, and press ,
a blank line will be inserted
If no command is inserted when press INS , can not use
to exit current state.
5-4
5.4.2 Description of the Operation ButtonDEL
DEL delete the contents at the current cursor address including the line number
000 LD I0
I0 I1 O0
I2 DELETE 002 OR I2
004 END
If delete 001 AND I1, do as the following:
000 LD I0
Waiting for about 2s, the result will be as the following:
I0 O0 001 OR I2
OUT
002 OUT O0
I2
003 END
END
DESCRIPTION
Delete the content at the designated address, thus the
following address decreases 1 automatically and the next
line moves forward.
When deleting some commands, be sure to delete the
relative commands, e.g. when deleting command CO, the
relative command CT should be deleted too.
5-5
5.4.3 Description of the Operation Button CLR
CLR clear the program contents instead of row number in order to input new program
I0 I2 O0 LCD
OUT
000 LD I0
I1 CLEAR
001 OR I1
O0 002 AND I2
CHANGE TO
004 END
If change 001 OR I1 to 001 OR O0 , do as the following:
O0 003 OUT O0
004 END
END
5-6
5.4.4 Description of the Operation Button GOTO
000 LD I0
I0 I1 I3 O0 001 AND I1
OUT
002 OR I2
I2
003 AND I3
005 END
the programmer is displaying the 004 address, if read the content of the 002 address, do as the
following two methods:
(A) use , press continuously until display the contents at the 002
5-7
5.4.5 Description of the Operation Button COMP
COMP compare the contents in the programmer EEPROM with the program in the PLC EEPROM
I2
002 OR I2
003 OUT O0
END
004 END
If compare the program in programmer EEPROM with the written program in PLC EEPROM, do as the following:
(3) Compare with the contents in programmer EEPROM and the PLC EEPROM,
they are the same. LCD displays: COMP OK !
(4) Compare with the contents in programmer EEPROM and the PLC EEPROM,
they are different; AP-14 and AP-14M PLC are in improper connection;
NORMAL/SINGLE or PROGRAM is improperly set.
LCD displays: COMP ERROR !
DESCRIPTION
Notes: press PROGRAM switch on PLC before operating the
above mentioned button, and PRO indicator is on, then setNORMAL/
SINGLE switch to NORMAL.
5-8
5.4.6 Description of the Operation Button WRP
WRP write the programs in the programmer EEPROM to the PLC EEPROM
LCD
I0 I1 O0
OUT 000 LD I0
001 AND I1
END
002 OUT O0
003 END
If write programs in the programmer EEPROM to the PLC EEPROM, do as the following:
(1) Combine programmer with PLC by specified cable,and set programmer
power switch for power supply
(2) Press WRP
DESCRIPTION
When writing, eliminate the unnecessary program content in the PLC
EEPROM and at the same time write in new contents.
5-9
5.4.7 Description of the Operation Button RDP
RDP read the program in the PLC EEPROM to the programmer EEPROM
I0 I1 O0
000 LD I0
OUT
I2
001 AND I1
002 OR I2
004 END
If read the program in the PLC EEPROM to the programmer EEPROM, do as the following:
Reading ○ ○
DESCRIPTION
When altering the program, read the program in the
PLC EEPROM to the programmer EEPROM.
Notes: press PROGRAM switch on PLC before
operating above mentioned the button, and PRO
indicator is on, then set NORMAL/SINGLE switch
to NORMAL.
5-10
5.4.8 Description of the Operation Button STEP
STEP Send signal of single-step to PLC, which will operate program in EEPROM by single-step
I0 O0 000 LDI I0
SE
I1 O1 001 SE O0
SE
002 LDI I1
END
003 SE O1
004 END
When finish writting program in PLC by WRP command, press STEP , programmer will send single-
step signal to PLC, and program runs next step on receipt of the signal. LCD displays the operating result
¡iON/OFF¡j
STEP ¡÷ON
(3) press STEP LCD displays:
001 SE O0
STEP ¡÷ON
(4) press STEP LCD displays: 002 LDI I1
STEP ¡÷ON
(5) press STEP LCD displays:
003 SE O1
5-11
Chapter 6 Operation of PLC
DIAGRAM(6-1)
(4) Press the PROGRAM button, the PRO indicator on the control panel lights on, then write the
following program in the programmer.(Referring to Chapter 5: the programmer for details)
6-1
(5) Press WRP , then write the program in the PLC EEPROM.
(6) Set NORMAL/SINGLE knob of AP-14 PLC into SINGLE, then back to NORMAL
position again, PLC performs normally. At the same time, RUN indicator is on; If write
programs improperly, e.g. missing ENDcommand, RUNindicator flashes constantly.
(7) If step PLC, set NORMAL/SINGLE knob of AP-14 PLC into SINGLE, the SIN
indicator on the control panel lights on, then press STEP on AP-14P programmer to test
by single-step(every time press the button, PLC will step the next command until come to
END command, then steps from first line again), thus O0¡NO1¡NO2 LED of AP-14M
PLC will be on. After stepping, set NORMAL/SINGLEknob to NORMALfor running
PLC normally.
(8) If the system runs normally, pull down the AP-14P programmer cable.
ATTENTION
When the system functions normally, the ERR indicator on the PLC control panel doesnt light
on. If the lamp lights on, there must be problem in the PLC and must be eliminated immediately.
Flashing of ERR indicator: there must be problem in the CPU of the PLC.
Lighting on of the ERR indicator: there must be problem in the PLC memory.
6-2
Chapter 7 Installation and Wiring
7.2.2 Humidity
Sudden temperature variation may cause condensing which may reduce the equipment endurance. To keep the
humidity in the control cubicle in the specified range 45-85%, such measures noted below are necessary:
Adopt sealing device and fill with hygroscope agent in the control cubicle.
Equip the air conditioner to keep the air dry.
over100 mm
Over Over
Other machine
Other machine
50 mm 50 mm
over100 mm
Other
machine
High
voltage
Heater
machine
DIAGRAM(7-1)
7-2
7.4 Strategy for Interference
The AP-14 system has high interference resistance, but to make the system more stable and work at full
capacity, such measures may be adopted:
DIAGRAM(7-2)
PLC power supply and I/O power supply must be mutually independent and be wired separately.
Isolate DC24V I/O wire from AC110/220V and the distance must be over 300mm. Adopt mental shield.
AP-14M PLC
2
Distance less
wire over 5.5 mm than 50cm
DIAGRAM(7-3)
The system cant ground with high power machines, in areas where theres too much thunder power, the
equipment must be isolated from control cubicle and only the cubicle is grounded.
Control cubicle
123456
123456
123456
123456
123456
123456
123456
AP-14 PLC front view 123456
123456 Isolating lay
123456
123456
123456
123456
123456
123456
123456
AP-14P
DIAGRAM(7-3)
7-3
Chapter 8 Application
I0 O0
OUT 000 LD I0
001 OUT O0
I1 O1
002 LD I1
OUT 003 OUT O1
004 LD I2
I2 O2 005 OUT O2
OUT 006 END
END
DESCRIPTION SUPPLEMENT
I0, I1, I2 is available to input the corres- PLC circuit diagram is as the following:
ponding alarm switch and contact.
O0, O1, O2 is available for the state
indicators of the coresponding switch.
COM COM I0 I1 I2 I3 I4 I5 I6 I7 AC
AP-14M PLC
24V O4
+ O0 O1 O2 O3 O5
N
L
8-1
8.2 Application of Self-keeping +I/O
8.2.1 Control ON/OFF of the Motor in Three Directions
Control demand: There s ON/OFF button in A,B,C, the motor is ONif any of the buttons is pressed.
The motor keeps rotating, till any of the OFF button in A, B, C is pressed.
I0 I3 I4 I5 O0
000 LD I0
OUT
I1 001 OR I1
002 OR I2
I2 003 OR O0
O0 004 ANI I3
005 ANI I4
006 ANI I5
END
007 OUT O0
008 END
DESCRIPTION SUPPLEMENT
Input ports: PLC circuit diagram is as the following:
I0: ON button in A I1: ON button in B
I2: ON button in C I3: OFF button in A
I4: OFF button in B I5: OFF button in C
Output ports: COM COM I0 I1 I2 I3 I4 I5 I6 I7 AC
O0: the contactor coil KM .
In the program, ON buttons are all parallel
AP-14M PLC
-connection and OFF buttons are all series-
connection. The motor is on if any button in 24V
+ O0 O1 O2 O3 O4 O5
I0 ¡BI1¡BI2 is pressed .Through O0 selfkee-
KM
DIAGRAM2
8-2
This application can also be performed as the following
Control demand: Theres ON/OFF button in A,B,C, the motor is on/off if any of the buttons is pressed.
I0 I3 I4 I5 O0
JMP 000 LD I0
OUT
001 OR O0
O0
002 ANI I3
003 OR I1
I1
004 ANI I4
005 OR I2
I2 006 ANI I5
007 OUT O0
008 END
END
DESCRIPTION
Input ports:
Output ports:
O0: the contactor coil KM.
8-3
8.2.2 Control ON/OFF of the Motor by One Button
I0 O0 M00
000 LDI I0
OUT
001 AND O0
I0 M01 O0 002 OUT M00
OUT 003 LD I0
M00 004 ANI M01
005 OR M00
006 OUT O0
I0 M01 M01
OUT
007 LD I0
008 AND M01
M00 009 OR M00
010 OUT M01
011 END
END
DESCRIPTION SUPPLEMENT
I0: ON/OFF button PLC circuit diagram is as the following:
O0: the contactor coil
In this program the toggle button is available to
control two states, and the internal relay M00,M01
are capable of reserving the intermediate operating COM COM I0 I1 I2 I3 I4 I5 I6 I7 AC
result.
In this program one contact can be converted to
AP-14M PLC
two and it is the fine reference in programming
the complicated programs. 24V
O0 O1 O2 O3 O4 O5
+
KM
N
L
8-4
8.3 Application of TIM+ Self-keeping+I/O
8.3.1 Flicker Circuit
I1 T2 T1 000 LD I1
KZ 001
T
KC 000 001 ANI T2
002 TIM T1
T1 T2 003 KZ 001
KZ 001
T
KC 050 004 KC 000
005 LD T1
T1 O0 006 TIM T2
OUT
007 KZ 001
008 KC 050
009 LD T1
END 010 OUT O0
011 END
DESCRIPTION
○
○
○
I1
○
○
○
T1
○
○
○
○
○
O1
○
○
○
t1(1.0S) t2 (1.5S)
○
○
○
○
○
8-5
8.3.2 Trigger Circuit
TIM Form a trigger circuit (it outputs constant pulse width regardless of the length of input pulse).
END
○
○
○
I1
○
○
○
4.5S 1S
○
○
○
○
○
M00
○
○
○
○
○
○
○
○
○
○
○
T1
○
○
○
○
○
○
O1
○
○
○
○
○
2.5S
○
2.5S
○
○
8-6
8.3.3 Delay Circuit
I1 T1 000 LD I1
KZ 002 001 TIM T1
T
KC 000 002 KZ 002
003 KC 000
O1 I1 T2 004 LD O1
KZ 001
T 005 ANI I1
KC 000
006 TIM T2
007 KZ 001
T1 T2 O1
008 KC 000
OUT
009 LD T1
O1 010 OR O1
011 ANI T2
012 OUT O1
013 END
END
DESCRIPTION
Start-delay circuit: after I1 is on, T1 delays 2 seconds to let O1 output self-keeping.
!!Reset-delay circuit: after O1 is off, T2 times for 1second to cut off the self-keeping circuit of O1.
○
○
○
○
○
○
○
○
○
○
○
Start-delay for 2 5
○
○
○
○
○
○
○
○
Reset-delay for 1s
○
○
○
○
○
○
○
○
○
○
○
8-7
8.4 Application of CO + TIM + I/O
Control demand: Turn on the electro-magnetic valve to input materials for 2 hours, then run agitator.
Using CO to increase time-delay.
000 LD I0
I0 O0 001 OR O0
OUT 002 OUT O0
O0 003 LD O0
004 LDI T0
O0 T0 T0 005 TIM T0
KZ 100
T 006 KZ 100
KC 000
T0 C0 007 KC 000
CT 072 008 LD T0
CO
009 CO C0
C0 O1 010 CT 072
OUT 011 LD C0
O1 012 OR O1
013 OUT O1
014 END
END
24V O4
+ O0 O1 O2 O3 O5
KM1
KM0
N
L
8-8
8.5 Multi-application
8.5.1 Y- changeover and both Directions of Rotation of the 3-phase Asynchronous
Motor
Control demand: press the start button PB1, the motor starts by Y version and changes to ¡µafter 3seconds at the
same time rotating positively. Press the reverse button PB2, the motor runs on, then press the stop button PB3.
I0 O0
SE 000 LD I0
I0 O3 001 SE O0
Press PB1,the motor starts by
SE 002 LD I0
Y version, rotating directly
I0 M00 003 SE O3
SE 004 LD I0
M00 T0
KZ 003 005 SE M00
T
KC 000 006 LD M00
T0 O3 007 TIM T0
CR Changes to after 3s
008 KZ 003
T0 O2 009 KC 000
SE 010 LD T0
I1 O0 011 CR O3
CR 012 LD T0
I2
013 SE O2
Press PB2, motor reverses 014 LD I1
015 OR I2
I1 O1
016 CR O0
SE
017 LD I1
I2 O1 018 SE O1
CR 019 LD I2
I2 M00 020 CR O1
CR 021 LD I2
Press PB3, motor stops
I2 O2
022 CR M00
operating
CR 023 LD I2
024 CR O2
I2 O3
025 LD I2
CR
026 CR O3
END
027 END
8-9
The circuit diagram of operating motor:
U
V
W
KM direct KM reverse
KM
M motor
KM Y
DESCRIPTION SUPPLEMENT
Input ports: PLC circuit diagram is as the following:
I0: the start button (PB1)
I1: the reverse button (PB2)
I2: the stop button (PB3)
Output ports:
O0: the positive rotating a.c.contactor coil COM COM I0 I1 I2 I3 I4 I5 I6 I7 AC
KM1
KM2
KM3
N
L
8-10
8.5.2 Five Groups of the Rush-answer Control System
Control demand: in these five groups of the rush-answer system, if any button is pressed, the indicator of this group
lights on, at the same time the buzzer voices for 3seconds, press the reset button to do the same action again.
000 LD I1
I1 O2 O3 O4 O5 O1 001 ANI O2
002 ANI O3
SE
003 ANI O4
I2 O1 O3 O4 O5 O2 004 ANI O5
SE 005 SE O1
I3 O1 O2 O4 O5 O3 006 LD I2
Press any button, the indicator
SE 007 ANI O1
of this group lights on 008 ANI O3
I4 O1 O2 O3 O5 O4
009 ANI O4
SE 010 ANI O5
I5 O1 O2 O3 O4 O5 011 SE O2
SE 012 LD I3
013 ANI O1
I0 O1 014 ANI O2
CR 015 ANI O4
I0 O2 016 ANI O5
017 SE O3
CR
018 LD I4
I0 O3 019 ANI O1
Press the reset switch, indicator
CR 020 ANI O2
is off. 021 ANI O3
I0 O4 022 ANI O5
CR 023 SE O4
I0
024 LD I5
O5
025 ANI O1
CR 026 ANI O2
O1 M00 027 ANI O3
OUT 028 ANI O4
029 SE O5
O2
030 LD I0
031 CR O1
O3 032 LD I0
Restore the intermediate result
033 CR O2
in the internal relay M00 034 LD I0
O4
035 CR O3
036 LD I0
O5
037 CR O4
038 LD I0
039 CR O5
040 LD O1
041 OR O2
8-11
Ladder Diagram Command List
042 OR O3
M00 T0 043 OR O4
KZ 003
T 044 OR O5
KC 000 Any indicative lamp lights on,
M00 T0 O0 045 OUT M00
the buzzer voices for 3s 046 LD M00
OUT
047 TIM T0
048 KZ 003
END 049 KC 000
050 LD M00
051 ANI T0
052 OUT O0
053 END
DESCRIPTION SUPPLEMENT
Input point: PLC circuit diagram is as the following
IO: the reset pushbutton
I1: the first group pushbutton
I2: the second group pushbutton
I3: the third group pushbutton
I4: the fourth group pushbutton
COM COM I0 I1 I2 I3 I4 I5 I6 I7 AC
I5: the fifth group pushbutton
8-12
8.5.3 Automatic Control of the Water Tank Level with Alarm
Control demand: when the water is lower than the lower limit start sensor r, run motor M to water. When
the level is lower than the lower limit alarm sensor R, the alarm lamp lights on for 60 seconds and the bell
rings for 25 seconds.When the level is higher than the upper limit stop sensor h, switch off motor M to stop
watering immediately. When the level is higher than the upper limit alarm sensor H, the alarm lamp lights
on for 60 seconds and the bell rings for 25 seconds.
I2 O0
t he lower limit start sensor r is 000 LDI I2
SE
OFF, start motor to water 001 SE O0
I1 O0 002 LD I1
the upper limit stop sensor h is
CR
ON, stop motor watering 003 CR O0
I3 O3 004 LDI I3
SE 005 OR I0
I0 006 SE O3
007 LD O3
the lower limit alarm sensor R is
008 TIM T0
OFF or the upper one H is ON, the
O3 T0 009 KZ 025
KZ 025 alarm bell rings for 25 sceonds
T 010 KC 000
KC 000
T0
011 LD T0
O3
012 CR O3
CR
013 LDI I3
I3 O2
014 SE O2
SE
015 LD O2
O2 T1 016 TIM T1
the lower limit alarm sensor R is
KZ 060 017 KZ 060
T OFF, the alarm lights on for 60 sec-
KC 000 018 KC 000
onds
T1 O2 019 LD T1
CR 020 CR O2
021 LD I0
I0 O1
022 SE O1
SE
023 LD O1
O1 T2
KZ 060 the upper one H is ON, the alarm 024 TIM T2
T
KC 000 lights on for 60s 025 KZ 060
T2 O1 026 KC 000
CR 027 LD T2
028 CR O1
END 029 END
8-13
the upper limit alarm sensor H
M
the upper limit stop sensor h
DESCRIPTION SUPPLEMENT
Input point: PLC circuit diagram is as the following:
I0: the upper limit alarm sensorH
I1: the upper limit stop sensor h
I2: the lower limit start sensor r
I3: the lower limit alarm sensor R
Output point: COM COM I0 I1 I2 I3 I4 I5 I6 I7 AC
O0:A.C contact of motor
O1:the upper limit alarm lamp
AP-14M PLC
O2:the lower limit alarm lamp
O3:the alarm bell 24V
+ O0 O1 O2 O3 O4 O5
KM
N
L
8-14
8.5.4 The Circuit Controls Traffic Lights at Crossroad
Control demand: switch on the button in east and west, the green light in east and west turns on; the red light
in south and north turns on.Switch on the button in south and north, the green light in south and north turns
on; the red light in east and west turns on.Switch on the automatic button, the green light in south and north
turns on for 13 seconds;the yellow light for 3 seconds and the red light for 16 seconds. When the yellow light
in east and west turns on, the corresponding red light ineast and west turns on for 16 seconds, then the green
light for 13 seconds; yellow light f or 3 seconds and cycles on.
Ladder Diagram Command List
I0 046
JMP
000 LDI I0
I0 T0 M00
001 JMP 046
SE 002 LD I0
M00 T0 003 ANI T0
KZ 013
T press the automatic switch PBO, 004 SE M00
KC 000
the green light in south and north
005 LD M00
M00 O0
006 TIM T0
SE turns on for 13s
007 KZ 013
T0 O0 008 KC 000
CR 009 LD M00
010 SE O0
T0 O1 011 LD T0
SE 012 CR O0
T0 T1 013 LD T0
KZ 003 the yellow one turns on for 3s
014 SE O1
T KC 000 015 LD T0
T1 O1 016 TIM T1
CR 017 KZ 003
018 KC 000
M00 O5
019 LD T1
SE 020 CR O1
the corresponding red light in east
T1 O5 and west turns on for 16s 021 LD M00
022 SE O5
CR
023 LD T1
O5 T2 024 CR O5
KZ 013
T 025 LDI O5
KC 000
T1 026 TIM T2
O3
the green light turns on for 13s
027 KZ 013
SE
028 KC 000
T2 O3 029 LD T1
CR 030 SE O3
031 LD T2
T2 O4
032 CR O3
SE
033 LD T2
T2 T3 034 SE O4
KZ 003 the yellow one turns on for 3s
T KC 000
T3 O4
CR
8-15
Ladder Diagram Command List
T1 O2
SE
035 LD T2
036 TIM T3
T3 O2 037 KZ 003
the red light in south and north 038 KC 000
CR
turns on for 16s 039 LD T3
T3 M00 040 CR O4
CR 041 LD T1
042 SE O2
I0 009
043 LD T3
JMP 044 CR O2
I1
045 LD T3
O3
press PB1, the green light in east 046 CR M00
OUT
and west turns on 047 LD I0
I1 O2 048 JMP 009
press PB1, the red one in south and 049 LD I1
OUT
north turns on 050 OUT O3
I2 O0 051 LD O2
OUT press PB2,the green one turns on 052 OUT O0
053 LD I2
I2 O5 054 OUT O0
press PB2, the red one in east and 055 LD I2
OUT
west turns on 056 OUT O5
057 END
END
DESCRIPTION SUPPLEMENT
Inputpoint: PLC circuit diagram is as the following:
I0:the automatic push button (PB0)
I1: the pushbutton in east and west (PB1)
I2: the pushbutton in south and north (PB2)
COM COM I0 I1 I2 I3 I4 I5 I6 I7 AC
Output Point:
O0: the green light in south and north
AP-14M PLC
O1: the yellow light in the south and north
O2: the red light in south and north 24V O4
+ O0 O1 O2 O3 O5
O3: the green light in east and west
O4: the yellow light in east and west
O5: the red light in east and west N
L
8-16
8.5.5 Three Kinds of Liquid Mixed Automatically
Control demand: put liquid A in a condenser, when it reaches the sensor L, shut off the electromagnetic valve A. Put in
liquid B, when it reaches the sensor I, shut off electromagnetic valve B. Put in liquid C, when it reaches the sensor H, shut
off the electromagnetic valve C. Start motor M and cut it off after 25 seconds, open the valve Y, when the liquid reaches the
sensor and displays 0, open valve Y and shut it off after 15 seconds. The action cycles on.
Ladder Diagram Command List
T1 O3 034 KZ 015
CR 035 KC 000
T1 M00 036 LD T1
CR when the liquid level sensor L
037 CR O3
T1 M01 is OFF, close the valve Y after 038 LD T1
CR a delay of 15s 039 CR M00
M02
040 LD T1
T1
041 CR M01
CR
042 LD T1
END 043 CR M02
044 END
DESCRIPTION SUPPLEMENT
KM4
KM3
KM2
N
H
L
I
L
Y
8-18
8.5.6 Automatic Door Control System
control demand: 1.the guard in the office controls the gate through the buttons
2.the gate usual is open or close, but the status will be end at any time
3.the alarm bulb flashes (contact/uncontact) when the door is active
4.with the safe pressure baffle, the operation time is less and is available to avoid
to injure or press person and damage other materials, the door will be open if one
touches (when the safe pressure baffle is in available)
000 LD I6
I6 O2 I4 I3 O1 001 OR I1
OUT ○ ○
open the door
002 OR O1
I1 003 ANI O2
004 ANI I4
O1 005 ANI I3
006 OUT O1
O1 T2 T1 007 LD O1
KZ 001 008 OR O2
T
KC 000
009 ANI T2
O2 When the door is working,
○ ○
the light flashes for 0.5s,
010 TIM T1
off for 1s. 011 KZ O01
T1 T2 KZ 000
012 KC O00
T 013 LD T1
KC 050
014 TIM T2
T1 O0
015 KZ 000
OUT
016 KC 050
I2 I6 O1 I5 I3 O2 017 LD T1
OUT ○ ○
close the door 018 OUT O0
O2 019 LD I2
020 OR O2
021 ANI I6
END
022 ANI O1
023 ANI I5
024 ANI I3
025 OUT O2
026 END
8-19
Operating the automatic door
alarm bulb
Safe Pressure Baffle
12345678901234567890123456789012123
12345678901234567890123456789012123
12345678901234567890123456789012123
12345678901234567890123456789012123
12345678901234567890123456789012123
12345678901234567890123456789012123
12345678901234567890123456789012123
12345678901234567890123456789012123
12345678901234567890123456789012123
12345678901234567890123456789012123
12345678901234567890123456789012123
12345678901234567890123456789012123
SUPPLEMENT
PLC circuit diagram is as the following:
S1 S2 S0 S3 S4 S5
COM COM I0 I1 I2 I3 I4 I5 I6 I7 AC
AP-14M PLC
24V O4
+ O0 O1 O2 O3 O5
H1 K1 K2
N
L
DESCRIPTION
H1: flashing indicator
K1: the main contact for opening door
K2: the main contact for closing door
S0: stop switch
S1: open switch of the door
S2: close switch of the door
S3: limit switch for opening door
S4: limit switch for closing door
S5: safe pressure limit switch
8-20
Chapter 9 The General Electrical
Knowledge about PLC
Normal(static) Pressed(working)
DIAGRAM(9-1)
b contact:also calls N.C.(Normal close) contact, means the contact of components is close or ON in
static state and is open or OFF when it is forced on. Please see the following diagram:
Normal(static) Pressed(working)
DIAGRAM(9-2)
c contact: in-built one a contact and one b contact
Normal(static) Pressed(working)
DIAGRAM(9-3)
Changeover: the contact converts from ON to OFF or from OFF to ON.
9-1
9.4 Table of the Component Symbol
9.4.1 Table of the Input Component Symbol
Pushbutton PB
Switch button SW
Limit switch LS
Timer T
Counter
C
Timer T TIM
CP
Counter C R COUNTER
Motor Motor M
B UZZER Buzzer BZ
9-2
Chapter 10 Equipment Maintenance
& Quality Guarantee
(2) Item
Installation
screw the fixed screw is firm or not firm screwdriver
Mount-
ing Programmer cable the plug-in components is good or not no loose sight check
programmer or
Program Program error or not non
EASY2000
10-1
10.2 Quality Guarantee
The product has been strictly tested for quality before deliver from our plant and completely meet
various requirements stipulated in this manual. Under proper installation it should work as expected.
Ć For any service or repair of this product, buyer will pay shipping charges to ARRAY.
The service charges of sending the technician are not included in the product price, but in the
following condition, charges are excluded:
ƒÜ ¡° Give advice in Mounting¡Bdebugging and running-in.
ƒÜ ¡° Technical recommendation and training.
10-2
Attachment: PLC Holding Unit without Power AP-14E
Our PLC has the unit of AP-14E (user can purchase this unit separately) for
self-keeping in the event of power failure. When discover the left side of PLC,
you can see a contact plug. Plug the contact in the socket on back of AP-14E,
and then fix AP-14E on PLC. When run PLC,set the button on the unit to ON.
However, if power is on again, PLC will continue to operate from the states
that are stored on the moment of power failure(keeping all of the states except
inputting). If unnecessary, release the button.
Notes: the keeping unit of AP-14E can work only from the moment when it is
in available and set into ON. It cannot keep operating states in terms of power
failure before available. Whats more, it will not be ON when firstly powered.