0
0
SCADA systemsdevops~10 mins

Sequence control from SCADA 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 start the sequence when the start button is pressed.

SCADA systems
if start_button.[1]():
    sequence.start()
Drag options to blanks, or click blank then click option'
Astop
Breset
Cis_pressed
Dactivate
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'stop' or 'reset' instead of checking if pressed.
2fill in blank
medium

Complete the code to pause the sequence when the pause command is received.

SCADA systems
if command == '[1]':
    sequence.pause()
Drag options to blanks, or click blank then click option'
Astart
Bstop
Creset
Dpause
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'stop' or 'reset' instead of 'pause'.
3fill in blank
hard

Fix the error in the code to correctly check if the sequence is running.

SCADA systems
if sequence.[1]() == True:
    print('Sequence is running')
Drag options to blanks, or click blank then click option'
Ais_running()
Brunning()
Crun()
Dstart()
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'running()' which may not exist, or 'start()' which starts the sequence.
4fill in blank
hard

Fill both blanks to create a loop that waits until the sequence is complete.

SCADA systems
while sequence.[1]():
    time.[2](1)
Drag options to blanks, or click blank then click option'
Ais_running
Bsleep
Cwait
Dstop
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'wait' instead of 'sleep' or 'stop' instead of 'is_running'.
5fill in blank
hard

Fill all three blanks to log the sequence status with timestamp.

SCADA systems
log_entry = f"{time.[1]()} - Sequence status: {sequence.[2]()}"
logger.[3](log_entry)
Drag options to blanks, or click blank then click option'
Actime
Bis_running
Cinfo
Dstart
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'start' instead of 'is_running', or 'logger.start' which does not exist.