Rise edge not working

syma710

Member
Join Date
Sep 2008
Location
Konstanz
Posts
15
I have an interesting problem.
Working with Step 7.
I'm trying to set a memory with some conditions and one of them is the rising edge of a signal at an entrance. The thing is, it doesn't work with the rising edge function and without it, with just the input set to true, it does work.
I realy can't find a logical explanation for that.

Here is the code that works:
A #Pump_OK
A #Auto
A #Start
S #Full
A #Sensor
R #Full
A #Full
= #Motor_forwards

And this don't work:
A #Pump_OK
A #Auto
A(
A #Start
FP #startFlag
)

S #Full
A #Sensor
R #Full
A #Full
= #Motor_forwards

I am debugging with a real CLP, no simulator.

I need the rising edge because the start signal will not be constant.

Tanks.
 
#startFlag

What type of variable is this?

It won't work as an edge memory if it's a TEMP or is used elsewhere.
 
The variable is STAT in an FB.
I analyse in two networks the rising edge of Start, but the flags are different startFlag and startFlag2.
 
Your code works fine in the simulator.

Was #Sensor true while you were testing by any chance? :)
 
It did work.
Went to lunch and shut everything down.

Came back, turned it on, reloaded ant it works.
Maybe trash in the memory. Who knows.
Thanks anyway for the quick reply.

Can I close anyhow this useless thread?
 

Similar Topics

Hi!! I'm looking for Temperature rise calculation software from Rockwell, I just download "Product selection toolbox 2022" but this software is...
Replies
1
Views
211
we have same HMI 2PC / SET LOCAL STATION version 9.0 patch 2021.dec and win10 pro v18.xx 1pc install logix5000 v19 v20 It was going well...
Replies
0
Views
206
In communication with Dop100-107BV hmi panel+SS2 Plc+ATV31 inverter, the system works but 1: When the power of the inverter is cut off and the...
Replies
0
Views
629
System worked fine for years.Have 5/04 processor and2711p-RN6 HMI.Also can't connect with laptop.
Replies
0
Views
577
Hi All, Looking for some clarity regards the relatively recent rebranding of RSLinx Classic. From what I can make out from the RA website and...
Replies
9
Views
2,409
Back
Top Bottom