I have been working on this program for work all week end , and i have most of it working the way i need it to work , but i can't seem to figure this part out , it maybe easy or not , i don't know. still learning this new world of plc.
so what i am trying to do it is monitor a couple of motors current. when the motor amp draw get above 270 amps i need the infeed conveyors to turn off and stay off for say 30 sec or until amps have gone below the set # in v mem
i have been testing it with a temp probe and when the hi alarm closes all infeed conveyors turn off , but as soon as the temp goes below set point they comes back on , i have tried use = > < tmr cnt and can't seem to get any of them to say off of more then just a few sec.
the code
PLC 260
// Rung 1
// Address 0
ISG S0
// Rung 2
// Address 2
STR C170
AND C171
SET Y0
// Rung 3
// Address 5
STR C171
SET Y1
// Rung 4
// Address 7
STR Y1
TMR T0 K35
// Rung 5
// Address 11
STR T0
RST Y1
JMP S1
// Rung 6
// Address 14
ANLGIN K0 K1 K4 K0 V400
// Rung 7
// Address 52
STR SP1
ANSCL V400 K500 K0 V410
// Rung 8
// Address 79
STR SP0
LD K8400
OUT V7660
LDA O2000
OUT V7670
// Rung 9
// Address 84
SG S1
// Rung 10
// Address 86
STR SP1
HILOALB V2000 K850 C301 K800 C302 TA0 C0 TA0 C0
// Rung 11
// Address 150
STR C100
OR Y2
OR C500
ANDN C101
OUT Y2
// Rung 12
// Address 155
STR C102
OR Y3
OR C500
ANDN C103
SET Y3
// Rung 13
// Address 160
STR C104
OR Y5
OR C500
ANDN C105
SET Y5
// Rung 14
// Address 165
STR C301
RST Y2 Y5
// Rung 15
// Address 168
STR C301
ONDTMR T2 K300 B1.1
// Rung 16
// Address 196
STR B1.1
OUT C500
// Rung 17
// Address 199
END
// Rung 18
// Address 200
NOP
#BEGIN ELEMENT_DOC
"UB1","MCR","",""
"X0","power Switch","s2 to x0",""
"X1","Safty Relay","",""
"X2","","","Line 1 Pick Line OL"
"X3","","","Line 1 No1 OL"
"X4","","","Line 1 Ring Mill OL"
"Y0","","","MCR 1"
"Y1","","","Alarm Buzzer"
"Y2","","","Line 1 Hopper Run"
"Y3","","","Pick Line "
"Y4","","","Line 1 Pick Line "
"Y5","","","Line 1 No1 Conveyor "
"Y6","","","Line 1 Airlock "
"Y7","","","Line 1 No3 Conveyor "
"Y10","","","Line 1 Meterwheel "
"Y11","","","Line 1 Shaker motors"
"Y100","","","Line 1 Ring Mill "
"Y101","","","Line 1 Z box Fan Run"
"C1","","","Power Relay"
"C2","","","Line 1 Hopper Run"
"C3","","","Line 1 Pick Line Run"
"C4","","","Line 1 No1 Conveyor Run"
"C5","","","Line 1 Ring MIll 1 Run"
"C6","","","Line 1 No2 Conveyor"
"C7","","","Line 1 AirLock Run"
"C10","","","Line 1 Z Box Fan Run"
"C11","","","Line 1 No3 Conveyor Run"
"C12","","","Line 1 Metering Wheel Run"
"C13","","","Line 1 Shaker Motors"
"C100","Line 1 Hopper","","Run"
"C101","Hopper Stop","","Line 1"
"C102","Pick Line 1","","Run"
"C103","","","Pick Line Stop"
"C104","","","No1 Conveyor Run"
"C301","","","Hi Alarm Temp Bearing #1"
"S0","","","Start up Stage"
"S1","","","Line #1 Stage"
"T0","","","Timer 1 Warning Alarm"
"T1","","","Feed Delay "
"V2000","","","Bearing Temp Alarm"
"B1.1","","","Feed Delay"
#END
so what i am trying to do it is monitor a couple of motors current. when the motor amp draw get above 270 amps i need the infeed conveyors to turn off and stay off for say 30 sec or until amps have gone below the set # in v mem
i have been testing it with a temp probe and when the hi alarm closes all infeed conveyors turn off , but as soon as the temp goes below set point they comes back on , i have tried use = > < tmr cnt and can't seem to get any of them to say off of more then just a few sec.
the code
PLC 260
// Rung 1
// Address 0
ISG S0
// Rung 2
// Address 2
STR C170
AND C171
SET Y0
// Rung 3
// Address 5
STR C171
SET Y1
// Rung 4
// Address 7
STR Y1
TMR T0 K35
// Rung 5
// Address 11
STR T0
RST Y1
JMP S1
// Rung 6
// Address 14
ANLGIN K0 K1 K4 K0 V400
// Rung 7
// Address 52
STR SP1
ANSCL V400 K500 K0 V410
// Rung 8
// Address 79
STR SP0
LD K8400
OUT V7660
LDA O2000
OUT V7670
// Rung 9
// Address 84
SG S1
// Rung 10
// Address 86
STR SP1
HILOALB V2000 K850 C301 K800 C302 TA0 C0 TA0 C0
// Rung 11
// Address 150
STR C100
OR Y2
OR C500
ANDN C101
OUT Y2
// Rung 12
// Address 155
STR C102
OR Y3
OR C500
ANDN C103
SET Y3
// Rung 13
// Address 160
STR C104
OR Y5
OR C500
ANDN C105
SET Y5
// Rung 14
// Address 165
STR C301
RST Y2 Y5
// Rung 15
// Address 168
STR C301
ONDTMR T2 K300 B1.1
// Rung 16
// Address 196
STR B1.1
OUT C500
// Rung 17
// Address 199
END
// Rung 18
// Address 200
NOP
#BEGIN ELEMENT_DOC
"UB1","MCR","",""
"X0","power Switch","s2 to x0",""
"X1","Safty Relay","",""
"X2","","","Line 1 Pick Line OL"
"X3","","","Line 1 No1 OL"
"X4","","","Line 1 Ring Mill OL"
"Y0","","","MCR 1"
"Y1","","","Alarm Buzzer"
"Y2","","","Line 1 Hopper Run"
"Y3","","","Pick Line "
"Y4","","","Line 1 Pick Line "
"Y5","","","Line 1 No1 Conveyor "
"Y6","","","Line 1 Airlock "
"Y7","","","Line 1 No3 Conveyor "
"Y10","","","Line 1 Meterwheel "
"Y11","","","Line 1 Shaker motors"
"Y100","","","Line 1 Ring Mill "
"Y101","","","Line 1 Z box Fan Run"
"C1","","","Power Relay"
"C2","","","Line 1 Hopper Run"
"C3","","","Line 1 Pick Line Run"
"C4","","","Line 1 No1 Conveyor Run"
"C5","","","Line 1 Ring MIll 1 Run"
"C6","","","Line 1 No2 Conveyor"
"C7","","","Line 1 AirLock Run"
"C10","","","Line 1 Z Box Fan Run"
"C11","","","Line 1 No3 Conveyor Run"
"C12","","","Line 1 Metering Wheel Run"
"C13","","","Line 1 Shaker Motors"
"C100","Line 1 Hopper","","Run"
"C101","Hopper Stop","","Line 1"
"C102","Pick Line 1","","Run"
"C103","","","Pick Line Stop"
"C104","","","No1 Conveyor Run"
"C301","","","Hi Alarm Temp Bearing #1"
"S0","","","Start up Stage"
"S1","","","Line #1 Stage"
"T0","","","Timer 1 Warning Alarm"
"T1","","","Feed Delay "
"V2000","","","Bearing Temp Alarm"
"B1.1","","","Feed Delay"
#END