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

CS3000プログラムについて質問です

2016-05-30View Original

Thread Content

もし液位LI11005があって、私が2時間ごとにPV信号を取得し、現在の値から2時間前の値を引いて差分を出したいとしたらどうでしょうか。ずっとループし続け、2時間ごとに更新できます。 このプログラムのやり方がわからないので、達人に解決策を教えてほしい
Reply #22016-05-31
1つのTM、1つのCALCU TMで2時間タイマーを設定し、時間が来るとCALCUを起動して差分を計算する
Reply #32016-05-31
TMブロックでPHを7200に設定し、CALCUを使ってFLOAT TMPを計算する; IF TM.BSTS = "CTUP" THEN !タイマーが切れたら TM.OP = "START" !タイマーを再起動するとBSTSはNRに変わる CPV = LI11105.PV - TMP TMP = LI11105.PV END IF 順序制御表を使って起動時に実行し、タイマーの起動を行うことができる
Reply #42016-05-31
ありがとうございます。まずは試してみます。わからないことがあればまた質問します

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.