0
0
SCADA systemsdevops~10 mins

Control loop monitoring in SCADA systems - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to read the current value of the control loop sensor.

SCADA systems
current_value = sensor.read_[1]()
Drag options to blanks, or click blank then click option'
Atemperature
Bvalue
Cstatus
Doutput
Attempts:
3 left
💡 Hint
Common Mistakes
Using read_status() instead of read_value().
2fill in blank
medium

Complete the code to check if the control loop is within the acceptable range.

SCADA systems
if [1] >= loop.min_limit and [1] <= loop.max_limit:
    status = 'OK'
Drag options to blanks, or click blank then click option'
Acurrent_value
Bsensor.value
Cloop.current
Dloop.output
Attempts:
3 left
💡 Hint
Common Mistakes
Using loop.current which may not exist.
3fill in blank
hard

Fix the error in the code to log an alert when the control loop is out of range.

SCADA systems
if current_value [1] loop.max_limit:
    logger.alert('Control loop out of range')
Drag options to blanks, or click blank then click option'
A<=
B==
C>
D<
Attempts:
3 left
💡 Hint
Common Mistakes
Using <= which triggers alert incorrectly.
4fill in blank
hard

Fill both blanks to calculate the error between setpoint and current value.

SCADA systems
error = [1] - [2]
Drag options to blanks, or click blank then click option'
Aloop.setpoint
Bcurrent_value
Cloop.output
Dsensor.read_value()
Attempts:
3 left
💡 Hint
Common Mistakes
Using output instead of setpoint for error calculation.
5fill in blank
hard

Fill all three blanks to create a dictionary of loop status with keys: 'error', 'status', and 'value'.

SCADA systems
loop_status = {'error': [1], 'status': [2], 'value': [3]
Drag options to blanks, or click blank then click option'
Aerror
Bstatus
Ccurrent_value
Dloop.setpoint
Attempts:
3 left
💡 Hint
Common Mistakes
Putting variable names as strings instead of variables.