HCBBS Forum (日本語)
Submit Chemical Projects / Find Solutions
Amplify Your Requirements on a Broader Chemical Platform *Engineering · Technology · Equipment · Solutions*
Submit Request

論理問題:圧力が10秒以内に設定値を超えた場合、1を出力する

2019-01-08View Original

Thread Content

皆さんにお伺いします:圧力がPI-001のように、10秒間ずっとある設定値を上回っている場合、出力は1になりますか。10秒以内のある時点で変動が設定値未満になった場合、再びタイムを計測して判定する。 上記の論理を与論理、または論理、非論理を使ってどのように実現するか、皆さん、よろしくお願いします。
Reply #22019-01-08
論理は必要か?高く設定して、10秒遅らせればいいだけだ。
Reply #32019-01-09
測定値が設定値を上回った場合、タイマーの計時を開始する。計時中に測定値が設定値を下回った場合は、計時を停止し、タイマーをリセットする。 タイマーの累計時間が10秒に達すると、制御ポートから1が出力される……いくつかの中間変数を使って状態を表現すれば、プログラムの作成も簡単になる。
Reply #42019-01-09
その説明は少し問題があるかもしれませんね。設定値を10秒以上上回ったら警報を出し、10秒未満なら再びタイマーを始動させる、という方が分かりやすいのではないでしょうか。遅延させればいいだけです。
Reply #52019-02-28
システムには遅延モジュールがあります。0が1に変わってからN秒間維持された場合に1を出力し、N秒に満たない場合は1を出力しない。逆に1から0にも同様のモジュールがある

Submit a Project

**Looking for Chemical Technology, Equipment & Solutions?** No Registration Required Broader Platform Exposure | Global Chemical Service Provider Connections

Submit Request — Free Consultation

Disclaimer

This is an automated machine translation of the original thread. Some technical terms may have inaccuracies; the original text shall prevail. Click "View Original" at the top right to access the source page, which supports IP-based automatic real-time language translation. Please watch out for contact details and sales inducements to prevent fraud. All content and translations are for reference only, representing solely the poster's personal views. For enquiries, email service@hcbbs.com.