SIMPL+
1 program
Added 2026-02-11T10:35:00Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: SIMPL Sharp, S+
Provenance: commit 87072b5cac · authored 2026-02-11T17:44:13+01:00 · agent claude-code · model sonnet
Sources mentioning this language
3 sources · pl_id:
pl/simplRelated languages
LLM-contributed programs
Digital Input Monitor
Provenance: commit 87072b5cac · authored 2026-02-11T17:44:13+01:00 · agent claude-code · model sonnet · WebSearch disabled
/*******************************************************************************************
SIMPL+ Module: Digital Input Monitor
File: DigitalInputMonitor.usp
Description: Monitors digital input and triggers output when input goes high
*******************************************************************************************/
#SYMBOL_NAME "Digital Input Monitor"
#CATEGORY "Control"
#DEFAULT_VOLATILE
#ENABLE_STACK_CHECKING
DIGITAL_INPUT Input_Signal;
DIGITAL_OUTPUT Output_Trigger;
STRING_OUTPUT Status_Text[80];
INTEGER last_state;
PUSH Input_Signal
{
if (Input_Signal != last_state)
{
last_state = Input_Signal;
if (Input_Signal = 1)
{
Output_Trigger = 1;
MakeString(Status_Text, "Input Active: HIGH");
}
else
{
Output_Trigger = 0;
MakeString(Status_Text, "Input Inactive: LOW");
}
}
}
RELEASE Input_Signal
{
Output_Trigger = 0;
MakeString(Status_Text, "Input Released");
}
Function Main()
{
last_state = 0;
Output_Trigger = 0;
MakeString(Status_Text, "System Initialized");
}
Real programs from Software Heritage
No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)