
70
© 2002 Carlo Gavazzi Industri A/S. All rights reserved
G 3800 X015 Configuration Software
October 2002
G 3800 X015 Configuration Software
October 2002
G 3800 X015 Configuration Software
October 2002
G 3800 X015 Configuration Software
October 2002
G 3800 X015 Configuration Software
October 2002
The following tables summarize the results of the logic setups:
AND
E1
E2
A
0
0
0
1
0
0
0
1
0
1
1
1
OR
E1
E2
A
0
0
0
1
0
1
0
1
1
1
1
1
XOR
E1
E2
A
0
0
0
1
0
1
0
1
1
1
1
0
Example:
If in the XOR-function, both input 1 (E1) and input 2 (E2) have the value “1”, the output (A) will
assume the value “0”.
3.3.2. Inversion and Edge Triggering
A special feature of the logic functions is the possibility of inverting the output:
•
When a - (minus) is added in front of the value, the input value and consequently the output are inverted,
ie if the input had the value “0”, it gets the value “1” and vice versa.
•
Adding a / (slash) in front of the address leads to triggering on leading edge.
•
Adding a \ (backslash) in front of the address leads to triggering on trailing edge.
This change in ouput does not affect the input channels or flags.
3.3.2.1. Inversion
Inversion can be applied to both channels and flags. The output can be of any type.
Example of a logic setup:
Output
Input 1
Function
Input 2
A1
E1
AND
-E2
Time characteristics
t
t
t
PMan_003a
t
1
t
2
E1
E2
A1
Output A is only active, when input E1 is active and input E2 is not active (range between the dotted lines).
The internal processing in the Master Generator inverts the value of E2 before it is output (ie sees it as active).
3.3.2.2. Example of Edge Triggering
Edge triggering can only be used on channels A1 to P8. Since the process is dynamic and lasts only two bus
cycles, it is necessary to select an output channel capable of processing impulses, eg channels with toggle
switch function, timer function or master function.
A push button function can also be generated with this setup, but it should be noted that in this case the out-
put will only be active for one cycle.
Example of a logic setup:
Output
Input 1
Function
Input 2
A1
E1
AND
/E2