The invention discloses a programmable
state sequence dynamic generation
system of a
direct current tester, which comprises an interactive layer, a
control layer and an output layer, wherein, the interactive layer enters the requirements of a tester, and an N-S drawing entering and a
fault model library entering mode are provided; the
control layer comprises a timing control module which is used for controlling the execution order, a
logic control module which is used for condition judgment and number hopping, and a state input module which comprises a
field bus input and a switch quantity input, and the state input module is used for editing a
logical condition expression; the output layer is used for selecting the execution state according to the
control layer and outputting a corresponding switch amount, a digital quantity or an analog quantity. According to the invention, the
state sequence is dynamically generated according to the input switch quantity and the
field bus input, andthe test requirement of a
direct current control and protection equipment is met.