How to use block AUTOMATON?

i want to create Finite State Automat in Scilab, but i dont understand dokumentation about it, can anybody show me example. Thanks)