hello people
im after some help with s7.
I have a filter where fluid goes through with 0–200 kg/s at 0-20mA.
The signal comes in to PIW256.
I have used the scale function:
CALL"SCALE" (
IN := PIW256,
HI_LIM := 2.000000e+002,
LO_LIM := 0.000000e+000,
BIPOLAR := FALSE,
RET_VAL := #wFC105Return,
OUT := PQD512;
Now my problem, I have to count up my output (PQD512) every second, till it reaches 10000kg. If it has reached 10000 I have to pulse output Q10.0 high en reset the counting so it starts again with counting from 0 till 10000.
im after some help with s7.
I have a filter where fluid goes through with 0–200 kg/s at 0-20mA.
The signal comes in to PIW256.
I have used the scale function:
CALL"SCALE" (
IN := PIW256,
HI_LIM := 2.000000e+002,
LO_LIM := 0.000000e+000,
BIPOLAR := FALSE,
RET_VAL := #wFC105Return,
OUT := PQD512;
Now my problem, I have to count up my output (PQD512) every second, till it reaches 10000kg. If it has reached 10000 I have to pulse output Q10.0 high en reset the counting so it starts again with counting from 0 till 10000.