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

How does the Zhejiang Zhongkong DCSJX300XP enable the output of a variable at regular intervals corresponding to the computer’s time?

2015-12-11View Original

Thread Content

I’m using the Zhejiang Zhongkong JX300XP system, which needs to communicate with a colleague’s PLC. It is required that my computer send out the cumulative traffic volume for the current hour at each whole hour, and the cumulative traffic volume for the entire month on the 1st of every month. Timers and accumulators are not allowed, as they cause large errors over time. I’m looking for help – I don’t see any option for time variables in the configuration. It would be sufficient if the computer could output a digital signal that changes from 0 to 1 at each whole hour and on the first day of each month. Please help, experts! Thank you
Reply #22015-12-11
Retrieve the value of the hours field from the system variables and store it in an intermediate variable. Then compare this hours value with that in the intermediate variable; if they are not equal, output 1 and have the intermediate variable retrieve the latest value for hours once again. It’s very simple: just a SEL, and an inequality is enough. It’s simple logic.
Reply #32015-12-11
In the secondary calculations, there are functions that can retrieve the current hour value, and this value can be used for control
Reply #42015-12-12
After performing the second calculation, I set up the relevant events; once GETCURMINUTE() equals 0, the dead time is 0 seconds. In the condition settings, when obtaining the value in seconds, it takes 0 seconds, so GETCURSECOND is set to 0. The expression works fine. However, when I want 5 seconds, I set GETCURSECOND to 5, but the variables in the expression don’t change and the formula stops working. Is it due to the dead time or what else? Thank you
Reply #52015-12-12
After performing the second calculation, I set up the relevant events; once GETCURMINUTE() equals 0, the dead time is 0 seconds. In the condition settings, when obtaining the value in seconds, it takes 0 seconds, so GETCURSECOND is set to 0. The expression works fine. However, when I want 5 seconds, I set GETCURSECOND to 5, but the variables in the expression don’t change and the formula stops working. Is it due to the dead time or what else? Thank you
Reply #62017-06-10
I need help with this problem; I wonder if there’s anyone kind enough to solve it. Thank you. :handshake

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.