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초 이내의 어느 시점에서 변동이 설정값보다 작아지면, 다시 시간을 측정하여 판단합니다. 위의 논리를 AND, OR, NOT 논리로 어떻게 구현할 수 있을까요? 여러분, 감사합니다.
Reply #22019-01-08
논리가 필요한가?높게 설정해두고 10초 늦추면 되지 않나.
Reply #32019-01-09
측정값이 설정값보다 클 때 카운트다운이 시작되며, 측정값이 설정값보다 작아지면 카운트다운이 중단되고 타이머는 0으로 리셋됩니다. 타이밍이 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.