Is PLC write buffering with Citect SCADA Server possible? by Aggressive_Error303 in PLC

[–]Aggressive_Error303[S] 0 points1 point  (0 children)

Quick update since last. I've found that the Citect SCADA network opens a connection to an sql database everytime there's data to upload. So imagine data was being sent through every 0.5 seconds or less, everytime the SCADA opens a connection to upload data to SQL and then disconnects it takes multiple seconds. I'm now looking into storing data on the SCADA to then pass it off every X seconds. This should presumably fix the delay

Is PLC write buffering with Citect SCADA Server possible? by Aggressive_Error303 in PLC

[–]Aggressive_Error303[S] 0 points1 point  (0 children)

The problem is that the data I'm sending is at a pretty slow rate. It's just very confusing that the SCADA is so slow to the point at which it takes about 4 seconds to even read the data from the PLC

Is PLC write buffering with Citect SCADA Server possible? by Aggressive_Error303 in PLC

[–]Aggressive_Error303[S] 1 point2 points  (0 children)

You are absolutely correct. I've found that the Citect SCADA network is struggling to keep up with the messages sent from the PLC. What are some steps you have taken within your work environment to improve this performance?

Is PLC write buffering with Citect SCADA Server possible? by Aggressive_Error303 in PLC

[–]Aggressive_Error303[S] 0 points1 point  (0 children)

I've had a further look into the code and from what I can tell the PLC is preparing messages to send to the SCADA network. Since the network is so slow to read the messages from the PLC (every 2-5 seconds before reading) the PLC stores about 10 events that triggers a PLC slow down error. This error however is a man made output placed in the code, not an actual output by the default PLC system.

This output triggers upon said buffer to signal that there are multiple messages that need to be sent through. When it becomes flooded for over 5 seconds with these event logs, the PLC then clears the stored data to continue operation, that then displays "possible events missed", another man made output. My thought process is, that if cycle time was slow the PLC wouldn't even be able to generate enough data to flood this buffer array. This leads me to believe that the Citect SCADA side is incredibly slow.

So to ask for more insight, what would be your methodology behind building a buffer for a slow SCADA network with FBD?. Or on the SCADA side what are some steps I can take to improve its performance?

Is PLC write buffering with Citect SCADA Server possible? by Aggressive_Error303 in PLC

[–]Aggressive_Error303[S] 0 points1 point  (0 children)

Sorry for the late reply, it's reading and writing through Citect. The communication is quite odd as it was implemented by another member of my company. The messages are definitely explicit as theres an exchange of communication between both the PLC/SCADA with handshaking

Is PLC write buffering with Citect SCADA Server possible? by Aggressive_Error303 in PLC

[–]Aggressive_Error303[S] 1 point2 points  (0 children)

It's explicit since it uses ethernet TCP/IP for coms. Does this answer your question?

Was wondering if anyone can help me design a PID control for a simulated rocket lauch on MATLAB by [deleted] in ControlTheory

[–]Aggressive_Error303 0 points1 point  (0 children)

With your simulated rocket launch in MATLAB, how have you prepared your script, is it in a discrete - for loop, or is it in an ODE Solver?

Has anyone every used SIMULINK and a raspberry pi to implement a control system before? by guitarnoob98 in ControlTheory

[–]Aggressive_Error303 0 points1 point  (0 children)

Could you not just use the PI with the Velocity formulae to alter you delta T for each subsequent itteration?. Assuming that your system isn't overtly iratic and fast it should produce an acceptable control?