Skip to content

Instantly share code, notes, and snippets.

@fakenickels
Created August 29, 2019 15:00
Show Gist options
  • Save fakenickels/438187ac2acf7fae369bd52b8bff96f1 to your computer and use it in GitHub Desktop.
Save fakenickels/438187ac2acf7fae369bd52b8bff96f1 to your computer and use it in GitHub Desktop.
Prysmian
Prysmian
Connect to ModBus
next -> Read register
Read register
next -> Calculate matrix
Calculate matrix
next -> Write matrix to PLC
Write matrix to PLC
next -> Process preform idle state
Process preform idle state
next -> Reset timeline status state
Reset timeline status state
next -> Connect to ModBus
function render(model){
let current_state_name = model.active_states[0].name;
return $("h1",
{style: {color: "darkBlue"}},
`The current state is: ${current_state_name}`);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment