Main
Important I nf ormat i on
Basic Hardware and Function 1
CE Marking
2
UL/c-UL Listing
General Information
Hazard Classifications
4
Installation:
Wiring:
Operation:
6
Maintenance:
Safety Label
!
CAUTION
8
About This Manual
About This Manual
Inside This Manual
Related Manuals
About This Manual
Terminology
10
Contents
Page
12
Section 1 System Configuration
14
1.1 Introducing the T1 and T1S
Page
16
1.2 Features
Page
18
1.3 System configuration
20
1.4 I/O expansion
Page
22
1.5 Components 1.5.1 Basic unit
T1
T1
24
T1-40
T1
T1-40S
T1
Behind the programmer port cover
26
Page
28
1.5.2 Option cards
1.5.3 Expansion rack
30
1.5.4 I/O modules
1.5.5 Expansion unit
T1
32
1.5.6 Options
1.6 Computer link system
34
1.7 T1S communication function
Page
36
1.8 Real-time data link system TOSLINE-F10
Typical data link configuration
1.9 Peripheral tools
T-Series Program Development System (T-PDS)
38
T-Series Handy Programmer (HP911A)
Program Storage Module (RM102)
Multi-drop adapter (CU111)
Page
Page
42
2.1 General specifications
2.2 External dimensions
44
Page
46
2.3 Functional specifications
Basic Hardware and Function 47
Functional specifications (contd)
48
2.4 I/O specifications 2.4.1 T1-16
+
T1-16 input specifications
-
Page
50
T1-16 output specifi cations
Page
52
2.4.2 T1-28
T1-28 input specifications
Page
54
T1-28 output specifi cations
Page
56
2.4.3 T1-40/T1-40S
T1-40/T1-40S input specif i cat ions
Page
58
T1-40/T1-40S output specifications
Page
Page
Page
62
3.1 Application precautions for input signals
RV II Wattage V R
= - >
64
~
3.2 Application precautions for output signals
66
Page
68
4.1 Environmental conditions
!
4.2 Installing the unit
70
4.3 Wiring terminals
72
Page
74
Page
76
4.4 Grounding
!
Page
78
4.5 Pow e r supply wiring
!
Page
80
4.6 I/O wiring
!
Page
82
5.1 Operation modes
Page
84
5.2 About the built-in EEPROM
86
5.3 Scanning
88
Hardware check:
Initial load:
Register/device initialization:
Self-diagnosis:
Mode control:
Program check:
I/O update:
Timer update:
90
User program execution:
Peripheral support:
Section 6 Programming Information
92
6.1 Devices and registers
Device and register numbers
Addressing devices
X 01 4
T. 12
Addressing registers
XW 01
J
94
Available address range
Page
96
Counter devices and registers (C./C)
Data registers (D)
Index registers (I, J, and K)
Special devices and registers (S/SW)
98
read only for user . (2) Devices marked as (down) are set in the ERRO R m ode. Therefore these
Basic Hardware and Function 99
read only for user . (2) Devices marked as (down) are set in the ERROR mode. Therefore these
100
(2) CF, ERF and devices marked as (alarm) can be reset by the user program.
Basic Hardware and Function 101
102
Basic Hardware and Function 103
(2) For det ails of SW56 t hr ough SW58, r efer to t he Com munication funct ion manual.
104
6.2 Index modification
I RW10 J D0201D0200
106
6.3 Real-time clock/calendar (T1S only)
6.4 I/O allocation
108
6.5 T1S memory mode setting
110
6.6 User program configuration
System information
User program
112
6.6.1 Main program
6.6.2 Sub-program #1
6.6.3 Timer interrupt program
114
6.6.4 I/O interrupt programs
6.6.5 Subroutines
116
6.7 Programming language
6.8 Program execution sequence
118
6.9 On-line debug support functions
Force function
Sampling trace function
120
Timer/counter preset value (constant data) changing
Function instruction constant operand changing (T1S only)
Device changing (T1S only)
On-line program changing (T1S only)
6.10 Password protection
Page
Page
124
7.1 List of instructions
-
-
Basic Hardware and Function 125
-
C.
-
A B
126
Arithmeti c operat i ons
Basic Hardware and Function 127
Logical operati ons
071
069
Shift operat i ons
128
Rotate operati ons
Compare instructi ons
Basic Hardware and Function 129
Special data processi ng
A,
130
Program control instruct ions
RAS
Basic Hardware and Function 131
Functions
132
Conversion instructions
Basic Hardware and Function 133
Special I/O instructions
NOTE The index modification is available for som e inst r uctions. The values in the
134
NO contact
136
NC contact
Transitional contact (Rising edge)
138
Transitional contact (Falling edge)
( ) Coil
140
Forced coil
I Inverter
142
( I ) Invert coil
Page
144
( P ) Positive pulse coil
146
( N ) Negative pulse coil
TON ON delay timer
148
TOF OFF delay timer
SS Single shot timer
150
CNT Counter
MCS MCR Master control set / reset
152
JCS JCR Jump control set / reset
END End
154
FUN 018 MOV Data transfe r
FUN 019 DMOV Double-word data transfer
156
FUN 020 NOT Invert transfer
FUN 022 XCHG Data exchange
158
FUN 024 TINZ Table initialize
FUN 025 TMOV Table transfer
160
FUN 026 TNOT Table invert transfer
FUN 027 + Addition
+
162
FUN 028 -Subtraction
-
FUN 029 *Multiplication
C+1C
164
FUN 030 / Division
FUN 031 D+ Double-word addition
166
FUN 032 D-Double-word subtraction
-
FUN 035 +C Addition with carry
168
FUN 036 -C Subtraction with carry
-
FUN 039 U*Unsigned multiplication
C+1C
170
FUN 040 U/ Unsigned division
FUN 041 DIV Unsigned double/single division
172
FUN 043 +1 Increment
FUN 045 -1 Decrement
174
FUN 048 AND AND
FUN 050 OR OR
176
FUN 052 EOR Exclusive OR
FUN 056 MAVE Moving average
178
FUN 061 DFL Digital Filter
()
FUN 062 HTOA Hex to ASCII conversion
180
FUN 063 ATOH ASCII to Hex conversion
FUN 064 TEST Bit test
182
FUN 068 SHR1 1 bit shift right
FUN 069 SHL1 1 bit shift left
184
FUN 070 SHR n bit shift right
FUN 071 SHL n bit shift left
186
FUN 074 SR Shift regist e r
Page
188
FUN 075 DSR Bi-directional shif t register
Page
190
FUN 078 RTR1 1 bit rotate right
FUN 079 RTL1 1 bit rotate left
192
FUN 080 RTR n bit rotate right
FUN 081 RTL n bit rotate lef t
194
FUN 090 MPX Multiplexer
FUN 091 DPX Demultiplexer
196
FUN 096 >Greater than
FUN 097 >= Greater than or equal
198
FUN 098 =Equal
FUN 099 <> Not equal
200
FUN 100 <Less than
FUN 101 <= Less than or equal
202
FUN 102 D>Double-word greater than
FUN 103 D>= Double-word greater than or equal
204
FUN 104 D=Double-word equal
FUN 105 D<> Double-word not equal
206
FUN 106 D<Double-word less than
FUN 107 D<= Double-word less than or equal
208
FUN 108 U>Unsigned greater than
FUN 109 U>= Unsigned greater than or equal
210
FUN 110 U=Unsigned equal
FUN 111 U<> Unsigned not equal
212
FUN 112 U<Unsigned less than
FUN 113 U<= Unsigned less than or equal
214
FUN 114 SET Device/register set
Example 1 (device set)
Example 2 (register set)
FUN 115 RST Device/register reset
Example 1 (device reset)
Example 2 (register reset)
216
FUN 118 SETC Set carry
FUN 119 RSTC Reset c arry
218
FUN 120 ENC Encode
FUN 121 DEC Decode
220
FUN 122 BC Bit count
FUN 128 CALL Subroutine call
222
FUN 129 RET Subroutine return
FUN 132 FOR FOR (FOR-NEXT loop)
224
FUN 133 NEXT NEXT (FOR-NEX T loop)
FUN 137 SUBR Subroutine entry
226
FUN 140 EI Enable interrupt
FUN 141 DI Disable interrupt
228
FUN 142 IRET Interrupt return
FUN 143 WDT Wat chdog timer reset
230
FUN 144 STIZ Step sequence init ialize
FUN 145 STIN Step sequence input
232
FUN 146 STOT Step sequence out put
FUN 147 F/F Flip-flop
234
FUN 149 U/D Up-down counter
FUN 154 CLND Set calendar
236
FUN 155 CLDS Calendar operation
Basic Hardware and Function 237
7. Instructions FUN 156 PID3 Pre-derivative real PID
Input -[
PID3
]- Output
238
Control block diagram
1+Ts
Digtal filter
Proportional
Parameter details
A+1
A+2
A+3
A+4
240
Operation
Basic Hardware and Function 241
A+5
242
FUN 160 UL Upper limit
FUN 161 LL Lower limit
244
FUN 162 MAX Maximum value
FUN 163 MIN Minimum value
246
FUN 164 AVE Average value
. The allowable range of the table size
, and stores t he average value in
When the input is ON, this instruction calculates the average value of the data stored in the
FUN 165 FG Function generator
248
FUN 180 ABS Absolute value
250
FUN 182 NEG 2s complement
FUN 183 DNEG Double-word 2s complement
252
FUN 185 7SEG 7 segment decode
Basic Hardware and Function 253
254
FUN 186 ASC ASCII conversion
FUN 188 BIN Binary conversion
256
FUN 190 BCD BCD conversion
Basic Hardware and Function 257
FUN 235 I/O Direct I / O
registers starting with
When R010 is ON, the 4 registers starting with XW00 (XW00 to YW03) are updated immediately.
258
Basic Hardware and Function 259
FUN 236 XFER Expanded data transfer
and
and the destination which is indirectly designat ed by
and
. The transfer size (number of words) is designated by
260
CPU register
built-in EEPROM
CPU register
T1S RS-485 port (T1S only) <Receiving>
262
<Transmitting>
FUN 237 READ Special module data read
264
FUN 238 WRITE Special module data write
266
Page
268
8.1 Special I/O function overview
The T1/T1S supports the special I/O functions as listed below.
analog sett ing functions, ar e available only in the DC input t ypes.
Basic Hardware and Function 269
Mode setting for the special I/O functions
270
Note) In the explanation below, P-OUT m eans the pulse output function.
Basic Hardware and Function 271
High speed counter
Interrupt input f unct i on
Pulse output f unct i on
PWM output f unct i on
272
8.2 Variable input filter constant
8.3 High speed counter 8.3.1 Single phase up-counter
274
8.3.2 Single phase speed-counter
276
8.3.3 Quadrature bi-pulse counter
278
Page
280
8.4 Interrupt input function
Page
282
8.5 Analog setting function
V0 V1
8.6 Pulse output function
284
8.7 PWM output function
286
Page
288
9.1 Precautions during operation
Basic Hardware and Function 289
9. Maintenance and Checks
9.2 Daily checks
!
290
9.3 Periodic checks
!
Basic Hardware and Function 291
9. Maintenance and Checks (Periodic check s - continued)
9.4 Maintenance parts
To recover from trouble quick ly, it is r ecommended to k eep the following spare par t s.
These spare par t s should not be stored in hig h t emperature and/ or humidity locations.
Page
Page
294
10.1 Troubleshooting procedure
!
Basic Hardware and Function 295
10. Troubl eshooti ng
10.1.1 Pow er supply check
If the PWR ( power) LED is not lit af ter power on, check the following point s.
296
10.1.2 CPU check
10.1.3 Program check
Basic Hardware and Function 297
10. Troubl eshooti ng
10.1.4 Input check
298
10.1.5 Output check
10.1.6 Environmental problem
300
10.2 Self-diagnostic items
Basic Hardware and Function 301
10. Troubl eshooti ng
302
Basic Hardware and Function 303
10. Troubl eshooti ng
304
Page
306
A.1 List of models and types
Page
308
Basic Hardware and Function 309
Appendix
A.2 Instruction index
Instruction name
310
Basic Hardware and Function 311
Instruction symbol