A53 Z0 9 0020 L En Technical documentation
Chapter : Additional functions
13.6
Remote start upon external pulse
To set the GENSYS 2.0 to start upon an external pulse input, 2 solutions can be used:
Use a relay
Set an external input
This variable E2514 (Virtual Start) must be maintained at « 1 » after the first rising edge
and go to 0 after the second rising edge. Example is for the J15 input:
@ WARNING: if section empty or missing, existing equations will be lost;
PROG 1
BLOC
@@@@ PULSE ON REMOTE START FROM EXTERNAL @@@@;
@ E2585 = Value of the E2815 with one cycle less to detect a pulse;
@ ( E2815 EQ 1) AND (E2585 EQ 0) Detection of a top pulse;
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@;
E2585:= E2815;
E2514:=((E2514 OR ((E2815 EQ 1) AND (E2585 EQ 0))) AND ((E2514 AND ((E2815 EQ 1) AND
(E2585 EQ 0))) EQ 0))
BEND
.
Do not forget to set the input. GENSYS 2.0 must be informed that J15 (in this example) is used by a custom
equation:
V1276 1 N DIJ15 function +00000 +02999
Here the variable E2585 detects a rising edge on E2815.
The cycle or the variable E2815 goes from 0 to 1. The variable E2585 stays at 0 a cycle longer in order to see
E2815 =1 and detect the rising edge.
You can also detect the falling edge by changing the equation:
(E2815 EQ 1) AND (E2585 EQ 0) to (E2815 EQ 0) AND (E2585 EQ 1).