Toshiba PROSEC T1-16S User Manual page 173

Programmable controller basic hardware and function
Hide thumbs Also See for PROSEC T1-16S:
Table of Contents

Advertisement

9 devices starting with R200 (R200 to R208) is specified as a shift register.
When R010 is OFF, the data of the shift register is reset to 0. (R200 to R208 are reset to OFF)
The carry flag (CF = S050) is also reset to OFF.
While R010 is ON the following operation is enabled.
When X00A is ON (shift left), the data of the shift register is shifted 1 bit to the upper
address direction when X009 is changed from OFF to ON. At the same time, the state of
X008 is stored in the leading bit (R200). The output (R012) indicates the state of the highest
bit (R208).
When X00A is OFF (shift right), the data of the shift register is shifted 1 bit to the lower
address direction when X009 is changed from OFF to ON. At the same time, the state of
X008 is stored in the highest bit (R208). The output (R012) indicates the state of the lowest
bit (R200).
The figure below shows an operation example.
(When X00A is ON and X009 is changed from OFF to ON)
CF
R208 R207 R206 R205 R204 R203 R202 R201 R200
1
(When X00A is OFF and X009 is changed from OFF to ON)
X008
R208 R207 R206 R205 R204 R203 R202 R201 R200
1
Shift result
Note
When the shift input is ON, the shift operation is performed every scan. Use a transitional
contact for the shift input to detect the state changing.
For the data input, the shift input and the enable input, direct linking to a connecting point is not
allowed. In this case, insert a dummy contact (always ON special device = S04F, etc.) just
before the input. Refer to Note of Shift register FUN 074.
1
0
0
1
0
0
1
1
R012 is turned OFF
0
0
1
1
1
0
0
1
1
0
0
1
0
0
1
1
0
0
1
1
1
0
0
1
Basic Hardware and Function
7. Instructions
X008
1
0
0
Shift result
CF
0
1
0
R012 is turned ON
6F3B0253
171

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents