i am now confused

What is the logic behind #WF3_RESET_1? It seems that it should be 1 normally to jump over to T32C(I assume that this is later in the code). One second from pushing the button it should go zero for one cycle?

My understanding of the code:

A #WF_RESET // rising edge from push button
JCN T32A // no jump if button pushed
L DB124.DBD600
L #WF3_TOTAL
+R
T #WF3_TOTAL // DB124.DBD600 + #WF3_TOTAL

T32A: SET
A #WF3_RESET_1 // Should goto zero 1 second after
// button pushed. (does the button have
// have to be pressed FOR 1 second for the
// logic to work?)
JC T32C // Jump if #WF3_RESET_1 =true
L DB124.DBD600 // Why DB124.DBD600? Is it not already
// zero 1 second after pushing the button
// or is it reset when #WF3_RESET_1 is
// zero? (?DB124.DBD612?)
L #WF3_TOTAL
+R
T DB124.DBD612 // Add DB124.DBD600 to #WF3_TOTAL (AGAIN!)
// and save to DB124.DBD612


Logic behind #WF3_RESET_1 and type of the timer?
 
Last edited:
Confusion

Network#1
A I 267.2 (ON PUSHBUTTON)
AN DB124.DBX1.0 (AUTOMATIC ON)
FP #WF
=#WF_RESET
A L9.0
L S5T#1S
SF T 305
A DB124.DBX1.0
R T 305
NOP 0
NOP 0
A T305
= #WF_RESET_1
Network#2
A #WF_RESET
JCN T32A
L DB124.DBD600
L #WF3_TOTAL
+R
T #WF3_TOTAL
T32A: SET
A #WF3_RESET_1
JC T32C
L DB124.DBD600
L #WF3_TOTAL
+R
T DB124.DBD612

T32C:SET
 
It seems that T 305(=#WF3_RESET_1) is started on the falling edge of WF_RESET or L9.0?? and reset when DB124.DBX1.0 (AUTOMATIC ON) is 1 or after 1s of running. Logic behind DB124.DBX1.0 and L9.0?


 
Network#1
A I 267.2 (ON PUSHBUTTON)
AN DB124.DBX1.0 (AUTOMATIC ON)
FP #WF
=#WF_RESET
A L9.0
L S5T#1S
SF T 305
A DB124.DBX1.0
R T 305
NOP 0
NOP 0
A T305
= #WF_RESET_1
Network#2
A #WF_RESET
JCN T32A
L DB124.DBD600
L #WF3_TOTAL
+R
T #WF3_TOTAL
T32A: SET
A #WF3_RESET_1
JC T32C
L DB124.DBD600
L #WF3_TOTAL
+R
T DB124.DBD612

T32C:SET

Something fishy in here, L9.0 is not initialised (set or reset) before its used. L area data does not retain its state between function calls. If you use it, it must be initialised before use so its state is known. Now it can be anything.

Have you made changes to that program?
 
Yes, thats true. If that is really the first network of the function the L9.0 state can be anything. That means that the timer T305 is sometimes NOT started (L9.0 = false) and that causes the efect we see in the trend you posted. Sometimes when #WF_RESET = true, #WF3_RESET_1 might be false and this happens.

 
confusion

Sorry , you are right ,i missing something.

A(
O I 267.2
O I 267.3 (AUTOMATIC ON FROM OTHER PLACE)
) AN DB124.DBX1.0 (AUTOMATIC ON)
= L 9.0
A L 9.0
FP #WF
=#WF_RESET
A L9.0
L S5T#1S
SF T 305
A DB124.DBX1.0
R T 305
NOP 0
NOP 0
A T305
= #WF_RESET_1
 
So it's like this:

Network#1

A(
O I 267.2
O I 267.3 (AUTOMATIC ON FROM OTHER PLACE)
) AN DB124.DBX1.0 (AUTOMATIC ON)
= L 9.0
A L 9.0
FP #WF
=#WF_RESET
A L9.0
L S5T#1S
SF T 305
A DB124.DBX1.0
R T 305
NOP 0
NOP 0
A T305
= #WF_RESET_1


Network#2
A #WF_RESET
JCN T32A
L DB124.DBD600
L #WF3_TOTAL
+R
T #WF3_TOTAL
T32A: SET
A #WF3_RESET_1
JC T32C
L DB124.DBD600
L #WF3_TOTAL
+R
T DB124.DBD612

T32C:SET

Where is
DB124.DBX1.0 programmed? It resets T305 and #WF3_RESET_1 is zero.

 
I mean DB124.DBX1.0 (AUTOMATIC ON)

Network#1

A(
O I 267.2
O I 267.3 (AUTOMATIC ON FROM OTHER PLACE)
) AN DB124.DBX1.0 (AUTOMATIC ON) // here
= L 9.0
A L 9.0
FP #WF
=#WF_RESET
A L9.0
L S5T#1S
SF T 305
A DB124.DBX1.0 // here
R T 305
NOP 0
NOP 0
A T305
= #WF_RESET_1
 
confused

yes its feedback.As i told.
You cannot reset when the feeder is still running or in other words , in feeder stop condition only the rising pulse should become high.
 
As you told:

db120.dbx 1.0 is feedback of feeder.

I asked about db124.dbx1.0. Soon we'll all be confused.

Looking at your trend it seems that db124.dbx1.0 became 1 right away and resetted your T305. Then #WF_RESET_1 is zero and pink is increased. Is it possible?
 
Last edited:

Similar Topics

Which of the following input operations require a conversion to digital form prior to input? a) disk b) analog c) contact closures d) limit...
Replies
12
Views
3,896
Hey all! I recently purchased myself a Panelview Plus off of ebay and i was hoping that i could upgrade the firmware on it to Version 9 or so and...
Replies
7
Views
2,762
Good morning everyone. I am apparently confused on the COP instruction. What I am trying to do is copy a DINT to a DINT in a User Defined Data...
Replies
16
Views
7,023
Hey guys, Im currently using the above flex IO to turn on two outputs these outputs go to two flashing red beacon lights. Here's the scenario: My...
Replies
4
Views
1,728
I'm event AV Technician (Sound, Projection, and Lighting). Over the last couple of years I've used a Weigl ProCommander PHX to control some event...
Replies
9
Views
2,721
Back
Top Bottom