Chapter 5 PLC Functional Code
41
Ⅰ
Programming
5.20 SFT
(
Shift Register
)
Function:
This instruction can each time shift a byte data (8 bits) by a bits number set by a Parameter, For
the circular shifting, each overflowing "1" will be added reversely, i.e. If the highest bit "1" is
overflowed by the left shifting, so the lowest bit will be filled by "1", vice versa.
Format
:
DIR
(
W
)
CONT
RST
ACT
SFT
S1
Address
of shift
data
Length
Format
designation
Fig.5-20-1
Control conditions:
Shift direction specification (DIR)
DIR=0: Left shift
DIR=1: Right shift
Condition specification (CONT)
CONT=0: do not cycle shift
CONT=1: cycle shift
Reset
(
RST
)
The shifted out data(W=1) is reset (W=0).
RST=0: W is not reset.
RST=1: W is reset (W=0).
Actuation signal (ACT)
ACT=0: do not execute SFT instruction.
ACT=1:shifting processing is done when ACT=1. For shifting one bit only, execute an
instruction when ACT=1, and then, set ACT to 0.
Parameter:
S1
:
set the big shift data address which consists of a storage area with one byte.
Length
:
a 4-digit number
,
its definition is shown below:
Содержание 980TC3 Series
Страница 13: ...1 Programming Ⅰ Programming Ⅰ ...
Страница 14: ...GSK980TC3 Series Bus Turning CNC system PLC Installation and Connection User Manual 2 一 Programming ...
Страница 24: ...GSK980TC3 Series Bus Turning CNC system PLC Installation and Connection User Manual 12 一 Programming ...
Страница 32: ...GSK980TC3 Series Bus Turning CNC system PLC Installation and Connection User Manual 20 一 Programming ...
Страница 71: ...59 Operation Ⅱ Ⅱ Operation ...
Страница 72: ...GSK980TC3 Series Bus Turning CNC system PLC Installation and Connection User Manual 60 Ⅱ Operation ...
Страница 86: ...GSK980TC3 Series Bus Turning CNC system PLC Installation and Connection User Manual 74 Ⅱ Operation ...
Страница 96: ...GSK980TC3 Series Bus Turning CNC system PLC Installation and Connection User Manual 84 Ⅱ Operation ...
Страница 97: ...85 III Ⅲ Function III Function ...
Страница 98: ...GSK980TC3 Series Bus Turning CNC system PLC Installation and Connection User Manual 86 Ⅲ Function ...
Страница 114: ...GSK980TC3 Series Bus Turning CNC system PLC Installation and Connection User Manual 102 Ⅲ Function ...
Страница 136: ...GSK980TC3 Series Bus Turning CNC system PLC Installation and Connection User Manual 124 Ⅲ Function ...
Страница 138: ...GSK980TC3 Series Bus Turning CNC system PLC Installation and Connection User Manual 126 Ⅲ Function ...
Страница 140: ...GSK980TC3 Series Bus Turning CNC system PLC Installation and Connection User Manual 128 Ⅲ Function ...
Страница 148: ...GSK980TC3 Series Bus Turning CNC system PLC Installation and Connection User Manual 136 Ⅲ Function ...
Страница 149: ...137 Installation and Connection Ⅳ Ⅳ Installation and Connection ...
Страница 150: ...GSK980TC3 Series Bus Turning CNC system PLC Installation and Connection User Manual 138 Installation and Connection Ⅳ ...
Страница 156: ...GSK980TC3 Series Bus Turning CNC system PLC Installation and Connection User Manual 144 Installation and Connection Ⅳ ...
Страница 208: ...GSK980TC3 Series Bus Turning CNC system PLC Installation and Connection User Manual 196 Appendix Appendix ...
Страница 209: ...197 附 录 Appendix ...
Страница 218: ...GSK980TC3 Series Bus Turning CNC system PLC Installation and Connection User Manual 206 Appendix ...
Страница 226: ...GSK980TC3 Series Bus Turning CNC system PLC Installation and Connection User Manual 214 Appendix ...