viewof responseTime = Inputs.range([0.001, 86400000], {
label: "Required Response Time (ms)",
step: 0.001,
value: 10,
transform: Math.log,
invert: Math.exp
})
viewof safetyLevel = Inputs.radio(["Safety-critical", "Production-critical", "Quality-critical", "Business-critical", "Informational"], {
label: "Impact of Missed Deadline",
value: "Production-critical"
})
viewof humanInteraction = Inputs.toggle({label: "Human Operator Interaction?", value: false})
levelRecommendation = {
let level, protocols, platform, justification;
const responseMs = responseTime;
if (responseMs < 1 || safetyLevel === "Safety-critical") {
level = "0-1";
protocols = "EtherCAT, PROFINET IRT";
platform = "PLC with RTOS or bare metal";
justification = "Sub-millisecond response or safety-critical functions require hard real-time determinism at Level 0-1.";
} else if (responseMs < 100) {
level = "1";
protocols = "PROFINET, EtherNet/IP";
platform = "PLC or PAC with real-time OS";
justification = "1-100ms response requires soft real-time control at Level 1 (Basic Control).";
} else if (responseMs < 1000 || humanInteraction) {
level = "2";
protocols = "OPC-UA, Modbus TCP";
platform = "Industrial PC with standard OS";
justification = "Human interaction or 100ms-1s response fits Level 2 (Supervisory/SCADA).";
} else if (responseMs < 60000) {
level = "3";
protocols = "OPC-UA, REST APIs";
platform = "Application server";
justification = "Seconds-to-minutes response for workflow management fits Level 3 (Operations/MES).";
} else {
level = "4";
protocols = "REST APIs, MQTT";
platform = "Cloud or enterprise server";
justification = "Hours-to-days planning horizon fits Level 4 (Enterprise/ERP).";
}
return {level, protocols, platform, justification};
}
html`<div style="background: #f8f9fa; border-left: 4px solid #9B59B6; padding: 16px; margin: 20px 0; border-radius: 4px;">
<h3 style="color: #2C3E50; margin-top: 0;">ISA-95 Level Recommendation</h3>
<div style="background: white; padding: 16px; border-radius: 8px; border: 2px solid #9B59B6; margin: 16px 0;">
<div style="text-align: center;">
<div style="color: #7F8C8D; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px;">Recommended Level</div>
<div style="color: #9B59B6; font-size: 48px; font-weight: bold; line-height: 1;">${levelRecommendation.level}</div>
</div>
</div>
<div style="display: grid; gap: 12px; margin-top: 16px;">
<div style="background: white; padding: 12px; border-radius: 4px; border-left: 3px solid #2C3E50;">
<div style="color: #7F8C8D; font-size: 12px; margin-bottom: 4px;">Response Time</div>
<div style="color: #2C3E50; font-weight: bold;">${responseTime < 1 ? (responseTime * 1000).toFixed(2) + ' μs' : responseTime < 1000 ? responseTime.toFixed(2) + ' ms' : (responseTime / 1000).toFixed(2) + ' seconds'}</div>
</div>
<div style="background: white; padding: 12px; border-radius: 4px; border-left: 3px solid #16A085;">
<div style="color: #7F8C8D; font-size: 12px; margin-bottom: 4px;">Recommended Protocols</div>
<div style="color: #16A085; font-weight: bold;">${levelRecommendation.protocols}</div>
</div>
<div style="background: white; padding: 12px; border-radius: 4px; border-left: 3px solid #E67E22;">
<div style="color: #7F8C8D; font-size: 12px; margin-bottom: 4px;">Computing Platform</div>
<div style="color: #E67E22; font-weight: bold;">${levelRecommendation.platform}</div>
</div>
<div style="background: #e8f4f8; padding: 12px; border-radius: 4px; border-left: 3px solid #3498DB;">
<div style="color: #7F8C8D; font-size: 12px; margin-bottom: 4px;">Justification</div>
<div style="color: #2C3E50; line-height: 1.5;">${levelRecommendation.justification}</div>
</div>
</div>
</div>`ISA-95 Level Selector Tool
ISA-95 Level Selector Tool
animation
iiot
industrial-operations
Try Change Required Response Time (ms) and Impact of Missed Deadline to compare recommendations. Then press Calculate recommended level.
Observe After pressing Calculate recommended level, watch the recommended level, protocols, and computing platform as Required Response Time (ms) changes.
Explain Explain why Impact of Missed Deadline selects level 0-1 for safety-critical functions.
Technical boundaries. Recommendations use response time thresholds, safety-critical functions, and human interaction. Other deadline impact choices do not change the response time thresholds.
Try it: Adjust the response time requirement and safety criticality to see how the recommended ISA-95 level changes. The tool applies the decision framework to match your requirements to the appropriate automation level.