Thanks to Volker's reply I went a complete different way and used a Sequential Function Chart with a state machine describing exactly what I wanted:
If the input is TRUE, then activate the output, wait for the specified time and deactivate the output.
After this, wait for the input to become FALSE ...
Search found 5 matches
- 24 Mar 2018, 06:07
- Forum: logi.cals
- Topic: Race condition - will FBD-Light detect this?
- Replies: 4
- Views: 13405
- 22 Mar 2018, 21:38
- Forum: logi.cals
- Topic: Race condition - will FBD-Light detect this?
- Replies: 4
- Views: 13405
Re: Race condition - will FBD-Light detect this?
The solution of the problem lies in the kind of programming with FBD / FUB. You need to define states of your machine and then use one cycle for each state. In your example the machine is forced in several states during one cycle (the reset case).
...
Okay , sorry this is all a bit theoretical ...
- 21 Mar 2018, 23:34
- Forum: logi.cals
- Topic: Race condition - will FBD-Light detect this?
- Replies: 4
- Views: 13405
Race condition - will FBD-Light detect this?
Hi,
I just received my RevPi and started testing with Logi.cals
I used the FBD editor from OpenPLC to create a simple test program from my Function Block Diagram:
fbd.jpg
From this FBD I created the following Structured Text:
PROGRAM Test
VAR
Ton0 : TON;
RS0 : RS;
RS1 : RS;
Trig : R_TRIG ...
I just received my RevPi and started testing with Logi.cals
I used the FBD editor from OpenPLC to create a simple test program from my Function Block Diagram:
fbd.jpg
From this FBD I created the following Structured Text:
PROGRAM Test
VAR
Ton0 : TON;
RS0 : RS;
RS1 : RS;
Trig : R_TRIG ...
- 13 Mar 2018, 21:53
- Forum: Hardware
- Topic: Loosing Time
- Replies: 23
- Views: 43199
Re: Loosing Time
The other restrictions we needed to take into account when constructing the RevPi Core were the facts that the case was predefined to be able to use all our industrial gateways which already existed when we started the project.
"Being stuck" with the beautiful design of the case is a good ...
- 13 Mar 2018, 12:20
- Forum: Hardware
- Topic: Loosing Time
- Replies: 23
- Views: 43199
Re: Loosing Time
Batteries are not good for industrial devices
Although I tend to agree, the industry shows a different opinion.
We have a Fanuc Robot which has a battery pack with 4 AA cells to store calibration data. The controller of my Bridgeport VMC1000 (CNC milling center) uses 2 AA cells as a backup for ...