Example Scripts netSCRIPT

DescriptionScript fileProject File for netSCRIPT debugger

Getting trained the basics



Explains basics of how to deal with Lua in general

basics.lua
Shows using the embedded CRC generator
Shows access to the devices LEDs

Getting trained on UART functions



Echoing back any UART char received to the originator
Sending "Hello World" over serial line
Eliza game implementation
Write a given time as char string to UART and counts
Using the UART in block mode
Modbus RTU Master protocol implementation
Modbus RTU Slave protocol implementation
Allen Bradley DF1 protocol master implementation

Getting trained on IO access functions



Increments a simple counter in the input area of an IO image
Template for UART block mode and transfer to IO image
Template for UART char mode and transfer to IO image