-------------------------------------------- CONPROSYS Script sample programs No. 003 -------------------------------------------- Process name: Flashing Circuit Date of creation: February 17, 2016 Processing content: ON state of contact input blinks the lamp connected to the output. [Signals] DI0 - Input DO0 - Lamp [Operation] 1. ON state of a contact input blinks the lamp connected to the output. 2. This circuit sets the output to ON and to OFF repeatedly. The interval of ON and OFF is determined by a preset data. [Description] This sample program has two tasks, TASK8 and TASK9. TASK8 processes the interval data setting. TASK9 executes the flashing output. In TASK8, a 500msec interval data is set in TAG90. TASK9 reads the state of DI0 to TAG91 and judges this inputted state. To use this sample program, restores this sample program to the M2M controller.