Siemens 6ED1050-1AA00-0BE8 User Manual

Page of 372
 
LOGO! functions 
 
4.4 Special functions list - SF 
LOGO! 
Manual, 04/2011, A5E03556174-01 
245
 
Let us assume you want to set 'Switch' (On). 
1.  Change to the editing mode: Confirm with OK (the cursor is now positioned on 'Off') 
2.  To change from 'Off' to 'On': Press   or   
3.  Confirm your entries with Press OK 
%
6ZLWFK 2Q
7KHSXVKEXWWRQVZLWFKKHUHLV
VZLWFKHGRQ
 
4.4.27 
Shift register 
Short description 
You can use the shift register function to read the value of an input and to shift its bits left or 
right. The output value corresponds with the configured shift register bit. The shifting 
direction can be changed at a special input.   
 
Symbol in LOGO! 
Wiring 
Description 
Input In 
Input read at the start of the function. 
Input Trg 
A positive edge (0 to 1 transition) at input Trg 
(Trigger) starts the special function. 1 to 0 transitions 
are irrelevant. 
Input Dir 
The signal at input Dir determines the shifting 
direction for the shift register bits S1 to S8 (if 0BA6) 
or Sx.1 to Sx.8 (if 0BA7). "x" refers to the configured 
shift register byte index 1, 2, 3, or 4. 
Dir = 0: Shift up  
(0BA6: S1 >> S8; 0BA7: Sx.1>>Sx.8) 
Dir = 1: Shift down  
(0BA6: S8 >> S1; 0BA7: Sx.8>>Sx.1) 
Parameter 
Shift register bit that determines the value at output 
Q. 
Possible settings (if 0BA6): 
S1 to S8  
Possible settings (if 0BA7):  
Byte index: 1 to 4  
Q: S1 to S8 
LOGO! 0BA7 provides a maximum of 32 shift register 
bits, with 8 bits per shift register.  
Retentivity:  
/ = No retentivity 
R = The status is retentive.  
4
,Q
7UJ
'LU
3DU
 
Output Q 
The output value corresponds with the configured 
shift register bit.