3
 What is the difference between a signal edge evaluation and an RLO edge evaluation?  Entry ID:7228342 Date:2011-06-14 STEP 7 -- Creating S7 programs -- Configuring monitoring What is the difference between a signal edge evaluation and an RLO edge evaluation? Description A signal edge is present when the signal status concerned changes. An RLO edge occurs if the result of the logic operation of the operand to be evaluated has changed compared with the result of the logic operation before. The table below explains the difference between the two edge evaluations. No. Difference between signal and RLO edge evaluation 1 Signal edge evaluation In the function block diagram (FBD) and in the ladder diagram (LAD) the edge evaluation is realized by the functions "POS" (for rising edges) and "NEG" (for falling edges). The signal status of the first operand (for example, input bit E1.1) is compared with the signal status (for example, E1.1) of the query before. If the actual signal status = 1 and the signal status of the query before = 0, then a rising edge is recognized and the output of the function "POS" is set to "1". In order for "POS" to be able to compare the actual signal status with the previous status of E1.1, for each query the actual signal status is buffered for the next query in a marker bit. Example of a signal edge evaluation of the positive edge and of the negative edge in the function block diagram. Fig. 01 Example of a signal diagram with signal edge evaluation with rising and falling edges. The signal "E1.2" works as a release signal. http://support.automation.siemens.com/WW/view/en/7228342 Page 1 of 3 9/9/2014 3:14:06 PM

Diferent FC & RLO

Embed Size (px)

Citation preview

Page 1: Diferent FC & RLO

8/11/2019 Diferent FC & RLO

http://slidepdf.com/reader/full/diferent-fc-rlo 1/3

 

What is the difference between a signal edge evaluation and an RLO edge evaluation?

 Entry ID:7228342 Date:2011-06-14

STEP 7 -- Creating S7 programs -- Configuring monitoring

What is the difference between a signal edge evaluation and an RLO edge evaluation?

Description A signal edge is present when the signal status concerned changes. An RLO edge occurs if the resultof the logic operation of the operand to be evaluated has changed compared with the result of thelogic operation before. The table below explains the difference between the two edge evaluations.

No. Difference between signal and RLO edge evaluation

1 Signal edge evaluation In the function block diagram (FBD) and in the ladder diagram (LAD) the edge evaluation isrealized by the functions "POS" (for rising edges) and "NEG" (for falling edges). The signalstatus of the first operand (for example, input bit E1.1) is compared with the signal status (for

example, E1.1) of the query before. If the actual signal status = 1 and the signal status of thequery before = 0, then a rising edge is recognized and the output of the function "POS" is set to"1". In order for "POS" to be able to compare the actual signal status with the previous status ofE1.1, for each query the actual signal status is buffered for the next query in a marker bit.

Example of a signal edge evaluation of the positive edge and of the negative edge in thefunction block diagram.

Fig. 01

Example of a signal diagram with signal edge evaluation with rising and falling edges. Thesignal "E1.2" works as a release signal.

http://support.automation.siemens.com/WW/view/en/7228342

Page 1 of 3 9/9/2014 3:14:06

Page 2: Diferent FC & RLO

8/11/2019 Diferent FC & RLO

http://slidepdf.com/reader/full/diferent-fc-rlo 2/3

 Fig. 02

2 RLO edge evaluation In FBD and in LAD this edge evaluation is realized by the functions "P" (rising edge) and"N" (falling edge). If the result of logic operation changes, for example from 0 to 1, then the

query of "P" delivers the signal status "1" (see signal diagram) for the duration of the cycle. Forthe function to recognize the change of edge, the RLO must be stored in an edge marker (forexample, M1.1).

Example of an RLO edge evaluation of the positive edge and of the negative edge as functionblock diagram.

Fig. 03

Example of a signal diagram with RLO edge evaluation for rising and falling edges.

http://support.automation.siemens.com/WW/view/en/7228342

Page 2 of 3 9/9/2014 3:14:06

Page 3: Diferent FC & RLO

8/11/2019 Diferent FC & RLO

http://slidepdf.com/reader/full/diferent-fc-rlo 3/3

Keywords Switch pulse, Signal pulse

Fig. 04

Entry ID:7228342 Date:2011-06-14

 © Siemens AG 2014 - Corporate Information - Privacy Policy - Terms of Use

http://support.automation.siemens.com/WW/view/en/7228342

Page 3 of 3 9/9/2014 3:14:06