We will be pleased to provide you with a program for a DS402 StateMachine on request.