0
0
SCADA systemsdevops~10 mins

Integration with MES and ERP systems 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 send data from SCADA to MES using the correct protocol.

SCADA systems
scada.send_data(protocol=[1], data=production_data)
Drag options to blanks, or click blank then click option'
AOPC-UA
BHTTP
CFTP
DSMTP
Attempts:
3 left
💡 Hint
Common Mistakes
Using HTTP which is not typical for SCADA-MES communication.
2fill in blank
medium

Complete the code to map SCADA data fields to ERP system fields.

SCADA systems
erp_data = {"order_id": scada_data[[1]], "quantity": scada_data["qty"]}
Drag options to blanks, or click blank then click option'
A"order"
B"id"
C"order_id"
D"orderNumber"
Attempts:
3 left
💡 Hint
Common Mistakes
Using incorrect field names that do not exist in SCADA data.
3fill in blank
hard

Fix the error in the code to correctly trigger ERP update after MES confirmation.

SCADA systems
if mes.confirmation == [1]:
    erp.update_order(order_id)
Drag options to blanks, or click blank then click option'
A"confirmed"
Bconfirmed
CTrue
D1
Attempts:
3 left
💡 Hint
Common Mistakes
Using unquoted confirmed causing a NameError.
4fill in blank
hard

Fill both blanks to filter SCADA data for ERP upload only for completed orders.

SCADA systems
erp_upload = {order_id: data for order_id, data in scada_data.items() if data[[1]] == [2]
Drag options to blanks, or click blank then click option'
A"status"
B"completed"
C"pending"
D"state"
Attempts:
3 left
💡 Hint
Common Mistakes
Using wrong keys or values that do not filter completed orders.
5fill in blank
hard

Fill all three blanks to create a dictionary comprehension that extracts ERP fields from SCADA data for orders with quantity greater than 100.

SCADA systems
erp_orders = { [1]: [2] for [3], [2] in scada_data.items() if [2]["qty"] > 100 }
Drag options to blanks, or click blank then click option'
Aorder_id
Border_data
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up key and value variable names.