Toshiba 6F3B0253 manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301

Ir a la página of

Buen manual de instrucciones

Las leyes obligan al vendedor a entregarle al comprador, junto con el producto, el manual de instrucciones Toshiba 6F3B0253. La falta del manual o facilitar información incorrecta al consumidor constituyen una base de reclamación por no estar de acuerdo el producto con el contrato. Según la ley, está permitido adjuntar un manual de otra forma que no sea en papel, lo cual últimamente es bastante común y los fabricantes nos facilitan un manual gráfico, su versión electrónica Toshiba 6F3B0253 o vídeos de instrucciones para usuarios. La condición es que tenga una forma legible y entendible.

¿Qué es un manual de instrucciones?

El nombre proviene de la palabra latina “instructio”, es decir, ordenar. Por lo tanto, en un manual Toshiba 6F3B0253 se puede encontrar la descripción de las etapas de actuación. El propósito de un manual es enseñar, facilitar el encendido o el uso de un dispositivo o la realización de acciones concretas. Un manual de instrucciones también es una fuente de información acerca de un objeto o un servicio, es una pista.

Desafortunadamente pocos usuarios destinan su tiempo a leer manuales Toshiba 6F3B0253, sin embargo, un buen manual nos permite, no solo conocer una cantidad de funcionalidades adicionales del dispositivo comprado, sino también evitar la mayoría de fallos.

Entonces, ¿qué debe contener el manual de instrucciones perfecto?

Sobre todo, un manual de instrucciones Toshiba 6F3B0253 debe contener:
- información acerca de las especificaciones técnicas del dispositivo Toshiba 6F3B0253
- nombre de fabricante y año de fabricación del dispositivo Toshiba 6F3B0253
- condiciones de uso, configuración y mantenimiento del dispositivo Toshiba 6F3B0253
- marcas de seguridad y certificados que confirmen su concordancia con determinadas normativas

¿Por qué no leemos los manuales de instrucciones?

Normalmente es por la falta de tiempo y seguridad acerca de las funcionalidades determinadas de los dispositivos comprados. Desafortunadamente la conexión y el encendido de Toshiba 6F3B0253 no es suficiente. El manual de instrucciones siempre contiene una serie de indicaciones acerca de determinadas funcionalidades, normas de seguridad, consejos de mantenimiento (incluso qué productos usar), fallos eventuales de Toshiba 6F3B0253 y maneras de solucionar los problemas que puedan ocurrir durante su uso. Al final, en un manual se pueden encontrar los detalles de servicio técnico Toshiba en caso de que las soluciones propuestas no hayan funcionado. Actualmente gozan de éxito manuales de instrucciones en forma de animaciones interesantes o vídeo manuales que llegan al usuario mucho mejor que en forma de un folleto. Este tipo de manual ayuda a que el usuario vea el vídeo entero sin saltarse las especificaciones y las descripciones técnicas complicadas de Toshiba 6F3B0253, como se suele hacer teniendo una versión en papel.

¿Por qué vale la pena leer los manuales de instrucciones?

Sobre todo es en ellos donde encontraremos las respuestas acerca de la construcción, las posibilidades del dispositivo Toshiba 6F3B0253, el uso de determinados accesorios y una serie de informaciones que permiten aprovechar completamente sus funciones y comodidades.

Tras una compra exitosa de un equipo o un dispositivo, vale la pena dedicar un momento para familiarizarse con cada parte del manual Toshiba 6F3B0253. Actualmente se preparan y traducen con dedicación, para que no solo sean comprensibles para los usuarios, sino que también cumplan su función básica de información y ayuda.

Índice de manuales de instrucciones

  • Página 1

    6F3B 025 3 UM-TS0 1 ∗∗∗ -E031 PROGRAM MABLE CO NTRO LLER PRO SEC T1 - 16S USER’S M A NU A L − − − − Basic Hard w are and Function − − − − TOSHI BA CORPORATIO N[...]

  • Página 2

    6F3B0253 Impo r ta n t Inf or ma t ion Mi sus e of this equipmen t can res ult in proper ty da m age or human inju ry. Because cont rol l ed sys tem appl i cati ons v ary widel y, you shoul d sati sf y you rsel f as to t he accepta b ility of thi s equipmen t for you r intended purpose. In no ev en t w ill Toshiba Cor porati on be respons ibl e or [...]

  • Página 3

    6F3B0253 Basic Hardware and Functi on 1 CE Mar ki ng The Pr ogramm able C ontroll er PROSEC T1-16S ( hereafter called T 1-16S) com plies with the requi rements of the EMC Di rective 89/336/ EEC and Low Volt age Directive 72/23/EEC under the conditi on of use acc ording to the i nstruc tions d es cribed in t his m anual. The co n t e n ts of th e co[...]

  • Página 4

    6F3B0253 2 T1-16S U ser’ s M anual UL/c- UL Lis ting The Pr ogramm able C ontroll er PROSEC T1- 16S (hereafter call ed T1-16S) is U L/c-UL listed as sho wn below . UL and c- UL L istin g File N u m ber : E95637 Produc t Na me : Pro grammable Co n trolle r , T1-16S Pro du ct C ov ered : M ain Unit TDR116S 6S, TDR116S6C, TDR116S 3S, TDR116S3C I/O m[...]

  • Página 5

    6F3B0253 Basic Hardware and Functi on 3 Safet y Precauti ons Thi s m anual i s prepared for users of Toshiba ’s Progr amm able Contr oll er T 1-16S. Read thi s m anual thor oughly bef ore using the T1-16S. A lso, keep this manual and related manual s so that you can read them anyt ime while the T1-16S is in operat ion. Ge nera l Inf o rma ti o n [...]

  • Página 6

    6F3B0253 4 T1-16S U ser’ s M anual Safet y Precauti ons I nstallation : 1. Excess temperatur e, humidi ty, vibration, shocks, or dusty and corr osive gas envir onment c an cause elect rica l sh ock, fire or malfuncti on. Install and use t he T 1- 16S and rel ated equipment in th e en vir onment de sc ribed in thi s manual. 2. I mproper i nstall a[...]

  • Página 7

    6F3B0253 Basic Hardware and Functi on 5 Safet y Precauti ons Operation : 1. Configure emergency stop and safety int er locking circuits outsid e th e T1 - 1 6 S. Otherw ise, mal f unction o f the T1-16S can cause injury or serious accidents. 2. Operate the T 1-16S and the rel ated modules wi th closi ng the term inal cover s. Keep hands away f rom [...]

  • Página 8

    6F3B0253 6 T1-16S U ser’ s M anual Safet y Precauti ons Mai nt ena nc e: 1. Tur n off power before removing or repl acing units , module s, terminal blo cks o r w ire s. Fai lure to do so can cause el ectr ical shock or damage to the T 1-16S and r elated equipm ent. 2. W hen you remove both input and output termi nal bl ocks wit h wires for maint[...]

  • Página 9

    6F3B0253 Basic Hardware and Functi on 7 Safet y Precauti ons Safety Label The saf ety label as sh own on the right is attached to the powe r term inal o f the T1- 16S. Rem ove the mount paper before wi ri ng. Peel off the label from the m ount paper and sti ck i t near the power term inal s where it ca n b e readily seen. Contact T oshiba i f the l[...]

  • Página 10

    6F3B0253 8 T1-16S U ser’ s M anual About This Manual A bout This Man ual Thi s manual has been prepared for fir st-time users of Toshiba ’s Progr ammabl e Contr oller T1-16S to enable a f ull understanding of the configuration of t he equipment, and to enable the use r to obtain the m ax imum benefit s of the equipment. This manual int roduces [...]

  • Página 11

    6F3B0253 Basic Hardware and Functi on 9 About This Ma nual T e rmino l og y The followi ng is a l ist of abbreviations and acronyms used in this m anual. µ µ µ µ s mi cros econd AS C I I Ameri can Standard C ode For Inform ation I nterchange AW G Ameri can W ire Gage BCC Block Check Code CCW Counter -Cl ockw ise CPU Central Proces s ing Unit CW[...]

  • Página 12

    6F3B0253 10 T1-16S U ser’ s M anual Contents Contents Safet y Precaut i ons .................................................................................. 3 A bout T his M anua l .................................................................................. 8 1. System Confi guration .......................................................[...]

  • Página 13

    6F3B0253 Basic Hardware and Functi on 11 Contents 5. Operat in g Sy s tem Over vi ew ......................................................... 63 5.1 Operation m odes ................................................................................ 64 5.2 About the built- in EEPROM ................................................................ 66 [...]

  • Página 14

    6F3B0253 12 T1-16S U ser’ s M anual Contents 10 . T roubleshooti ng .............................................................................. 281 10.1 Tr oubleshooting procedure ................................................................ 282 10.1.1 Pow er supply check .....................................................................[...]

  • Página 15

    6F3B0253 Basic Hardware and Functi on 13 Section 1 System Configur ation 1.1 Introduc ing the T1- 16S, 14 1.2 Featur es, 16 1.3 System configur ation, 19 1.4 I/O ex pansion, 20 1.5 Com ponents, 21 1.6 Com puter l ink system, 27 1.7 T1- 16S Comm unicati on function, 28 1.8 Real -tim e data link system, 32 1.9 Peri pheral tool s, 33[...]

  • Página 16

    6F3B0253 14 T1-16S U ser’ s M anual 1. Sy stem Configur ation 1.1 Intro duci ng the T1-16 S The T1-1 6 is c om pact, b lock sty le, h igh-perfo rman ce programmable contro ller with a range of 16 to 144 input and output points . The f ig u re below shows the T1 Series li ne-up. The T 1 Series consists o f the total 16 types. T1 Se r ies T1 T1- 16[...]

  • Página 17

    6F3B0253 Basic Hardware and Functi on 15 1. Sy stem Configur ation M em o r y cap aci ty: Prog ram memory capacity of the T1 is 2 k st eps. An d th at o f the T1 S is 8 k st eps. W ho le t he program and a pa r t o f data registers are store d in built- in EEPROM. T1-16/28/40 T1-40S T1-16S Me mo r y RAM (f or ex ec uti on) and EEPROM (for back- up)[...]

  • Página 18

    6F3B0253 16 T1-16S U ser’ s M anual 1. Sy stem Configur ation 1.2 Featu res I/O modul e support: The T1- 16S has an i nterface for connec ting the I /O modul es. Up to ei ght modul es can be connected to the T1-16S. By us ing the 16 points I/ O module, the T1-16S can c ontrol up to 144 I /O points. Buil t-in high-speed counter : Two si ngle- phas[...]

  • Página 19

    6F3B0253 Basic Hardware and Functi on 17 1. Sy stem Configur ation Pulse output / PWM output: One point of variable frequency pulses (max. 5 kHz ) or va riable duty pulses can be output. These functions can be use d t o drive a stepping m otor o r to simulate an analog output . ( DC input type on ly) Buil t-in computer link func tion: The T1- 16S?[...]

  • Página 20

    6F3B0253 18 T1-16S U ser’ s M anual 1. Sy stem Configur ation DIN rail m ounting: The T1- 16S is equipped w ith brackets for mounting on a st andard 35 m m DI N rail. The T1-16S can be mounted o n a DIN rail as w ell as screw mounting. On-li ne progra m changes: W hen the T1-16S ’s m emory mode is set to 4 k st eps mode, on -lin e (in RUN mode)[...]

  • Página 21

    6F3B0253 Basic Hardware and Functi on 19 1. Sy stem Configur ation 1.3 S ystem config uratio n The f ollowin g f ig u re sh o ws the T1-16 S syste m conf ig u ratio n . IBM-PC com patible per s on al c om put er T-P DS software Han dy prog ram mer HP91 1A T1-16S b asic unit Per i ph er al to ol I/O modu les Co mp ut er l ink fun c t i on MMI/SCA DA[...]

  • Página 22

    6F3B0253 20 T1-16S U ser’ s M anual 1. Sy stem Configur ation 1.4 I/O expansion The T1-16S provides I/O expandability by connecting the I/O modules. U p to eight I/O m odules can be connected . A vailable I/O modul es DI 116M : 16 points DC input DO116M : 16 points DC output DD116M : 8 points DC input + 8 points DC output RO108M : 8 points relay [...]

  • Página 23

    6F3B0253 Basic Hardware and Functi on 21 1. Sy stem Configur ation 1.5 Com ponen ts 1.5.1 Basic un it The T1- 16S is available in four types as shown in the following table. Type Link/ C alendar Power s upply I nput Output T1- M DR16SS (Enhanc ed model) Ye s T1- M DR16SC (Standar d model ) No 100-240 Vac , 50/60 Hz T1- M DR16SSD (Enhanc ed model) Y[...]

  • Página 24

    6F3B0253 22 T1-16S U ser’ s M anual 1. Sy stem Configur ation ♦ Beh in d the pr ogram mer por t cover PRG H/R V1 V0 Programmer port conne ctor Analog setting adjusters (V0 and V1) Mod e c o ntr o l swit c h (HA LT / RUN) Battery holder Battery ty pe: CR2032 (Optional ) A tab for battery eject Power suppl y termi nals: Connect the powe r cable a[...]

  • Página 25

    6F3B0253 Basic Hardware and Functi on 23 1. Sy stem Configur ation I/O status LEDs: I ndicates the ON/OFF status of each I /O signal. ( colo r: re d ) SW 54 setting valu e I /O intending for an indicati on Not e 0 (default) Basic unit (L: X000- 007, H: Y 020-027) 1 I /O module sl ot 0 2 I /O module sl ot 1 3 I /O module sl ot 2 4 I /O module sl ot [...]

  • Página 26

    6F3B0253 24 T1-16S U ser’ s M anual 1. Sy stem Configur ation A n alog setting adjusters: Tw o analog setting adj us ters a re pro vi ded. The V0 value is stored in SW30 and the V1 value i s stored in S W31. The conve rted value r ange is 0 t o 1000. R efer to s ection 8.5 for detai ls of the analog setting fun ction. Programmer port connector: U[...]

  • Página 27

    6F3B0253 Basic Hardware and Functi on 25 1. Sy stem Configur ation 1.5.2 I/O m odules The T1- 16S can c onnect up to eight I/O m odules. The followi ng 10 types of the I/O m odules ar e available. For specific ation detail s of the I/O m odules, r ef er to the separ ate manual “T1- 16S Us er’s M anual − I /O M odules − “. Type Descrip tio[...]

  • Página 28

    6F3B0253 26 T1-16S U ser’ s M anual 1. Sy stem Configur ation 1.5.3 Options The f ollo win g o p tional i tems ar e available. Ite m Type Descrip tion Cabl e f or progr amm ing tool CJ 105 For T -PDS, 5 m length Progr amm er port connector PT16S For R S-232C c omputer l ink, w i th 2 m cabl e PT15S Solder ing type Option car d I/O connector PT15F[...]

  • Página 29

    6F3B0253 Basic Hardware and Functi on 27 1. Sy stem Configur ation 1.6 Pr ogram mer port f unction The interface o f the T1-16S’s pr ogramm er port i s RS-232C. Normally this port is used to connec t the programmer . However, th is po rt can also be used fo r the computer li nk function. The com puter link is a data c ommuni cation functi on betw[...]

  • Página 30

    6F3B0253 28 T1-16S U ser’ s M anual 1. Sy stem Configur ation 1.7 RS-485 por t comm un ication fun ction The T1 -16S enhanced m odel has an RS- 485 mult i-pur pose com muni cation p ort. Thi s port c an work independent of the pr ogram mer port. By using thi s commu nicatio n port, one of the following f our commun ication modes is avail able, co[...]

  • Página 31

    6F3B0253 Basic Hardware and Functi on 29 1. Sy stem Configur ation Computer li nk mode T- series computer link protocol can be use d i n this mode. A maximum of 32 T1-16Ss can be connected to a mas ter comp ut er. By us ing this mode, al l the T 1-16S’s data can be acces sed by a master c omputer. The T-serie s PL C progra mming sof t wa re (T-PD[...]

  • Página 32

    6F3B0253 30 T1-16S U ser’ s M anual 1. Sy stem Configur ation Free A SCII mode The free ASCI I mode i s used to c onnect between the T1- 16S and vari ous se rial ASCI I dev ices, s uch as a mic ro com puter, bar code r eader, pri nter, di splay, etc . By us ing this mode, the T1- 16S can wor k as a comm unicati on master . Therefore, the T1-1 6 S[...]

  • Página 33

    6F3B0253 Basic Hardware and Functi on 31 1. Sy stem Configur ation Free A SCII mode The T1- 16S's I nver ter connection m ode is a special function to m onitor/c ontrol the Toshi ba Inv erter s (ASD s) VF- A7/G7/S9 through the RS- 485 li ne. Usi ng this mode, the T1- 16S can pe rform the following funct ions for the Inverte rs connected on th [...]

  • Página 34

    6F3B0253 32 T1-16S U ser’ s M anual 1. Sy stem Configur ation 1.8 Real-tim e data link syste m T OSL INE-F 1 0 TOSLI NE- F10 is a high speed data t rans mission syst em sui ted for s mall points I/O distr ibution system . By inserting the TOSLINE-F10 remote modul e (F R112M ), the T1- 16S can work as a r emote stati on o f the TOSL INE -F10 netwo[...]

  • Página 35

    6F3B0253 Basic Hardware and Functi on 33 1. Sy stem Configur ation 1.9 Pe ripheral tools The follow ing p eriphera l tool s are avail able for the T 1-16S. T -Ser ies Progr am D ev elopm en t Sy stem (T-PDS ) The T- Seri es Pr ogram Devel opment Sy stem (T -PDS) is a software w hich r uns on an y IBM -PC co mpa tible pers onal computers such as Tos[...]

  • Página 36

    6F3B0253 34 T1-16S U ser’ s M anual 1. Sy stem Configur ation T -Series Han dy P rogram mer (HP 911A ) The H P911A is a hand-held progr ammer , that can be used t o progr am the T1-16S using l adder diagram . I ts por tab ility mak es it ideal for ma int enance use at r emote locati ons. The H P911A has the follow ing features. • The HP911A sup[...]

  • Página 37

    6F3B0253 Basic Hardware and Functi on 35 1. Sy stem Configur ation Pr ogram Stor age Modu le (RM 102) The program s torage module ( R M 102) is a n exter nal m emor y for s tori ng the T1-16S progr am. By using the R M 102, program s aving from the T1-16S to the R M 102, and program loadi ng f rom the RM 102 to the T1- 16S can be done wi thout need[...]

  • Página 38

    6F3B0253 36 T1-16S U ser’ s M anual[...]

  • Página 39

    6F3B0253 Basic Hardware and F unction 37 Section 2 Specifi cations 2.1 General speci ficati ons, 38 2.2 Functi onal spec i fic ati ons, 40 2.3 I/O specific ations, 42 2.4 Ex ternal dim ens ions, 46[...]

  • Página 40

    6F3B0253 38 T1-16 S Use r ’s M anual 2. Specifications 2.1 General specifications Item T 1-16S Power supply v olt age 100 t o 240Vac (+1 0/ -15%), 50/60 H z Po wer c on sum p t i o n 45 V A or less Inrus h curre nt 50A or less (at 240Vac, cold start) 24Vdc (24Vdc , ±10%) 0. 2A (f or ex ter nal dev i ces and/or f or i nput signal s) AC Pow er typ[...]

  • Página 41

    6F3B0253 Basic Hardware and F unction 39 2. Specifications (3) The 5Vdc current cons umpti on of ea ch I/O modules is des cribed be low. Check that the total 5Vdc current consump tion is wi thin the limit. M odel Specific ations 5Vdc cons umer cur rent DI 116M 16points , 24Vdc-5m A input. 50mA DO116M 16points , 24Vdc-100m A output. 50mA DD 116M 8po[...]

  • Página 42

    6F3B0253 40 T1-16 S Use r ’s M anual 2. Specifications 2.2 Functio nal specifications Item T 1-16S Control m et hod Stored progra m, cyclic scan sy ste m Sca n s y s tem Floatin g s c a n or c o nstant s can (10 – 200m s, 10m s uni t s) I/O update Batc h I/O refres h (dire ct I/O ins tru ction available at ba si c u ni t ’s I/O) Program memor[...]

  • Página 43

    6F3B0253 Basic Hardware and F unction 41 2. Specifications Functi onal spec ifications (cont’d) Item T 1-16S I/O c apaci ty 16 poin ts (basic) +128 poin ts ( I/O modules) Input 24Vdc i nput (8 poin ts) I/O type Output Rel ay (6 poin ts) + t r ansis tor (2 p o ints) I/O termina l block Fixed Real- ti m e c loc k /cal endar Yes, ± 60 s/m onth at 2[...]

  • Página 44

    6F3B0253 42 T1-16 S Use r ’s M anual 2. Specifications 2.3 I/O specifications • Input specifications It em Speci f ic ati ons Input t ype DC input , curr ent source/ si nk Num ber of i nput poi nts 8 poin ts (8 points /c ommo n) Rated input v ol t age 24Vdc, +10/ -15 % Rated input cur r ent 7m A (at 24Vdc) Mi n. O N v ol t age 15V dc Max . O FF[...]

  • Página 45

    6F3B0253 Basic Hardware and F unction 43 2. Specifications • Input si gnal conne ctions 24Vd c Se rvice power 24Vd c 3 1 0 L 4 2 NC N T1 - 16 S DC IN − + 24 22 20 6 23 21 Vin 7 5 26 27 25 24Vd c input C C C The 24Vdc ser vi ce power out pu t is not pr ovided on the DC p ower s upply type. NOTE[...]

  • Página 46

    6F3B0253 44 T1-16 S Use r ’s M anual 2. Specifications • Outp u t sp ecif i cat i o n s Speci f i c ati ons Item Relay out put Tr ansistor out put Out put t y pe Relay contact, nor mal l y open Transi stor out put , c ur r ent sink Num ber of output poi nts 6 points (6 pts/ c om m on) 2 points (2 p oi nts/ common) Rated l oad v ol tage 240Vac/ [...]

  • Página 47

    6F3B0253 Basic Hardware and F unction 45 2. Specifications • Output signal connections 24Vd c Service power 24Vd c 3 1 0 L 4 2 NC N T1 - 16 S DC OUT − + 24 22 20 6 23 21 Vin 7 5 26 27 25 C C C RELA Y O UT PS + Trans ist er out p ut Relay output PS 240V ac/24Vdc (max. )[...]

  • Página 48

    6F3B0253 46 T1-16 S Use r ’s M anual 2. Specifications 2.4 Exte rnal dimensio ns ♦ T1-16S [mm] ♦ I/O modul e [mm][...]

  • Página 49

    6F3B0253 Basic Hardware and F unction 47 Section 3 I/O Application Precautions 3.1 Appli cation precautio ns for input signals, 48 3.2 Appli cation precautio ns for output signals, 50[...]

  • Página 50

    6F3B0253 48 T1-16 S Use r ’s M anual 3. I/O Application Precautions 3.1 A pplication precau tions for inpu t signals (1) M inimum ON/OF F tim e o f the input signal The followi ng conditions guar antee corr ect reading of the ON/OFF state of the input si gnal: Input ON time: ON delay time + th e t i m e for one scan Input OFF time: OFF del ay tim[...]

  • Página 51

    6F3B0253 Basic Hardware and F unction 49 3. I/O Application Precautions (4) C ounterm easures against l eakage curr ent W hen a s witch with an LE D or sen sor is used, the input sometimes cannot r ecognize that the swit ch is off due to the current l eakage. In thi s case, install a bleeder r esistor to reduc e input im pedance. Select a bleeder r[...]

  • Página 52

    6F3B0253 50 T1-16 S Use r ’s M anual 3. I/O Application Precautions 3.2 Application p r ecau ti ons for outp ut signals (1) 2 points o f solid-s tate output The l eading 2 points of outpu t (Y020 and Y021) are so lid-state o utputs, tr ansistor s on the DC input types. These s olid-s tate outputs are suited fo r f requent s witc hing applications[...]

  • Página 53

    6F3B0253 Basic Hardware and F unction 51 3. I/O Application Precautions (3) Ov er-c urrent pr otection The output c ircuit of the T1-16S does not contai n protective fuses. Fuses rated fo r the output should be provided by th e user. (4) Output s urge protect ion W he re a n i nduc tiv e load is c onnected to the output, a rel atively high energy t[...]

  • Página 54

    6F3B0253 52 T1-16 S Use r ’s M anual[...]

  • Página 55

    6F3B0253 Basic Hardware and F unction 53 Section 4 I ns ta ll at io n and Wiri ng 4.1 Envi r onmental c onditions , 54 4.2 Install ing the un it, 55 4.3 Wir ing term inals , 57 4.4 Groundi ng, 58 4.5 Power suppl y wiring, 59 4.6 I/O wiri ng, 61[...]

  • Página 56

    6F3B0253 54 T1-16 S Use r ’s M anual 4. Install ation and Wi ring 4.1 E nvi ron mental conditio ns Do not install the T1 -16S i n the f ollowi ng locations : • W here the ambient temperature drops below 0 ° C or exceeds 55 ° C. • W h ere t h e re lat ive humidity drops below 20% or exceeds 90%. • W here there i s condensat ion due to sudd[...]

  • Página 57

    6F3B0253 Basic Hardware and F unction 55 4. Installation and Wir ing 4.2 Insta lling the uni t The T1- 16S basic uni t and the I/O m odule come equi pped with a bracket at the rear f or mounting o n a 35 m m DIN rail. Ins t allation precaution s: • Because the T1- 16S is not dust- proof, instal l i t in a dust-proo f enclosur e. • Do not i nst [...]

  • Página 58

    6F3B0253 56 T1-16 S Use r ’s M anual 4. Install ation and Wi ring Dim ensi ons for screw mounti ng:[...]

  • Página 59

    6F3B0253 Basic Hardware and F unction 57 4. Installation and Wir ing 4.3 Wiri ng terminals The ter minal sc rew siz e of the T1-16S is M 3. Use cr imp- styl e term inals of 7mm wi dth or less us eable fo r M 3. The term inal block is not r emovabl e (fixed). For i nput and output signal connecti ons, refer to sections 2.4 and 3. T1 -MDR16SS .. .. A[...]

  • Página 60

    6F3B0253 58 T1-16 S Use r ’s M anual 4. Install ation and Wi ring 4.4 Ground ing The opti mum method for gr ounding electroni c equipment is to ground it separately from other hi gh-pow er system s, and to ground more t han one units of electronic equipm ent with a single-point ground. Although the T1- 16S has noi se im munity to be used i n indu[...]

  • Página 61

    6F3B0253 Basic Hardware and F unction 59 4. Installation and Wir ing 4.5 Power s upply wirin g W ire the powe r so urce to the T1-16S powe r s upply terminals. Insul ation transforme r Lin e fil ter Power source T1-16S • Power c onditions : AC pow er suppl y type DC pow er suppl y type Rated vol tage 100 to 240Vac, +10/-15% 24Vdc, +20/-15% Fr equ[...]

  • Página 62

    6F3B0253 60 T1-16 S Use r ’s M anual 4. Install ation and Wi ring Connecti ons of the power s upply terminals are shown below. • AC power supply type 100 to 2 40Vac Grounding N L ∼ 100-2 40Vac • DC pow er suppl y type 24Vdc Grounding - + 24 Vdc + -[...]

  • Página 63

    6F3B0253 Basic Hardware and F unction 61 4. Installation and Wir ing 4.6 I/O wiring • Refer to sec tions 2.4 and 3 for ins truc tions on how to p r operly wi re the I/O te rmina ls. • 0.75mm 2 (18 AW G) to 0.3 mm 2 ( 22 AW G) wi res are r ecomm ended f or I /O signal s. • Separate the I /O signal cables from high- power cables by at leas t 20[...]

  • Página 64

    6F3B0253 62 T1-16 S Use r ’s M anual[...]

  • Página 65

    6F3B0253 Basic Hardware and Functi on 63 Section 5 Operating System Overview 5.1 Operati on modes , 64 5.2 About the built -in EE PROM, 66 5.3 Scanning, 69[...]

  • Página 66

    6F3B0253 64 T1-16S Us er’s M anual 5. Operating Sy stem Overview 5.1 Operation modes The T1- 16S has three basic operat ion modes, the RUN mode, the HALT mode and the ERR OR m ode. The T1- 16S also has the H OLD and RUN-F m odes mai nly for system checkin g. RUN: Th e RUN m ode is a normal control -operation mode. I n this mode, the T1- 16S reads[...]

  • Página 67

    6F3B0253 Basic Hardware and Functi on 65 5. Operating Sy stem Overview The operation modes are switched by t he mode control switch provided on t he T1-16S and the mode contr ol com mands iss ued from the programming tool. The m ode transi tion condi tions are show n below. M ode contr ol s witc h is in R (RUN) sid e. M ode control swi tch is in H [...]

  • Página 68

    6F3B0253 66 T1-16S Us er’s M anual 5. Operating Sy stem Overview 5. 2 About t he bu i lt-in EEPROM The T1 -16S is equipped w ith a bu ilt-in EEPROM and a RAM as standard features . The u s er program is sto re d in the EEPR OM so that the user program can be mai ntained without the need of a b attery. A part of the Data register can also be stor [...]

  • Página 69

    6F3B0253 Basic Hardware and Functi on 67 5. Operating Sy stem Overview EEPR OM Us er pro gra m (8 k steps) and S yst em in fo Us er pro gra m (8 k steps) and S yst em in fo Data re gi s ter ( D 00 00 t o Dn nn n, us er s et t i ng) Data re gi s ter (0 to 20 48 w ords, us er s et t i ng) Other data Other data RAM T he res t of Dat a regi ste r an d [...]

  • Página 70

    6F3B0253 68 T1-16S Us er’s M anual 5. Operating Sy stem Overview Special r egister SW 55 is used to speci f y the number of Data re giste rs to be st ored in the EEPROM . The allowable setting v alue is 0 t o 2048. The t a b le below s hows the correspondence between the SW55 value and Da ta regi sters saved in the EE PROM. SW 55 setting valu e R[...]

  • Página 71

    6F3B0253 Basic Hardware and Functi on 69 5. Operating Sy stem Overview 5. 3 Scannin g The f lo wch art b elo w sho ws the basic int e rna l operati ons per formed by the T1-16S from the time powe r is turned on t hrough program execution. As the diagra m shows, executing a pr ogram cons ists of continuous scanning operations. One scan is a cycle st[...]

  • Página 72

    6F3B0253 70 T1-16S Us er’s M anual 5. Operating Sy stem Overview Har dware check: Perform s ch eck ing and ini tialization of the system ROM, t he system RAM and th e peri pheral LSI s. I nitial load: Tr ansfers the user program and us er dat a from the EEPR OM to the R AM. (R efer to sect ion 5.2) Register/device in itialization: I nitiali zes r[...]

  • Página 73

    6F3B0253 Basic Hardware and Functi on 71 5. Operating Sy stem Overview Self-diagnosis: Checks the proper operat io n of the T1 -16S itsel f . If an error has detected and cannot be re co ve re d b y re-tries , the T1 -16S moves into ERROR mode. For the self-diagnosis item s, refe r to section 10.2. Mode co nt rol: Checks the m ode control switch st[...]

  • Página 74

    6F3B0253 72 T1-16S Us er’s M anual 5. Operating Sy stem Overview User pr ogr am execu tion: Executes the programmed instru ction s from the beginning to the END instruction. Thi s is the es sential function of the T1- 16S. I n this s ection, o nly the main pr ogram execution is mentioned. F or other progr am typ es , su c h as timer interrupt, et[...]

  • Página 75

    6F3B0253 Basic Hardware and Functi on 73 Section 6 Progr am m ing Inform ation 6.1 Devi ces and r egister s, 74 6.2 Index modifi cation, 86 6.3 Real -ti me cl ock/cal endar, 88 6.4 I/O allocati on, 89 6.5 T1- 16S memor y mode s etting, 91 6.6 User progr am confi gurati on, 92 6.7 Progr amm ing language, 98 6.8 Progr am ex ecuti on sequence, 99 6.9 [...]

  • Página 76

    6F3B0253 74 T1-16S Us er’s M anual 6. Pr ogr amm ing Infor m ation 6.1 Dev ices and registers The T1-1 6S program consists of bit-based instructions that handle ON/OFF information, such as contact and c oil instructions, and r egis ter-based (16 -bi t) instr uctions , such as those for data t ransfer and ari thm eti c operations. Devi ces ar e us[...]

  • Página 77

    6F3B0253 Basic Hardware and Functi on 75 6. Pr ogr amm ing Infor m ation A ddressin g devices A device number of X, Y, R and S devices co nsist of a r egister number and bit position as f o llows. X 0 0 4 Repr esents bi t positi on 0 to F in the re giste r. Deci mal number representing the re giste r containing the corresponding devi ce. Represent [...]

  • Página 78

    6F3B0253 76 T1-16S Us er’s M anual 6. Pr ogr amm ing Infor m ation A vailable ad dress ra nge T1- 16S Devi ce/regi ster Sym bol Number of points Addres s r ange External input device X X000 - X31F External output device Y T otal 512 points Y 020 - Y31F External input regi ster XW XW 00 - XW 31 Exter nal output regist er Y W To ta l 32 wo rds YW 0[...]

  • Página 79

    6F3B0253 Basic Hardware and Functi on 77 6. Pr ogr amm ing Infor m ation Exter nal in put dev ices (X) These devices (X) indicate the ON/OFF s tates of external input si gnals through the input cir cuits. External input devices can be used many times in a program. Exter nal ou tput dev ices (Y) The external output devices (Y ) store the ON/OFF sign[...]

  • Página 80

    6F3B0253 78 T1-16S Us er’s M anual 6. Pr ogr amm ing Infor m ation Coun ter dev ices and registers (C./C) The counter re gist ers (C) are us ed for st oring the count value of the c ounter (CNT) and the up-down counter (U/ D) ins truc tions. The counter devi ces (C.) w ork as the output of the counter instru ctions . I t is possibl e to speci f y[...]

  • Página 81

    6F3B0253 Basic Hardware and Functi on 79 6. Pr ogr amm ing Infor m ation Special dev ices and registers (S/SW) The special devices (S) and special register s (SW ) are used fo r special purposes. See li st below. Dev ice/ regi ster Nam e Func ti on S000 0: I ni t i al i zat i on 4: HO LD m ode S001 T 1/ T1S oper at i on m ode 1: HA LT m ode 6: E RR[...]

  • Página 82

    6F3B0253 80 T1-16S Us er’s M anual 6. Pr ogr amm ing Infor m ation Dev ice/ regi ster Nam e Func ti on S010 Sy st em RO M er ror (down) O N at er ror stat e S011 Sy st em RA M err or (down) ON at error state S012 Program memory error (down) ON at error s tate S013 EEPROM error (down) ON at error state S014 − Reserv ed S015 − Reserv ed S016 ?[...]

  • Página 83

    6F3B0253 Basic Hardware and Functi on 81 6. Pr ogr amm ing Infor m ation Dev ice/ regi ster Nam e Func ti on S030 Pr ogram err or ON at er ror stat e (r elat ed t o SW 06) S031 Sc an ti m e over (down) ON when the scan ti m e e xceeds 200 m s S032 − Reserv ed S033 − Reserv ed S034 − Reserv ed S035 − Reserv ed S036 − Reserv ed S037 − Res[...]

  • Página 84

    6F3B0253 82 T1-16S Us er’s M anual 6. Pr ogr amm ing Infor m ation Dev ice/ regi ster Nam e Func ti on S050 CF (c arry f l ag) Used f or i nstruc ti ons which m ani pul at e carr y S051 ERF (instruct ion error f lag) ON when instruction execu t ion error is occurred (rel at ed to alar m f lags o f S W06 ) S052 − Reserv ed S053 − Reserv ed S05[...]

  • Página 85

    6F3B0253 Basic Hardware and Functi on 83 6. Pr ogr amm ing Infor m ation Dev ice/ regi ster Nam e Func ti on SW 07 Cloc k/c al endar (Y ear) Low er 2 digit s o f the calendar year (01 , 02 , ... ) SW 08 Cloc k/c al endar ( Mont h) Month ( 01, 02, ... 12) They a r e s to red in SW 09 Cloc k/c al endar (Day ) Day (01, 02, ... 31) the lo w er 8 bit s [...]

  • Página 86

    6F3B0253 84 T1-16S Us er’s M anual 6. Pr ogr amm ing Infor m ation Dev ice/ regi ster Nam e Func ti on S390 T im er i nterr upt ex ecut ion status O N duri ng execu tion S39 1 I/O inte rru pt # 1 execution status O N duri ng execu tion S39 2 I/O inte rru pt # 2 execution status O N duri ng execu tion S39 3 I/O inte rru pt # 3 execution status O N[...]

  • Página 87

    6F3B0253 Basic Hardware and Functi on 85 6. Pr ogr amm ing Infor m ation Dev ice/ regi ster Nam e Func ti on SW 41 Sub-progr am #1 execution status B it 0 ( S410) is O N duri ng t he sub-program #1 i s ex ecut ed SW 42 − Res erv ed SW 43 − Res erv ed SW 44 − Res erv ed SW 45 − Res erv ed SW 46 − Res erv ed SW 47 − Res erv ed SW 48 − R[...]

  • Página 88

    6F3B0253 86 T1-16S Us er’s M anual 6. Pr ogr amm ing Infor m ation 6.2 Index modification W hen registers are used as operands of instructions, the method of directly designati ng the regi ster addres s as shown in Example 1) be low is called ‘direct addres sing’ . As oppos ed to this, the m ethod o f indirectly designat ing the reg ister by [...]

  • Página 89

    6F3B0253 Basic Hardware and Functi on 87 6. Pr ogr amm ing Infor m ation The followi ngs are examples of index m odifications . W hen I = 0, it designates RW10. W hen I = 1, it designates RW11. W hen I = -1, it desi gnates RW09. W hen I = 10, it designates RW20. W hen I = -10, it des ignates RW00. W hen J = 0, it desi gnates D0201 ⋅ D0200. W hen [...]

  • Página 90

    6F3B0253 88 T1-16S Us er’s M anual 6. Pr ogr amm ing Infor m ation 6.3 Real-tim e clock/calenda r (Enhanced model on ly) The T1 -16S enhanced m odel i s equi pped wit h the real- tim e cloc k/cal endar f or year , month, day , day of the week, hour, m inute, and sec ond. These data ar e stor ed in the spec ial registers SW0 7 to S W 1 3 b y 2 - d[...]

  • Página 91

    6F3B0253 Basic Hardware and Functi on 89 6. Pr ogr amm ing Infor m ation 6.4 I/O all ocati on The external input signals are allocated to the external input device s/ registers (X/XW). The external output signals are allocated to the external output devices/registers (Y/YW ). The r egister numbers of the external input and output registers are cons[...]

  • Página 92

    6F3B0253 90 T1-16S Us er’s M anual 6. Pr ogr amm ing Infor m ation Inter nally, the T1- 16S has information called ‘I/O al location table’ in its memory. This I /O allocati on table show s the cor respondenc e betw een I/ O hardware and s oftware , i.e. r egister /devic e. The contents of the I/O al location tabl e are as f ollows. Unit Sl ot[...]

  • Página 93

    6F3B0253 Basic Hardware and Functi on 91 6. Pr ogr amm ing Infor m ation 6.5 T1-16S memor y mode setti ng The program capacity o f the T1 -16S i s 8 k steps. Howeve r, user can set the T1 -16S’s progr am c apacity to 4 k steps . It is called the T1 -16S’ s mem ory m ode. That is , the T1-16S has tw o memory modes, 8 k m ode and 4 k mode. I n th[...]

  • Página 94

    6F3B0253 92 T1-16S Us er’s M anual 6. Pr ogr amm ing Infor m ation 6.6 User progr am con figur ation A group of instructions f or achievi ng the PLC-based contr ol system i s called ‘user progr am’. T he T1-16S has 8 k steps capacity for s toring the user program. A ‘s tep’ is the minimum unit, which composes an instruction. Number of ste[...]

  • Página 95

    6F3B0253 Basic Hardware and Functi on 93 6. Pr ogr amm ing Infor m ation Sy stem in form a tion System i nf ormati on is the ar ea whic h stores executi on control param eters . The following contents are incl uded in the system information. (1) M achi ne paramet ers (hardware type, memory type) (2) User program info rmation (program ID, system com[...]

  • Página 96

    6F3B0253 94 T1-16S Us er’s M anual 6. Pr ogr amm ing Infor m ation In th e u s er program, the main program is the core. The s can operation ex plained in secti on 5.3 is for the main progr am. The operation of ot her program t ypes are explai ned in the foll owing s ections . The follow ing 8 pr ogram types are supported by the T1- 16S. (1) Main[...]

  • Página 97

    6F3B0253 Basic Hardware and Functi on 95 6. Pr ogr amm ing Infor m ation 6.6.2 Sub-progr am #1 I f the sub-pr ogram #1 is progr amm ed, it is executed once at t he begin n ing o f th e fir st scan ( before mai n program execution ). The re f o re, t h e su b-p ro g ram #1 ca n b e us e d to s e t the in it ial valu e i n t o the regis ters . The su[...]

  • Página 98

    6F3B0253 96 T1-16S Us er’s M anual 6. Pr ogr amm ing Infor m ation 6.6.4 I/O inter ru pt progr ams The I /O interr upt progr am i s also the highest p rior ity task. It is execute d i mmediately when the i nterrupt factor is generated, w ith sus pending other operation. The followi ng 4 types I/O interrupt programs are s uppor ted in the T1/T1S. [...]

  • Página 99

    6F3B0253 Basic Hardware and Functi on 97 6. Pr ogr amm ing Infor m ation 6.6.5 Su broutines In th e program t ype ‘Subr outine’, T he f ollow ing number of subroutines can be progr amm ed. The T1- 16S suppor ts up to 256 subroutin es. The subr outine i s not a i ndependent program . I t is calle d from ot her program types (main program , sub-p[...]

  • Página 100

    6F3B0253 98 T1-16S Us er’s M anual 6. Pr ogr amm ing Infor m ation 6. 7 Programm ing lang uage The programm ing la n g u a g e of the T1 -16S is ‘l adder di agram’ . Ladder diagr am i s a l anguage, whic h compos es pr ogram usi ng relay sy mbo ls as a ba s e in an image simil ar t o a hard-wi red relay sequence. In the T1/T1S , in order to a[...]

  • Página 101

    6F3B0253 Basic Hardware and Functi on 99 6. Pr ogr amm ing Infor m ation 6. 8 Prog ram execut i on s e q uence The i nstruc tions execution s equence is shown below. (1) They ar e executed in the sequence from block 1 through th e final block, wh ich contains the END inst ructio n (or IRE T in an int errupt program ). (2) They are executed in the s[...]

  • Página 102

    6F3B0253 100 T1-16S Us er ’ s M anual 6. Pr ogr amm ing Infor m ation 6.9 O n-li ne debug su pport functions The f ollo win g on-l i ne (during RUN) f unc t ions are s uppor ted in the T1 -16S for effective progr am debuggi ng. On-l i ne f uncti on 4 k m ode 8 k m ode For ce f unct i on Yes Yes Sam pl i ng tr ace f unc ti on Yes Yes Changing t i [...]

  • Página 103

    6F3B0253 Basic Hardware and Functi on 101 6. Pr ogr amm ing Infor m ation Sam pling tr ace fun ction The sampl ing trace function coll ects the status of specified devices or register at every speci fied sampl ing tim ing. T he coll ected data can be displayed on t he programmer (T -PDS) sc reen in the form at of timi ng chart ( for devi ces) or tr[...]

  • Página 104

    6F3B0253 102 T1-16S Us er ’ s M anual 6. Pr ogr amm ing Infor m ation T imer/cou nter pr eset va lue (con stant data) ch angin g The preset valu e (constant data) o f t imer or counter inst ruction can be c hanged in o n- line (d u rin g RUN) by us in g th e programm ing tool. Func t io n i nst ruc ti o n co ns ta nt o p e rand cha ng ing The con[...]

  • Página 105

    6F3B0253 Basic Hardware and Functi on 103 6. Pr ogr amm ing Infor m ation 6.10 Pa ssword protecti on The T1- 16S has the pass word function to protect the user program and data from unauthori zed operatio ns. Ther e are four leve ls of protection. A ccor dingly, three levels of passwords can be regi stered to c ontrol the protection leve ls. These [...]

  • Página 106

    6F3B0253 104 T1-16S Us er ’ s M anual[...]

  • Página 107

    6F3B0253 Basic Hardware and F unction 105 Section 7 Instructions 7.1 List of i nstructi ons, 106 7.2 Instr uction spec ific ations, 116[...]

  • Página 108

    6F3B0253 106 T1-16S Us er’s M anual 7. Instructions 7.1 List of inst ructio ns The T1 -16S has 21 types of basic l adder instructions and 9 7 types of funct ion instru ction s as listed below. T he specificat ions of each instruct ion will be d es cribed i n detail late r. The tabl es li sting these i nstr uctions are prov ided as a quic k refere[...]

  • Página 109

    6F3B0253 Basic Hardware and F unction 107 7. Instructions Basic ladder ins tructions (c ontinued) FUN No. Nam e Ex pression Functi on Steps S peed ( µ s) P age − Counter C CNT Q E A B Counts the num ber of cycl es the count input ( C) com e s ON whil e the e nable input ( E) i s ON, and tur ns ON output ( Q ) whe n the count reache s t o the val[...]

  • Página 110

    6F3B0253 108 T1-16S Us er’s M anual 7. Instructions A r ithmeti c ope ra tions FUN No. Nam e Ex pression Functi on Steps S peed ( µ s) P age 027 Additi on − [ A + B → C ] − Adds data of A and B, and stores the result i n C. 4 6.5 143 028 Subtract ion − [ A - B → C ] − Subtract s data of B from A , and stores the result i n C . 4 6.5 [...]

  • Página 111

    6F3B0253 Basic Hardware and F unction 109 7. Instructions Logical operations FUN No. Nam e Ex pression Functi on Steps S peed ( µ s) P age 048 AND − [ A AND B → C ] − Finds logi cal AND of A and B, and stores it i n C. 4 5.7 156 050 OR − [ A OR B → C ] − Finds l ogical O R of A and B, and stores it i n C. 4 5.7 157 052 Exclusive OR −[...]

  • Página 112

    6F3B0253 110 T1-16S Us er’s M anual 7. Instructions Rotate ope r a tions FUN No. Nam e Ex pression Functi on Steps S peed ( µ s) P age 07 8 1 bit rotat e ri ght − [ RTR1 A ] − R ota te s da ta of A 1 b it to the ri ght ( LSB direction) . The carry f lag changes according to th e resu lt . 2 6.8 172 079 1 b it rot ate l eft − [ RT L1 A ] ?[...]

  • Página 113

    6F3B0253 Basic Hardware and F unction 111 7. Instructions Compare instructions (continued) FUN No. Nam e Ex pression Functi on Steps S peed ( µ s) P age 108 Unsigned greater than − [ A U> B ] − Turns ON output if A > B . (Unsigned intege r com pare) 3 190 109 Unsigned greater than or equal − [ A U>= B ] − Turns ON output if A ≥ [...]

  • Página 114

    6F3B0253 112 T1-16S Us er’s M anual 7. Instructions Progra m control in structions FUN No. Nam e Ex pression Functi on Steps S peed ( µ s) P age 128 Subrout i ne call − [ CALL N. n ] − Calls t he subrouti ne num ber n . 2 203 129 Subrouti ne re turn −− [ RET ] − I ndicat e s the end of a subrouti ne. 1 21.0 (in a pair ) 204 132 F[...]

  • Página 115

    6F3B0253 Basic Hardware and F unction 113 7. Instructions Functions FUN No. Nam e Ex pression Functi on Steps S peed ( µ s) P age 056 Moving average − [ A MAVE ( n ) B → C ] − Calculat es the ave r age value of la te st n scan valu es of A , and stores the result i n C . 5 159 061 Digi t al f i l t er − [ A DFL B → C ] − Fi l t er s t [...]

  • Página 116

    6F3B0253 114 T1-16S Us er’s M anual 7. Instructions Conversion i nstructi ons FUN No. Nam e Ex pression Functi on Steps S peed ( µ s) P age 062 Hex to ASCII conve rsi on − [ A HT OA ( n ) B ] − C onverts t he hex adecim al data o f n words stati ng with A in to A SC II ch arac ters , and s t o r es t h em i n n x2 re gi sters start ing wi th[...]

  • Página 117

    6F3B0253 Basic Hardware and Functi on 115 7. Instructions Sp e c ia l I/O ins tr u ctions FUN No. Nam e Ex pression Functi on Steps S peed ( µ s) A vai labl e Page 23 5 Dire ct I/O − [ I/O ( n ) A ] − P erform s the im m ediat e bloc k I/O trans fe r of n registers star ting with A . 3 20.7 + 21.3 × n √ *1 257 236 Expande d data tran sfe r [...]

  • Página 118

    6F3B0253 116 T1-16S Us er’s M anual 7. Instructions 7.2 Instr uction specifications The following pages in thi s section d esc ribe the detailed spe cifications of each inst ructi on. On each page, t he foll owing i tems are explained. Expr ession Shows the operands r equi red fo r the instru ction as ital ic charact ers. Func t io n Explai ns th[...]

  • Página 119

    6F3B0253 Basic Hardware and F unction 117 7. Instructions N O contact Expr ession A Input O ut put Func t io n NO ( norm ally open) c ontact of device A. W hen the input i s ON and the device A is ON, the output is tur ned ON. Execu tion condition Input Operat i on Out put OF F Regardl ess of t he state of d e v ice A OFF ON W hen d e v ice A is OF[...]

  • Página 120

    6F3B0253 118 T1-16S Us er’s M anual 7. Instructions NC contact Expr ession A Input O ut put Func t io n NC ( norm ally c losed) contact of device A. W hen the input i s ON and the device A is OFF, the output is turned ON. Execu tion condition Input Operat i on Out put OF F Regardl ess of t he state of d e v ice A OFF ON W hen d e v ice A is OFF O[...]

  • Página 121

    6F3B0253 Basic Hardware and F unction 119 7. Instructions Transit ional contact (Ri sing edge) Expr ession Input O ut put Func t io n W hen the input at last sc an is OF F and the i nput at this sca n i s ON, the output is t ur ned O N. This instruction is used to detect the i nput changing from OFF to ON. Execu tion condition Input Operat i on Out[...]

  • Página 122

    6F3B0253 120 T1-16S Us er’s M anual 7. Instructions T ransitional contact (Falling edge) Expr ession Input O ut put Func t io n W hen the input at last sc an is ON and the input at thi s scan is OFF, the outp ut is t ur ned O N. This instruction is used to detect the i nput changing from ON to OFF. Execu tion condition Input Operat i on Out put O[...]

  • Página 123

    6F3B0253 Basic Hardware and F unction 121 7. Instructions ( ) Coil Expr ession A Input ( ) Func t io n Relay coil of device A. W hen the input i s ON, the device A is set to ON. Execu tion condition Input Operat i on Out put OF F Sets dev i c e A to OFF − ON Sets dev i ce A to ON − Operan d Nam e Dev i ce Regist er Constant Index X Y R S T . C [...]

  • Página 124

    6F3B0253 122 T1-16S Us er’s M anual 7. Instructions Forced coil Expr ession A Input Func t io n Regar dless of the input sate the state of device A is retained . Execu tion condition Input Operat i on Out put OF F No opera tion − ON No operation − Operan d Nam e Dev i ce Regist er Constant Index X Y R S T . C . X WY WR WS W T C D I J K A Dev [...]

  • Página 125

    6F3B0253 Basic Hardware and F unction 123 7. Instructions I Inverter Expr ession Input I O ut put Func t io n W hen the input is OF F, the output is turned ON, and when the input is ON, the outpu t is turned OFF. This instruction inverts the link stat e. Execu tion condition Input Operat i on Out put OF F Inv ert s the input stat e ON ON Inv er ts [...]

  • Página 126

    6F3B0253 124 T1-16S Us er’s M anual 7. Instructions ( I ) I n ver t coil Expr ession A Input ( I ) Func t io n W hen the input i s OFF , the device A is set to ON , and when the input is ON, the device A is set to OFF. This instruction inverts the input state and store it i n the device A . Execu tion condition Input Operat i on Out put OF F Sets[...]

  • Página 127

    6F3B0253 Basic Hardware and F unction 125 7. Instructions P Positive p ulse contact Expr ession A Input P Output Func t io n W hen the input i s ON and the device A is changed from OFF to ON (OF F at l ast scan and O N at this scan) , the output is t ur ned ON. This instruction is used to detect the device changing from OFF to ON. Execu tion condit[...]

  • Página 128

    6F3B0253 126 T1-16S Us er’s M anual 7. Instructions N Negative p ulse contact Expr ession A Input N Output Func t io n W hen the input i s ON and the device A is changed from ON to OF F (O N at l ast scan and OFF at this scan) , the output is t ur ned ON. This instruction is used to detect the device changing from ON to OFF. Execu tion condition [...]

  • Página 129

    6F3B0253 Basic Hardware and F unction 127 7. Instructions ( P ) Positive pulse c oil Expr ession A Input ( P ) Func t io n W hen the input is changed fo rm OFF to ON, the de vice A is set to ON f o r 1 scan time. This instruction is used to detect the i nput changing from OFF to ON. Execu tion condition Input Operat i on Out put OF F Sets dev i c e[...]

  • Página 130

    6F3B0253 128 T1-16S Us er’s M anual 7. Instructions ( N ) Negative pul se coil Expr ession A Input ( N ) Func t io n W hen the input is changed fo rm ON to OFF, the de vice A is set to ON f o r 1 scan time. This instruction is used to detect the i nput changing from ON to OFF. Execu tion condition Input Operat i on Out put OF F W hen the input at[...]

  • Página 131

    6F3B0253 Basic Hardware and F unction 129 7. Instructions TON ON delay tim er Expr ession Input  [ A TON B ]  Output Func t io n W hen the input is c hanged from OFF to ON, ti mer updating fo r the ti mer regist er B is sta rted. Th e elapsed ti me i s stored in B . W hen the speci fied time b y A has el apsed a fter the input came ON, the ou[...]

  • Página 132

    6F3B0253 130 T1-16S Us er’s M anual 7. Instructions TOF OFF delay timer Expr ession Input  [ A TOF B ]  Output Func t io n W hen the input is c hanged from OFF to ON, the output and the tim er de vice cor responding to the time r regi ster B are s et to ON. W hen the input is chan g ed from O N t o OFF, t imer updating fo r B is star ted. T[...]

  • Página 133

    6F3B0253 Basic Hardware and F unction 131 7. Instructions SS S ingle shot ti mer Expr ession Input  [ A SS B ]  Output Func t io n W hen the input is c hanged from OFF to ON, the output and the tim er de vice cor responding to the time r regi ster B are s et to ON, and tim er updati ng f or B is s tarted. The elapsed t ime is stor ed in B . W[...]

  • Página 134

    6F3B0253 132 T1-16S Us er’s M anual 7. Instructions CNT C ounter Expr ession Count i nput C CNT Q Output Enabl e input E A B Func t io n W h ile the enable input is ON, t his instru ction c ounts the number o f the count input changes from OFF to ON. The c ount value i s stored in the counter re giste r B . W hen the count value r eaches the set [...]

  • Página 135

    6F3B0253 Basic Hardware and F unction 133 7. Instructions MC S MC R Ma ster control set / reset Expr ession Input [ MCS ] [ MCR ] Func t io n W hen the MC S input is ON, or dinary operation i s per f ormed. W hen the M CS input i s OFF , the state of lef t power rail betw een MC S a nd MC R i s t u r ned OFF. Execu tion condition MCS input O perat [...]

  • Página 136

    6F3B0253 134 T1-16S Us er’s M anual 7. Instructions JCS JCR Jump control set / reset Expr ession Input [ JC S ] [ JCR ] Func t io n W hen the JCS input i s ON, i nstruc tions between JCS and J CR are sk ipped (not ex ecuted). W hen the JCS input i s OFF , ordi nary oper ation is per formed. Execu tion condition JCS input O perat i on Out put OF F[...]

  • Página 137

    6F3B0253 Basic Hardware and F unction 135 7. Instructions END End Expr ession [ END ] Func t io n I n di c at es t he end of m ai n program or sub-progr am . Instructio n s after the END instruction are not executed. At l east one END instru c tion is necessary in a pr ogram . Execu tion condition Input Operat i on Out put Operan d No oper and is r[...]

  • Página 138

    6F3B0253 136 T1-16S Us er’s M anual 7. Instructions FUN 018 M OV D ata transfer Expr ession Input − [ A M OV B ] − Output Func t io n W hen the input is ON , the data of A is stored in B . Execu tion condition Input Operat i on Out put OF F No execu tion OF F ON Ex ecuti on ON Operan d Nam e Dev i ce Regist er Constant Index X Y R S T . C . X[...]

  • Página 139

    6F3B0253 Basic Hardware and F unction 137 7. Instructions FUN 019 DMOV Double-word data transfer Expr ession Input − [ A+ 1 ⋅ A MOV B+1 ⋅ B ] − Output Func t io n W hen the input is ON , the double- word (32-bit) data of A+1 ⋅ A is stor ed in double- word regi ster B+1 ⋅ B . The data r ange is -2147483648 to 2147483647. Execu tion condi[...]

  • Página 140

    6F3B0253 138 T1-16S Us er’s M anual 7. Instructions FUN 020 NOT I nvert transfer Expr ession Input − [ A NO T B ] − Output Func t io n W hen the input is ON , the bit -inverted data o f A is stored in B . Execu tion condition Input Operat i on Out put OF F No execu tion OF F ON Ex ecuti on ON Operan d Nam e Dev i ce Regist er Constant Index X[...]

  • Página 141

    6F3B0253 Basic Hardware and F unction 139 7. Instructions FUN 022 X CH G D ata exchange Expr ession Input − [ A XCHG B ] − Output Func t io n W hen the input is ON , the data of A and the data of B is exchanged. Execu tion condition Input Operat i on Out put OF F No execu tion OF F ON Ex ecuti on ON Operan d Nam e Dev i ce Regist er Constant In[...]

  • Página 142

    6F3B0253 140 T1-16S Us er’s M anual 7. Instructions FUN 02 4 TINZ Table initia lize Expr ession Input − [ A TINZ ( n ) B ] − Output Func t io n W hen the input is ON , the data of A is stored in n reg isters s tarting w ith B . The allowable r ange of th e t abl e s ize n is 1 to 1024 w ords. Execu tion condition Input Operat i on Out put OF [...]

  • Página 143

    6F3B0253 Basic Hardware and F unction 141 7. Instructions FUN 025 TMOV Table transfer Expr ession Input − [ A TMOV ( n ) B ] − Output Func t io n W hen the input is ON , the data of n registe rs starting w it h A are tr ansferred to n r egist ers sta rting with B in a block. The all owabl e r ange of the table size n is 1 to 1024 wor ds. Execu [...]

  • Página 144

    6F3B0253 142 T1-16S Us er’s M anual 7. Instructions FUN 026 T NOT Tabl e invert transfer Expr ession Input − [ A TNOT ( n ) B ] − Output Func t io n W hen the input is ON , the data of n registe rs starting w it h A are b it-inve rted and transferred t o n reg isters s tarting w ith B in a block. The all owable range of the tabl e s ize n is [...]

  • Página 145

    6F3B0253 Basic Hardware and F unction 143 7. Instructions FUN 027 + A ddition Expr ession Input − [ A + B → C ] − Output Func t io n W hen the input is ON , the data of A and the data of B are added, and the res ult is sto red in C . I f the resul t is gr eater than 32767, the upper limit value 32767 is stored in C , and the output is turned [...]

  • Página 146

    6F3B0253 144 T1-16S Us er’s M anual 7. Instructions FUN 02 8 − Subtraction Expr ession Input − [ A − B → C ] − Output Func t io n W hen the input is ON , the data of B i s subtr acted f rom the data of A , and the r esult i s stored in C . I f the resul t is gr eater than 32767, the upper limit value 32767 is stored in C , and the outpu[...]

  • Página 147

    6F3B0253 Basic Hardware and F unction 145 7. Instructions FUN 02 9 ∗ Mu ltiplication Expr ession Input − [ A ∗ B → C+ 1 ⋅ C ] − Output Func t io n W hen the input is ON , the data of A is multiplied by the data of B , and the result is stored in double- length r egister C+1 ⋅ C . Execu tion condition Input Operat i on Out put OF F No [...]

  • Página 148

    6F3B0253 146 T1-16S Us er’s M anual 7. Instructions FUN 03 0 / Division Expr ession Input − [ A / B → C ] − Output Func t io n W hen the input is ON , the data of A is divided by the data of B , and the quotient is stor ed in C and the rem ainder in C+1. Execu tion condition Input Operat i on Out put ERF OF F No execu tion OF F − ON Norm [...]

  • Página 149

    6F3B0253 Basic Hardware and F unction 147 7. Instructions FUN 031 D+ Double-word addition Expr ession Input − [ A+ 1 ⋅ A D+ B+ 1 ⋅ B → C+ 1 ⋅ C ] − Output Func t io n W hen the input is ON , the double- word dat a of A+1 ⋅ A and B+1 ⋅ B are added, and the res ult is stor ed in C+1 ⋅ C . The data r ange is -2147483648 to 2147483647[...]

  • Página 150

    6F3B0253 148 T1-16S Us er’s M anual 7. Instructions FUN 03 2 D − Double-word subtraction Expr ession Input − [ A+ 1 ⋅ A D − B+ 1 ⋅ B → C+ 1 ⋅ C ] − Output Func t io n W hen the input is ON , the double- word dat a of B+1 ⋅ B is subtr acted f rom A+1 ⋅ A , and the result i s stor ed in C+1 ⋅ C . The data r ange is -2147483648[...]

  • Página 151

    6F3B0253 Basic Hardware and F unction 149 7. Instructions FUN 035 +C A ddition with carry Expr ession Input − [ A +C B → C ] − Output Func t io n W hen the input is ON , the data of A , B and the carr y flag ( CF = S050) are added, and the res ult is stor ed in C . I f carr y is occurred in the operation, the c arry flag is set to ON. If the [...]

  • Página 152

    6F3B0253 150 T1-16S Us er’s M anual 7. Instructions FUN 03 6 - C S ubtraction with carry Expr ession Input − [ A - C B → C ] − Output Func t io n W hen the input is ON , the data of B and the carr y flag ( CF = S050) are s ubtracted from A , and the res ult is stored in C . If borrow is occurred in the operation, t he carr y flag is set to [...]

  • Página 153

    6F3B0253 Basic Hardware and F unction 151 7. Instructions FUN 03 9 U ∗ Unsigned m ultipl ication Expr ession Input − [ A U ∗ B → C+ 1 ⋅ C ] − Output Func t io n W hen the input is ON , the uns igned dat a of A and B ar e multi pli ed, and the resul t is stored in double- length r egister C+1 ⋅ C . The data r ange o f A and B is 0 to 6[...]

  • Página 154

    6F3B0253 152 T1-16S Us er’s M anual 7. Instructions FUN 040 U/ Unsigned division Expr ession Input − [ A U/ B → C ] − Output Func t io n W hen the input is ON , the uns igned dat a of A is divided by the uns igned dat a of B , and the quotient i s stored in C and the r emai nder i n C+1 . The data r ange o f A and B is 0 to 65535 ( unsigned[...]

  • Página 155

    6F3B0253 Basic Hardware and F unction 153 7. Instructions FUN 041 DI V Unsigned double/single division Expr ession Input − [ A+ 1 ⋅ A DIV B → C ] − Output Func t io n W hen the input is ON , the double- word dat a of A+1 ⋅ A is divided by the data of B , and the quotient is stored in C and the rem ainder in C+1. The data ran g e of A+1 ?[...]

  • Página 156

    6F3B0253 154 T1-16S Us er’s M anual 7. Instructions FUN 043 +1 Increment Expr ession Input − [ +1 A ] − Output Func t io n W hen the input is ON , the data of A is i ncre ased by 1 and s tored i n A . Execu tion condition Input Operat i on Out put OF F No execu tion OF F ON Ex ecuti on ON Operan d Nam e Dev i ce Regist er Constant Index X Y R[...]

  • Página 157

    6F3B0253 Basic Hardware and F unction 155 7. Instructions FUN 04 5 - 1 Decrem ent Expr ession Input − [ - 1 A ] − Output Func t io n W hen the input is ON , the data of A is decreased by 1 and stored in A . Execu tion condition Input Operat i on Out put OF F No execu tion OF F ON Ex ecuti on ON Operan d Nam e Dev i ce Regist er Constant Index X[...]

  • Página 158

    6F3B0253 156 T1-16S Us er’s M anual 7. Instructions FUN 04 8 AND AND Expr ession Input − [ A AND B → C ] − Output Func t io n W hen the input is ON, thi s instruction finds logical AND of A and B , and stores the resul t in C . Execu tion condition Input Operat i on Out put OF F No execu tion OF F ON Ex ecuti on ON Operan d Nam e Dev i ce R[...]

  • Página 159

    6F3B0253 Basic Hardware and F unction 157 7. Instructions FUN 050 OR OR Expr ession Input − [ A OR B → C ] − Output Func t io n W hen the input is ON, thi s instruction finds logical OR of A and B , and stores the res ult in C . Execu tion condition Input Operat i on Out put OF F No execu tion OF F ON Ex ecuti on ON Operan d Nam e Dev i ce Re[...]

  • Página 160

    6F3B0253 158 T1-16S Us er’s M anual 7. Instructions FUN 05 2 EOR E xclusive OR Expr ession Input − [ A E OR B → C ] − Output Func t io n W hen the input is ON , this i nstruction finds exclusive OR of A and B , and stor es the res ult in C . Execu tion condition Input Operat i on Out put OF F No execu tion OF F ON Ex ecuti on ON Operan d Na[...]

  • Página 161

    6F3B0253 Basic Hardware and F unction 159 7. Instructions FUN 056 MAV E M oving average Expr ession Input − [ A MAVE ( n ) B → C ] − Output Func t io n W hen the input is ON , this instruction calculates the aver age value of the latest n scan ’s r egis ter A data, and stor es it in C . The allowable ra n g e of n is 1 to 64. Thi s instruct[...]

  • Página 162

    6F3B0253 160 T1-16S Us er’s M anual 7. Instructions FUN 06 1 DFL Digital Filter Expr ession Input − [ A DF L B → C ] − Output Func t io n W hen the input is ON, this instruction calculates the following formula to perform di gital f ilter ing for input data A by fil ter c onstant by B , and stores the result in C . () yF L x F L y nn n =−[...]

  • Página 163

    6F3B0253 Basic Hardware and F unction 161 7. Instructions FUN 062 H T OA Hex to ASC II conversion Expr ession Input − [ A HT OA ( n ) B ] − Output Func t io n W hen the input i s ON, the hexadec imal data of n reg isters st arting w ith A is conv erted into ASCI I char acters and stor ed in B and a fter. The upper most digit of source A is stor[...]

  • Página 164

    6F3B0253 162 T1-16S Us er’s M anual 7. Instructions FUN 063 A TOH A S CII to Hex conversion Expr ession Input − [ A ATOH ( n ) B ] − Output Func t io n W hen the input is ON , the ASCI I char acters stored in n reg iste rs star ting wit h A is conver ted into hexadecim al data and stored in B and after. The lower byte of source A is st ored a[...]

  • Página 165

    6F3B0253 Basic Hardware and F unction 163 7. Instructions FUN 0 64 TEST Bit tes t Expr ession Input − [ A TEST B ] − Output Func t io n W hen the input is ON, thi s instruction finds logical AND of A and B . Then if the result is not 0, sets the output to ON. Execu tion condition Input Operat i on Out put OF F No execu tion OF F ON Exec ut i on[...]

  • Página 166

    6F3B0253 164 T1-16S Us er’s M anual 7. Instructions FUN 06 8 SHR1 1 bit shift ri ght Expr ession Input − [ SHR1 A ] − Output Func t io n W hen the input is ON , the data of regist er A is shi f ted 1 bit to t he right (LSB di rectio n). 0 is st ored in the left most bi t (M SB). The pushed out bit state is stored in th e ca rry fl ag (CF = S0[...]

  • Página 167

    6F3B0253 Basic Hardware and F unction 165 7. Instructions FUN 06 9 SHL1 1 bit shift left Expr ession Input − [ SHL1 A ] − Output Func t io n W hen the input is ON , the data of regist er A is shifted 1 bit to the left (MSB d irect ion ). 0 i s stored i n the ri ght most bi t (LSB). T he pushed out bit state is stored in the carr y fla g (CF = S[...]

  • Página 168

    6F3B0253 166 T1-16S Us er’s M anual 7. Instructions FUN 07 0 SHR n bit shift ri ght Expr ession Input − [ A SHR n → B ] − Output Func t io n W hen the input is ON , the data of regist er A is shif ted n bits to the right ( LSB direction) including the car ry flag ( CF = S050), and s tored i n B . 0 is stored in upper n bits. Af ter the oper[...]

  • Página 169

    6F3B0253 Basic Hardware and F unction 167 7. Instructions FUN 07 1 SHL n bit shift left Expr ession Input − [ A SHL n → B ] − Output Func t io n W hen the input is ON , the data of regist er A is shif ted n bits to the left (M SB direction) including the car ry flag ( CF = S050), and s tored i n B . 0 is stored in lowe r n bits. After the ope[...]

  • Página 170

    6F3B0253 168 T1-16S Us er’s M anual 7. Instructions FUN 074 S R Shi ft register Expr ession Data i nput − D SR Q − Output Shi f t i nput − S ( n ) Enabl e i nput − E A Func t io n W h ile the enable input is ON, t his instru ction sh if ts t he data of the bit table , size n st arting wi th A , 1 bit to the left (upper address direct ion)[...]

  • Página 171

    6F3B0253 Basic Hardware and F unction 169 7. Instructions The f ig u re below s hows a n operation example. (W hen X 009 is c hanged fro m OFF to ON) CF R11F R11E R11D R11C R103 R102 R101 R 100 X008 1001 0011 0 1 0 01 0110 R011 i s turned OF F Note • W hen the shift input is ON, the shi f t operation is performed eve ry scan . Use a tr an sitiona[...]

  • Página 172

    6F3B0253 170 T1-16S Us er’s M anual 7. Instructions FUN 075 DS R Bi-directional shift register Expr ession Data i nput − D DS R Q − Output Shi f t i nput − S ( n ) Enabl e i nput − E Dir ect ion i nput − L A Func t io n W h ile the enable input (E ) i s ON, t his inst ructio n shif t s the data of the bit table, size n st arting wi th A[...]

  • Página 173

    6F3B0253 Basic Hardware and F unction 171 7. Instructions 9 devices s tart ing with R200 (R200 to R208) is sp e cif ied as a s hift r e gister. W hen R010 i s OFF , the data of the shift registe r is reset to 0. (R200 to R208 are reset t o OFF) The car ry f lag (C F = S050) i s als o reset to OF F. W hile R010 i s ON the follow ing opera tion is en[...]

  • Página 174

    6F3B0253 172 T1-16S Us er’s M anual 7. Instructions FUN 078 RT R1 1 bit rotate right Expr ession Input − [ RT R1 A ] − Output Func t io n W hen the input is ON , the data of regist er A i s rotated 1 bit to th e right (LSB dir ection) . The pushed out bit st ate is stored in the left most bit ( MSB) and in the ca rry flag (C F = S 050). A ft [...]

  • Página 175

    6F3B0253 Basic Hardware and F unction 173 7. Instructions FUN 079 RT L1 1 bit rotate left Expr ession Input − [ RT L1 A ] − Output Func t io n W hen the input is ON , the data of regist er A i s rotated 1 bit to the left ( MSB dir ection) . The pushed out bit st ate is stored in th e right most bit (LS B) and in the ca rry flag ( CF = S 050). A[...]

  • Página 176

    6F3B0253 174 T1-16S Us er’s M anual 7. Instructions FUN 080 R TR n bit rotate right Expr ession Input − [ A RTR n → B ] − Output Func t io n W hen the input is ON , the data of regist er A is rotated n bi ts to the ri ght (LSB direction), and stored in B . After the operat ion, if the right most bi t (LS B) is ON, the outpu t is tur ned ON.[...]

  • Página 177

    6F3B0253 Basic Hardware and F unction 175 7. Instructions FUN 081 R TL n b it rotate left Expr ession Input − [ A RT L n → B ] − Output Func t io n W hen the input is ON , the data of regist er A is rotated n bi ts to the left (M SB direction), and stored in B . After the operat ion, if the le ft most b it ( MSB) is ON, the outp ut is t ur ne[...]

  • Página 178

    6F3B0253 176 T1-16S Us er’s M anual 7. Instructions FUN 090 MPX M ultipl exer Expr ession Input − [ A MP X ( n ) B → C ] − Output Func t io n W hen the input i s ON, the data of the register w hich is designated by B in the table, size n starting with A , is tr ansferred to C . Execu tion condition Input Operat i on Out put OF F No execu ti[...]

  • Página 179

    6F3B0253 Basic Hardware and F unction 177 7. Instructions FUN 091 DP X D emul tiplexer Expr ession Input − [ A DPX ( n ) B → C ] − Output Func t io n W hen the input is ON , the data of A is transferred to the register which is designated by B in the table, si ze n st arting wi th C . Execu tion condition Input Operat i on Out put OF F No exe[...]

  • Página 180

    6F3B0253 178 T1-16S Us er’s M anual 7. Instructions FUN 09 6 > Greater than Expr ession Input − [ A > B ] − Output Func t io n W hen the input is ON , the data of A and the data of B are com pared, and i f A is greater than B , the output is tur ned ON. Execu tion condition Input Operat i on Out put OF F No execu tion OF F ON Ex ecuti o[...]

  • Página 181

    6F3B0253 Basic Hardware and F unction 179 7. Instructions FUN 09 7 >= Greater than or equal Expr ession Input − [ A >= B ] − Output Func t io n W hen the input is ON , the data of A and the data of B are com pared, and i f A is greater than or equal to B , the output is turned ON. Execu tion condition Input Operat i on Out put OF F No exe[...]

  • Página 182

    6F3B0253 180 T1-16S Us er’s M anual 7. Instructions FUN 09 8 = Equal Expr ession Input − [ A = B ] − Output Func t io n W hen the input is ON , the data of A and the data of B are com pared, and i f A is equal to B , the output is tur ned ON. Execu tion condition Input Operat i on Out put OF F No execu tion OF F ON Ex ecuti on A = B ON A ≠ [...]

  • Página 183

    6F3B0253 Basic Hardware and F unction 181 7. Instructions FUN 09 9 <> Not equal Expr ession Input − [ A <> B ] − Output Func t io n W hen the input is ON , the data of A and the data of B are com pared, and i f A is not equal to B , the output is tur ned ON. Execu tion condition Input Operat i on Out put OF F No execu tion OF F ON E[...]

  • Página 184

    6F3B0253 182 T1-16S Us er’s M anual 7. Instructions FUN 10 0 < Less than Expr ession Input − [ A < B ] − Output Func t io n W hen the input is ON , the data of A and the data of B are com pared, and i f A is le s s than B , the output is tur ned ON. Execu tion condition Input Operat i on Out put OF F No execu tion OF F ON Ex ecuti on A [...]

  • Página 185

    6F3B0253 Basic Hardware and F unction 183 7. Instructions FUN 10 1 <= Less than or equal Expr ession Input − [ A <= B ] − Output Func t io n W hen the input is ON , the data of A and the data of B are com pared, and i f A is less t han or equal to B , the output is turned ON. Execu tion condition Input Operat i on Out put OF F No execu ti[...]

  • Página 186

    6F3B0253 184 T1-16S Us er’s M anual 7. Instructions FUN 10 2 D > Double-word greater than Expr ession Input − [ A+ 1 ⋅ A D > B+ 1 ⋅ B ] − Output Func t io n W hen the input is ON , the double- word dat a of A+1 ⋅ A and B+1 ⋅ B are c ompar ed, and if A+1 ⋅ A is greater than B+1 ⋅ B , the output i s turned ON. Execu tion condi[...]

  • Página 187

    6F3B0253 Basic Hardware and F unction 185 7. Instructions FUN 10 3 D >= Double-word greater than or equal Expr ession Input − [ A+ 1 ⋅ A D >= B+ 1 ⋅ B ] − Output Func t io n W hen the input is ON , the double- word dat a of A+1 ⋅ A and B+1 ⋅ B are c ompar ed, and if A+1 ⋅ A is greater than or equal t o B+1 ⋅ B , the output is [...]

  • Página 188

    6F3B0253 186 T1-16S Us er’s M anual 7. Instructions FUN 10 4 D = Double-word equal Expr ession Input − [ A+ 1 ⋅ A D = B+ 1 ⋅ B ] − Output Func t io n W hen the input is ON , the double- word dat a of A+1 ⋅ A and B+1 ⋅ B are c ompar ed, and if A+1 ⋅ A is equal to B+1 ⋅ B , the output is turned ON. Execu tion condition Input Operat [...]

  • Página 189

    6F3B0253 Basic Hardware and F unction 187 7. Instructions FUN 10 5 D <> Double-word not equal Expr ession Input − [ A+ 1 ⋅ A D <> B+ 1 ⋅ B ] − Output Func t io n W hen the input is ON , the double- word dat a of A+1 ⋅ A and B+1 ⋅ B are c ompar ed, and if A+1 ⋅ A is not equal to B+1 ⋅ B , the output is turned ON. Execu ti[...]

  • Página 190

    6F3B0253 188 T1-16S Us er’s M anual 7. Instructions FUN 10 6 D < Double-word less than Expr ession Input − [ A+ 1 ⋅ A D < B+ 1 ⋅ B ] − Output Func t io n W hen the input is ON , the double- word dat a of A+1 ⋅ A and B+1 ⋅ B are c ompar ed, and if A+1 ⋅ A is less than B+1 ⋅ B , the output is turned ON. Execu tion condition In[...]

  • Página 191

    6F3B0253 Basic Hardware and F unction 189 7. Instructions FUN 10 7 D <= Double-word less than or equal Expr ession Input − [ A+ 1 ⋅ A D <= B+ 1 ⋅ B ] − Output Func t io n W hen the input is ON , the double- word dat a of A+1 ⋅ A and B+1 ⋅ B are c ompar ed, and if A+1 ⋅ A is less than or equal to B+1 ⋅ B , the output is turned [...]

  • Página 192

    6F3B0253 190 T1-16S Us er’s M anual 7. Instructions FUN 10 8 U > Unsigned greater than Expr ession Input − [ A U > B ] − Output Func t io n W hen the input is ON , the data of A and the data of B are com pared, and i f A is greater than B , the output is tur ned ON. Execu tion condition Input Operat i on Out put OF F No execu tion OF F [...]

  • Página 193

    6F3B0253 Basic Hardware and F unction 191 7. Instructions FUN 10 9 U >= Unsigned greater than or equal Expr ession Input − [ A >= B ] − Output Func t io n W hen the input is ON , the data of A and the data of B are com pared, and i f A is greater than or equal to B , the output is turned ON. Execu tion condition Input Operat i on Out put [...]

  • Página 194

    6F3B0253 192 T1-16S Us er’s M anual 7. Instructions FUN 11 0 U = Unsigned equal Expr ession Input − [ A U = B ] − Output Func t io n W hen the input is ON , the data of A and the data of B are com pared, and i f A is equal to B , the output is tur ned ON. Execu tion condition Input Operat i on Out put OF F No execu tion OF F ON Ex ecuti on A [...]

  • Página 195

    6F3B0253 Basic Hardware and F unction 193 7. Instructions FUN 11 1 U <> Unsigned not equal Expr ession Input − [ A U <> B ] − Output Func t io n W hen the input is ON , the data of A and the data of B are com pared, and i f A is not equal to B , the output is tur ned ON. Execu tion condition Input Operat i on Out put OF F No execu t[...]

  • Página 196

    6F3B0253 194 T1-16S Us er’s M anual 7. Instructions FUN 11 2 U < Unsigned less than Expr ession Input − [ A U < B ] − Output Func t io n W hen the input is ON , the data of A and the data of B are com pared, and i f A is le s s than B , the output is tur ned ON. Execu tion condition Input Operat i on Out put OF F No execu tion OF F ON E[...]

  • Página 197

    6F3B0253 Basic Hardware and F unction 195 7. Instructions FUN 11 3 U <= Unsigned less than or equal Expr ession Input − [ A U <= B ] − Output Func t io n W hen the input is ON , the data of A and the data of B are com pared, and i f A is less t han or equal to B , the output is turned ON. Execu tion condition Input Operat i on Out put OF [...]

  • Página 198

    6F3B0253 196 T1-16S Us er’s M anual 7. Instructions FUN 114 SET Device/register set Expr ession Input − [ SET A ] − Output Func t io n W hen the input i s ON, the device A is set to ON i f A i s a devic e, or the data HFFFF is stored i n the regi ster A if A is a register. Execu tion condition Input Operat i on Out put OF F No execu tion OF F[...]

  • Página 199

    6F3B0253 Basic Hardware and F unction 197 7. Instructions FUN 115 RS T Devi ce/register reset Expr ession Input − [ RST A ] − Output Func t io n W hen the input i s ON, the device A i s reset to OFF if A is a devi ce, or the data 0 is stored in the regi ster A if A is a register. Execu tion condition Input Operat i on Out put OF F No execu tion[...]

  • Página 200

    6F3B0253 198 T1-16S Us er’s M anual 7. Instructions FUN 118 SE TC S et carry Expr ession Input − [ SET C ] − Output Func t io n W hen the input is ON , the carr y flag (CF = S050) is set to ON. Execu tion condition Input Operat i on Out put CF OF F No execu tion OF F − ON Ex ecuti on ON Set Operan d No oper and is require d. Exam ple W hen [...]

  • Página 201

    6F3B0253 Basic Hardware and F unction 199 7. Instructions FUN 11 9 RST C Reset carr y Expr ession Input − [ RST C ] − Output Func t io n W hen the input is ON , the carr y flag (C F = S050) i s res et to OFF. Execu tion condition Input Operat i on Out put CF OF F No execu tion OF F − ON Ex ecuti on ON Reset Operan d No oper and is require d. [...]

  • Página 202

    6F3B0253 200 T1-16S Us er’s M anual 7. Instructions FUN 120 E N C Encode Expr ession Input − [ A ENC ( n ) B ] − Output Func t io n W hen the input is ON , this instruction finds the bi t position of the most signific ant ON bit i n the b it table, si ze 2 n bits s tarting w ith 0 bi t (L S B ) of A , and stores it in B . Execu tion condition[...]

  • Página 203

    6F3B0253 Basic Hardware and F unction 201 7. Instructions FUN 121 DE C Decode Expr ession Input − [ A DEC ( n ) B ] − Output Func t io n W hen the input is ON , this instruction sets the bit posi tion w hich i s desi gnated by lower n bits of A to ON i n the bit tab le, si ze 2 n bits s tarting w it h 0 bi t (L S B ) of B , and resets al l othe[...]

  • Página 204

    6F3B0253 202 T1-16S Us er’s M anual 7. Instructions FUN 122 B C Bi t count Expr ession Input − [ A BC B ] − Output Func t io n W hen the input is ON , this instruction counts the number of ON (1) bi ts of A , and stor es the r esult in B . Execu tion condition Input Operat i on Out put OF F No execu tion OF F ON Ex ecuti on ON Operan d Nam e [...]

  • Página 205

    6F3B0253 Basic Hardware and F unction 203 7. Instructions FUN 128 CA LL S ubrouti ne call Expr ession Input − [ CALL N. n ] − Output Func t io n W hen the input is ON , this instruction calls the subroutine number n . Execu tion condition Input Operat i on Out put OF F No execu tion OF F ON Ex ecuti on ON Operan d Nam e Dev i ce Regist er Const[...]

  • Página 206

    6F3B0253 204 T1-16S Us er’s M anual 7. Instructions FUN 129 RE T S ubroutine return Expr ession −− [ RET ] − Func t io n Thi s instruction indicates the end of a subrout ine. When program executio n i s reached t his instr uction, i t is returned to the o riginal CAL L in st ructi on. Execu tion condition Input Operat i on Out put - E[...]

  • Página 207

    6F3B0253 Basic Hardware and F unction 205 7. Instructions FUN 132 FOR FOR (FOR-NE X T loop) Expr ession Input − [ FOR n ] − Output Func t io n W hen the input is ON , the program segment betw een FOR and NEXT is executed n times repeatedl y in a s can. W hen the input is OF F, the r epetition i s not per f orm ed. (the segm ent is executed once[...]

  • Página 208

    6F3B0253 206 T1-16S Us er’s M anual 7. Instructions FUN 133 N E XT NE XT (FOR-NE XT loop) Expr ession Input − [ NEX T ] − Output Func t io n This instruction configures a FOR-NEXT loop. I f the input is OFF, T he repeti tion is forcibl y br oken. and the program execu tion is moved to the next ins tructi on. Execu tion condition Input Operat [...]

  • Página 209

    6F3B0253 Basic Hardware and F unction 207 7. Instructions FUN 137 S UB R S ubroutine entr y Expr ession − [ SUBR ( n ) ] −− Func t io n Thi s instruction indicates the beggi ng of a subroutine. Execu tion condition Input Operat i on Out put - Ex ecut i on - Operan d Nam e Dev i ce Regist er Constant Index X Y R S T . C . X WY WR WS W T [...]

  • Página 210

    6F3B0253 208 T1-16S Us er’s M anual 7. Instructions FUN 140 EI Enable interrupt Expr ession Input − [ EI ] − Output Func t io n W hen the input is ON , this instruction enables the execution of us er designat ed interrupt operation, i.e. ti mer interr upt progr am and I /O interrupt pr ogram s. Execu tion condition Input Operat i on Out put O[...]

  • Página 211

    6F3B0253 Basic Hardware and F unction 209 7. Instructions FUN 141 D I Di sable interrupt Expr ession Input − [ DI ] − Output Func t io n W hen the input is ON , this instruction disabl es the execut ion of user designated int errupt operation, i.e. ti mer interr upt progr am and I /O interrupt pr ogram s. Execu tion condition Input Operat i on [...]

  • Página 212

    6F3B0253 210 T1-16S Us er’s M anual 7. Instructions FUN 142 IRET Interrupt return Expr ession −− [ IRET ] − Func t io n Thi s instruction indicates the end of an interrupt program. When progr am executi on reaches t his inst ructi on, it r eturns to the o riginal l ocati on of the main prog ram (or sub routine). Execu tion condition I[...]

  • Página 213

    6F3B0253 Basic Hardware and F unction 211 7. Instructions FUN 143 W DT W atchdog tim er reset Expr ession Input − [ W DT n ] − Output Func t io n W hen the input i s ON, thi s instruction extend the scan tim e over detection ti me by 200 ms. Nor mall y, T1/T1S detec ts the sc an time- over if a scan i s not finished w ithi n 200 m s. This in st[...]

  • Página 214

    6F3B0253 212 T1-16S Us er’s M anual 7. Instructions FUN 144 ST IZ Step sequence i nitial ize Expr ession Input − [ STIZ ( n ) A ] − Output Func t io n W hen the input is ON , n de vices star ting wit h A are reset to OF F, and A is set to ON. Thi s instruction is used to initialize a s eries of step sequence. T he step sequenc e is useful to [...]

  • Página 215

    6F3B0253 Basic Hardware and F unction 213 7. Instructions FUN 145 ST IN Step sequence input Expr ession Input − [ STIN A ] − Output Func t io n W hen the input i s ON and the device A is ON, the output i s set to ON. Execu tion condition Input Operat i on Out put OF F No execu tion OF F ON W hen A is ON ON W hen A i s OFF OFF Operan d Nam e Dev[...]

  • Página 216

    6F3B0253 214 T1-16S Us er’s M anual 7. Instructions FUN 146 ST OT St ep sequence output Expr ession Input − [ STOT A ] − Func t io n W hen the input i s ON, the device A is set to ON and the devices o f STI N instructions on the same rung are reset to OFF. Execu tion condition Input Operat i on Out put OF F No execu tion - ON Ex ecuti on -[...]

  • Página 217

    6F3B0253 Basic Hardware and F unction 215 7. Instructions FUN 14 7 F/F Flip- flop Expr ession Set i nput − S F/F Q − Output Reset input − R A Func t io n W hen the set input i s ON, the device A is set to ON . W hen the reset input i s ON, the device A is reset to OF F. W hen both the set and reset inputs are OFF, th e de vice A remains the s[...]

  • Página 218

    6F3B0253 216 T1-16S Us er’s M anual 7. Instructions FUN 149 U/ D Up-down counter Expr ession Dir ect ion i nput − U U/ D Q − Output Count i nput − C Enabl e i nput − E A Func t io n W h ile the enable input is ON, t his instru ction c ounts the number o f the count input changes from OFF to ON. The count di rection ( up count or dow n cou[...]

  • Página 219

    6F3B0253 Basic Hardware and F unction 217 7. Instructions FUN 154 CLND Set calendar Expr ession Input − [ A CLND ] − Output Func t io n W hen the input i s ON, the b uilt- in clock/cal endar is s e t t o th e d a te and time specified by 6 reg isters star ting wi th A . I f an invali d data is cont ained in the r egisters, the operat ion is not[...]

  • Página 220

    6F3B0253 218 T1-16S Us er’s M anual 7. Instructions FUN 155 CLDS Cal endar operation Expr ession Input − [ A CLDS B ] − Output Func t io n W hen the input is ON , this instruction subtracts the date and t ime stored in 6 r egisters st arting with A from the current date and t ime, and stores the res ult i n 6 regi s ters sta r t in g with B .[...]

  • Página 221

    6F3B0253 Basic Hardware and F unction 219 7. Instructions FUN 156 P ID3 Pre-deriv ative real P ID Expr ession I nput − [ A PID3 B → C ] − Output Func t io n Performs PID (Propor tional , I ntegral, D er ivative) control w hich is a fundamental method of feed- ba c k c o n tr ol. (Pre-deriva tiv e real PID a l gori t hm) This PID3 in st r u ct[...]

  • Página 222

    6F3B0253 220 T1-16S Us er’s M anual 7. Instructions Con trol block di agram 1 T I ⋅ s Diff erenti al limi t D er i va t i ve Pr op orti on al Integr al Diff erent ial ∆ MV n ( η = 0.1) MV S: Veloc ity → Pos iti on MV n = MV n-1 ± ∆ MV n H/L: U pper / lower limit DMV: D ifferential limit MVC n MV n Ma nual m ode Cascade mode Auto mode Di[...]

  • Página 223

    6F3B0253 Basic Hardware and F unction 221 7. Instructions PID al gor it hm : ∆∆ ∆ ∆ ∆ MV K P I D MV MV MV nn n n nn n P =⋅ + + =± − () 1 Here, ∆ Pe e eS V P V nn n nn n =− =− − 1 ∆ ∆ I et I r T n n I = ⋅+ ∆ ∆ ∆ ∆ D TP V P V t D D r tT DD D n nn n nn n D D = ⋅− − ⋅ + +⋅ =+ = −− − () . 11 1 01 η ?[...]

  • Página 224

    6F3B0253 222 T1-16S Us er’s M anual 7. Instructions B+8 Init ial s tatu s S TS F C 840 Ini t i al operat i on m ode 00 : M anual mode 01 : Auto mode 10 : Cascade mode 11 : (Res er ve) Direct / rev erse se l ecti on 0 : Direct 1 : Reverse B+9 MV upper l im it M H (-25. 00 to 125.00 %) Data r ange: - 2500 to 12500 B+10 MV lower l i m i t ML ( -25.0[...]

  • Página 225

    6F3B0253 Basic Hardware and F unction 223 7. Instructions • Manual m ode In t his m ode, t he m ani pulat i on v al ue MV can b e directly cont rol led by the input v alue of MMV. MV differential limit f or m anual m ode DMMV i s ef f ec ti v e. MH/ ML and DM V are not effec t i ve. W hen m ode i s changed f r om m anual to a u to o r ca scade, t[...]

  • Página 226

    6F3B0253 224 T1-16S Us er’s M anual 7. Instructions FUN 160 U L Upper lim it Expr ession Input − [ A UL B → C ] − Output Func t io n W hen the input is ON , the fo llowi ng opera tion is executed. (U pper limit for A by B ) If A ≤ B , then C = A . If A > B , then C = B . Execu tion condition Input Operat i on Out put OF F No opera tion[...]

  • Página 227

    6F3B0253 Basic Hardware and F unction 225 7. Instructions FUN 161 LL Lower lim it Expr ession Input − [ A LL B → C ] − Output Func t io n W hen the input is ON , the fo llowi ng opera tion is executed. (Lowe r limit for A by B ) If A ≥ B , then C = A . If A < B , then C = B . Execu tion condition Input Operat i on Out put OF F No opera t[...]

  • Página 228

    6F3B0253 226 T1-16S Us er’s M anual 7. Instructions FUN 162 MAX M aximum val ue Expr ession Input − [ A MAX ( n ) B ] − Output Func t io n W hen the input is ON, this instruction searches for the maximum value from the table of siz e n word s st arting wi th A , and stor es the max imum v alue in B and the pointe r indica t ing the p osition [...]

  • Página 229

    6F3B0253 Basic Hardware and F unction 227 7. Instructions FUN 16 3 MI N M inimum value Expr ession Input − [ A M IN ( n ) B ] − Output Func t io n W hen the input is ON, this instruction searches for the minimum value from the table of siz e n word s st arting wi th A , and stor es the mi nim um v alue in B and the pointer indicat ing the p osi[...]

  • Página 230

    6F3B0253 228 T1-16S Us er’s M anual 7. Instructions FUN 164 AV E A verage value Expr ession Input − [ A AVE ( n ) B ] − Output Func t io n W hen the input is ON , this instruction calculates the aver age value of the data stor ed in the n reg isters s tarting w ith A , and stores the average value in B . The allowable r ange of t he t ab le s[...]

  • Página 231

    6F3B0253 Basic Hardware and F unction 229 7. Instructions FUN 165 FG Function generator Expr ession Input − [ A FG ( n ) B → C ] − Output Func t io n W hen the input is ON , this instruction finds the function value f(x ) for A as x , and stor es it in C . The function f(x ) is defined by the parameters st ored i n 2 × n regist ers st arting[...]

  • Página 232

    6F3B0253 230 T1-16S Us er’s M anual 7. Instructions Pa rame te r ta b le 4 regi ster s for x par ameter s and subsequent 4 regi ster s for cor respondi ng f(x) param eters D0600 -2000 x 1 D0601 -100 x 2 D0602 100 x 3 D0603 2000 x 4 D0604 -1800 y 1 D0605 -300 y 2 D0606 300 y 3 D0607 1800 y 4 The FG instr uction i nterpolator s f( x) value for x ba[...]

  • Página 233

    6F3B0253 Basic Hardware and F unction 231 7. Instructions FUN 18 0 ABS Absolute value Expr ession Input − [ A ABS B ] − Output Func t io n W hen the input is ON , this instruction finds the absol ute value of operand A , and stores it in B . Execu tion condition Input Operat i on Out put OF F No execu tion OF F ON Ex ecuti on ON Operan d Nam e [...]

  • Página 234

    6F3B0253 232 T1-16S Us er’s M anual 7. Instructions FUN 182 NEG 2’s complement Expr ession Input − [ A NEG B ] − Output Func t io n W hen the input is ON , this instruction finds the 2 ’s complement value of A , and stores it in B . Execu tion condition Input Operat i on Out put OF F No execu tion OF F ON Ex ecuti on ON Operan d Nam e Dev[...]

  • Página 235

    6F3B0253 Basic Hardware and F unction 233 7. Instructions FUN 183 DNE G D oubl e-word 2’s complement Expr ession Input − [ A+ 1 ⋅ A DNEG B+ 1 ⋅ B ] − Output Func t io n W hen the input is ON , this instruction finds the 2 ’s complement value of doub le-wo r d data A+1 ⋅ A , and stor es it in B+1 ⋅ B . Execu tion condition Input Oper[...]

  • Página 236

    6F3B0253 234 T1-16S Us er’s M anual 7. Instructions FUN 185 7SEG 7 segment decode Expr ession Input − [ A 7SEG B ] − Output Func t io n W hen the input is ON , this instruction converts the lower 4 bits data of A into the 7 segm ent code, and stor es it in B . The 7 segment c ode is normally used for a num eri c displa y LE D. Execu tion cond[...]

  • Página 237

    6F3B0253 Basic Hardware and F unction 235 7. Instructions Operand A ( lower 4 b i ts) 7 segm ent LED Oper and B ( l ow er 8 b i ts) Di splay H e x B i n a r y c o m p o s i t i o n B 7B 6 B 5B 4B 3 B 2B 1B 0 0 0000 0 0 1 1 1 1 1 1 1 0001 0 0 0 0 0 1 1 0 2 0010 0 1 0 1 1 0 1 1 3 0011 0 1 0 0 1 1 1 1 4 0100 0 1 1 0 0 1 1 0 5 0101 0 1 1 0 1 1 0 1 6 01[...]

  • Página 238

    6F3B0253 236 T1-16S Us er’s M anual 7. Instructions FUN 186 AS C AS CII conversion Expr ession Input − [ A ASC B ] − Output Func t io n W hen the input is ON , this instruction converts the alphanum eric characte rs into the ASCI I c odes, and stor es them in the r egist er tabl e star ting wi th B . (1 6 ch ara ct ers ma ximu m) Execu tion c[...]

  • Página 239

    6F3B0253 Basic Hardware and F unction 237 7. Instructions FUN 188 B IN Bi nary conversion Expr ession Input − [ A B IN B ] − Output Func t io n W hen the input is ON , this instruction converts the 4 digits o f BCD data of A into binar y, and stor es in B . I f any digit of A contains non-BCD code (othe r than H0 through H9), the conve r sion i[...]

  • Página 240

    6F3B0253 238 T1-16S Us er’s M anual 7. Instructions FUN 190 BC D BCD conversion Expr ession Input − [ A BCD B ] − Output Func t io n W hen the input is ON , this instruction converts the binar y data of A into BCD, and stores in B . If the data of A is not in the range of 0 to 9999, the conver sion is not executed and the instructi on error f[...]

  • Página 241

    6F3B0253 Basic Hardware and F unction 239 7. Instructions FUN 23 5 I/O Direct I /O Expr ession Input − [ I/O ( n ) A ] − Output Func t io n W hen the input is ON , this instruction immediately updates the exter nal input (X W) and output (Y W ) re giste rs whi ch are in the r ange o f n re gist ers st arting wi th A . • For XW regist er ... r[...]

  • Página 242

    6F3B0253 240 T1-16S Us er’s M anual 7. Instructions Note • In the T1 -16S, the followi ng regi ster/dev ice r ange is onl y effe ctive for this D irec t I/O i nstr uction. Input on basic u n i t O utput on basic u n i t I/O m odul e X000 - X007 Y020 - Y027 Not ef f ecti v e • The Dir ect I /O inst ructi on can be progr amm ed in the mai n pro[...]

  • Página 243

    6F3B0253 Basic Hardware and F unction 241 7. Instructions FUN 236 XF E R Expanded data transfer Expr ession Input − [ A XFER B → C ] − Output Func t io n W hen the input i s ON, data block t rans fer is p erformed between the source which i s indirect ly designated b y A and A+1 and the dest ina tion which is in dire ctly de si gnated by C an[...]

  • Página 244

    6F3B0253 242 T1-16S Us er’s M anual 7. Instructions CPU regis ter ↔ ↔ ↔ ↔ built-in EEPROM I n the EEPROM , the D regis ters are di vided into pages as foll ows. T1- 16S D0000 Page 1 (32 w ords) D0031 D0032 Page 2 (32 w ords) D0063 D2016 Page 64 (32 w ords) D2047 Exam ple W hen R020 is c hanged from OFF to ON, 10 words o f RA M data (D0700[...]

  • Página 245

    6F3B0253 Basic Hardware and F unction 243 7. Instructions CPU regis ter ↔ ↔ ↔ ↔ T1S RS-485 po rt <Receiv ing> W hen the instruct ion input i s ON, one s et of message ( f rom start c haracter to the tra i ling c ode) which is rec e ive d by t he RS-485 port is read f rom th e r eceiv e bu ffer, and stored i n th e CPU regi sters . The[...]

  • Página 246

    6F3B0253 244 T1-16S Us er’s M anual 7. Instructions <T ra nsmi tt ing > W hen the instruc tion input i s ON , one set of message w hich i s stored in the so urce table (from star t charac ter to the tr ail ing code) is transm itted thr ough the RS-485 p ort . The ex ecution status is s tored i n the status flag. The ins tructi on input m us[...]

  • Página 247

    6F3B0253 Basic Hardware and F unction 245 7. Instructions FUN 236 XFER Expanded data transfer (I nverter connection m ode) Expr ession Input − [ A XFER B → C ] − Output Func t io n This function is prov ided to contr ol T oshiba I nvert ers VF -A7/G7/S9 connec ted on the RS-485 line. W hen the RS-485 p ort operat ion m ode is s e t t o th e I[...]

  • Página 248

    6F3B0253 246 T1-16S Us er’s M anual 7. Instructions Operati on mode des ignatio n ( B+1 ): B+1 O perati on m ode Descri pti on 0 Dat a e xchange mode (Mode 0 ) Cycl i cal l y scans t he connect ed Inv er ters ( Contr ol & Moni t or) (Inv erter com m and: P+F A01&FA00 and R+ FD00&FE07) 1 Moni t or m ode (Mode 1 ) Cycl i cal l y scans t[...]

  • Página 249

    6F3B0253 Basic Hardware and F unction 247 7. Instructions < Data exch ange m ode (Mode 0) > W hen the instruc tion input c omes ON with the operand B+1 is 0, the Data exchange m ode (m ode 0) is sel ected. In thi s mode, t he T1-16S sends the foll owing c ommands to t he In verters star ting from #0 through the I nver ter number speci fied by[...]

  • Página 250

    6F3B0253 248 T1-16S Us er’s M anual 7. Instructions Data tabl e: Regist er Data cont ent s Si gnal di rect i on D2000 #0 Operat in g frequency ← Read D2001 #0 Output ter minal s tatu s ← Read D2002 #0 Frequency reference → Wr i te D2003 #0 Opera tion command → Wr i t e D2004 #1 Operat in g frequency ← Read D2005 #1 Output ter minal s ta[...]

  • Página 251

    6F3B0253 Basic Hardware and F unction 249 7. Instructions < M onitor mode ( Mode 1) > W hen the instruc tion input c omes ON with the operand B+1 is 1, the Monitor m ode (m ode 1) is selecte d. I n this m ode, the T1- 16S sends the follow ing R ead comm ands to the I nvert ers sta rting from #0 through the I nver ter number speci fied by the [...]

  • Página 252

    6F3B0253 250 T1-16S Us er’s M anual 7. Instructions Data tabl e: Regist er Data cont ent s Si gnal di rect i on RW 100 #0 Operat in g frequency ← Read RW 101 #0 Output ter minal s tatus ← Read RW 102 No use RW 103 No use RW 104 #1 Operat in g frequency ← Read RW 105 #1 Output ter minal s tatus ← Read RW 106 No use RW 107 No use RW 176 #19[...]

  • Página 253

    6F3B0253 Basic Hardware and F unction 251 7. Instructions < Read command mode (Mode 2) > W hen the instruc tion input c omes ON with the operand B+1 is 2, the Read command mode (m ode 2) is selected. In thi s mode, the T 1-16S sends the user spe cif ied Read command to the I nverter s pecified by the oper and B , and repeats. Sends t he speci[...]

  • Página 254

    6F3B0253 252 T1-16S Us er’s M anual 7. Instructions < W rite co mmand mode ( Mode 3) > W hen the instruc tion input c omes ON with the operand B+1 is 3, the Write command mode (m ode 3) is selected. In thi s mode, the T 1-16S sends the us er spe cif ied Wr ite command to the I nverter s pecified by the oper and B , and repeats. Sends the sp[...]

  • Página 255

    6F3B0253 Basic Hardware and F unction 253 7. Instructions < Broadcast mode (Mode 4) > W hen the instruc tion input c omes ON with the operand B+1 is 4, the Broadcast mode (mode 4) is selected. In this mode, the T1-16S sends the user sp ecifi ed Write c ommand to all the I nverter s as br oadcast. This mode i s useful to send Run/Stop c ommand[...]

  • Página 256

    6F3B0253 254 T1-16S Us er’s M anual 7. Instructions < Note > (1) The XFER i nstructi on i s not ex ecuted as error in the following cases . In t hese cas es , the i nstructi on error f l ag (ERF = S051) i s set to ON. I f t he ERF i s set to ON once, i t rem ai ns ON unti l resett i ng to OFF by user program . • The RS -485 por t desi gna[...]

  • Página 257

    6F3B0253 Basic Hardware and F unction 255 Section 8 Special I/O Functions 8.1 Special I/O function overv iew, 256 8.2 Vari able input fi lter constant, 260 8.3 Hi gh speed counter, 261 8.4 Interr upt input functi on, 268 8.5 Analog setti ng function, 270 8.6 Pulse output fu nction, 271 8.7 PWM output function, 273[...]

  • Página 258

    6F3B0253 256 T1-16S Us er’s M anual 8. Special I/O Functions 8.1 Special I/O f unction ove rview The T1- 16S supports the spec ial I /O functions as listed below. Func ti on name Funct ion sum m ary Rem arks Vari abl e i nput f i l ter constant I nput f i l ter const ant (O N/ OF F del ay t i m e) c an be set by user pr ogram . T he setti ng rang[...]

  • Página 259

    6F3B0253 Basic Hardware and F unction 257 8. Special I/O Function s Mode setti ng for t he specia l I/O functi ons These functions, except the analog sett ing function, are selected by setting data into SW 16 and S W26 by user pr ogram . These r egist ers wo rk a s mode setting re giste rs for the speci al I /O functions. T he data setting fo r the[...]

  • Página 260

    6F3B0253 258 T1-16S Us er’s M anual 8. Special I/O Functions Note) In the explanat ion below, P-OU T means the pulse output function. F E D C B A 9 8765432 10 S W 2 6 0 0000000 00 Bi t 0 < P -OUT and PW M m as ter f lag > 0: No use 1: Use Bit 1 < P-OU T / PW M s elec tion > 0: PW M 1: P- OUT Bi t 2 < P LS m ode > 0: CW / CCW 1: [...]

  • Página 261

    6F3B0253 Basic Hardware and F unction 259 8. Special I/O Function s The t a b le below summarizes the mode setting data of each functi on. In the table, ‘ − ’ m eans do not care. Va r iable input fil ter c on sta nt SW 16 F E D C B A9 876 543210 Use 1 0 −−−− 00 −− 00 −−−− H i gh speed c ounter SW 16 F E D C B A9 876 543210[...]

  • Página 262

    6F3B0253 260 T1-16S Us er’s M anual 8. Special I/O Functions 8.2 Va riable inp ut filter constant Function The i nput f ilter constant ( ON/OF F del ay tim e) of the leading 8 point s X000 to X007 can be spe cif ied by us er progr am within th e r ange of 0 to 15ms . The defaul t is 10ms. The setting val ue is recognized at the first scan. Theref[...]

  • Página 263

    6F3B0253 Basic Hardware and F unction 261 8. Special I/O Function s 8.3 High speed coun ter 8.3.1 Sin gle phase u p-counter Function W hen the count input is ch a n ge d from OFF to ON, the count v alue is in crea sed b y 1. W hen the count value reac hes the set v alue, the count val ue is r eset to 0, and I /O inter rupt progr am is ac tivated ( [...]

  • Página 264

    6F3B0253 262 T1-16S Us er’s M anual 8. Special I/O Functions Operat io n Count i nput Reset i nput Soft-gate Count val ue I nterrupt Sample program (H1003) I n this ex ample, 4099 ( H1003) is set in S W16. As a result, th e s ingle phase up - counter ( c hannel 1 only) is selected. W hen R010 com es ON, the data 2000 is w ritten into the set valu[...]

  • Página 265

    6F3B0253 Basic Hardware and F unction 263 8. Special I/O Function s 8.3.2 Single ph ase speed-counte r Function This function counts the number o f changes of the count input from OFF to ON du ring the ev ery spec if ie d sa mpling tim e . The count value in a sampl ing ti me is stored in the hold v alue regi ster . Thi s counter opera tion is enab[...]

  • Página 266

    6F3B0253 264 T1-16S Us er’s M anual 8. Special I/O Functions Operat io n Count i nput Sa mp lin g t i me Soft-gate I nternal count val ue Hold va lu e Sample program (H1403) I n this exam ple, 5123 (H 1403) i s set in S W16. As a result, the single phase speed- counter ( c hannel 1 only) is selected. The sam pli ng time i s set as 100ms, because [...]

  • Página 267

    6F3B0253 Basic Hardware and F unction 265 8. Special I/O Function s 8.3.3 Quadratu re bi-pu lse counte r Function Thi s function counts up or down the quadrature bi -pulse (2- phase pulses whose phases are shi f ted 90 ° each othe r). Counts up when phase A p recedes, and counts down w hen phase B precedes. Both ri sing and falling edges of each p[...]

  • Página 268

    6F3B0253 266 T1-16S Us er’s M anual 8. Special I/O Functions Interrupt assignm ent Com pari son value 1 … I /O interr upt program #1 Com pari son value 2 … I /O interr upt program #2 Operat io n Up c ount Dow n count Reset i nput Soft-gate Count val ue I nterrupt 2147483647 Com pari son v alue 1 Com pari son v alue 2 -2147483648 2 1 1 1[...]

  • Página 269

    6F3B0253 Basic Hardware and F unction 267 8. Special I/O Functions Sample program (H0803) I n this ex ample, 2051 ( H0803) is set in S W16. As a result, the quadrat ure bi- pulse counter i s selected. W hen R010 comes ON, the data 150000 is set into the co mparison v alue 1 reg ister (SW 1 9 ⋅ SW 18), and 200000 is set into th e compari so n va l[...]

  • Página 270

    6F3B0253 268 T1-16S Us er’s M anual 8. Special I/O Functions 8. 4 Int erru p t input functi on Function W hen the signal state of the interrupt input is changed from OFF to O N (or ON to OFF) , the corr esponding I /O inter rupt pr ogram is ac tivated im medi ately. Up to 2 interrupt inputs can be used. The inter rupt generation c ondition can be[...]

  • Página 271

    6F3B0253 Basic Hardware and F unction 269 8. Special I/O Function s Sample program Main program (H3045) I /O interr upt progr am #3 Interr upt pr ogram A I /O interr upt progr am #4 Interr upt pr ogram B I n this ex ample, 12357 ( H3045) is set in S W16. As a result, the interrupt input funct ion (2 poi nts, ris ing for both ) i s selected . W hen [...]

  • Página 272

    6F3B0253 270 T1-16S Us er’s M anual 8. Special I/O Functions 8.5 Analog setti ng functio n Function The value of the analog setting adjus ter is converted i nto a digital val ue (0 to 1000) and stor ed in the SW regist er. 2 adjuste rs are provi ded. (V 0 and V1) The SW regis ter data can be used as ti mer presets or any par ameters fo r functio [...]

  • Página 273

    6F3B0253 Basic Hardware and F unction 271 8. Special I/O Function s 8. 6 Pul s e ou t put functi on Function Thi s function is used to output a va riable frequency pul se train. The contr ollable pulse frequency is 50 to 5000 Hz (1 H z uni ts). The output mode can be sel ected eith e r CW /CCW or Pulse/D irection (PL S /DIR ). I n the CW /CCW mode,[...]

  • Página 274

    6F3B0253 272 T1-16S Us er’s M anual 8. Special I/O Functions Operat io n Pulse enable Fr equency sett ing + Fr equency Pulse output - Sample program I n this ex ample, 3 ( H0003) is set in S W26. As a result, th e C W/C C W m ode pulse output function is sele cted. W hen R000 i s ON, the p ulse outpu t is started with the frequency designated by [...]

  • Página 275

    6F3B0253 Basic Hardware and F unction 273 8. Special I/O Function s 8. 7 PWM ou t put functi on Function This f unction is used to output a va riable duty cycle pul se train. The controllable duty cycle is 0 to 100 % (1 % units). ON duty 50% 70% 60% PW M T T T T = Pulse cycle The PW M output i s enabl ed when the pu lse enable flag i s ON . While t[...]

  • Página 276

    6F3B0253 274 T1-16S Us er’s M anual 8. Special I/O Functions Operat io n Pulse enable ON duty set ting ON duty PW M output Sample program I n this exampl e, 1 (H0001) i s set in S W26 and 100 is set in SW28. As a resu lt, 100 Hz PW M output function i s selected. W hen R005 is ON, the PW M output is sta rted with the dut y cycle designated by D02[...]

  • Página 277

    6F3B0253 Basic Hardware and F unction 275 Section 9 Maintenance and Checks 9.1 Prec autions dur ing operation, 276 9.2 Dail y checks, 277 9.3 Periodi c checks, 278 9.4 Mai ntenance pa rts, 279 9.5 Battery, 280[...]

  • Página 278

    6F3B0253 276 T1-16S Us er’s M anual 9. Maintenance and Checks 9. 1 Precau ti on s dur in g ope r at ion W hen the T1-16S is in operati on, you shoul d pay attention to the f ollowing items . (1) Th e programmer cable can be plugged or unpl ugged while t he T1- 16S is in operati on. W hen you try to d o it, do not touch the connector pins. Thi s m[...]

  • Página 279

    6F3B0253 Basic Hardware and F unction 277 9. Maintenance and Checks 9.2 Daily ch ecks To mai ntain the system and to prevent t roubles, check the f ollowing items on daily basi s. It em Check Correcti v e m easures PW R (power) Lit when i nt ernal 5V i s norm al . RUN Li t when opera t ing norm al l y. Stat us LEDs FLT (f aul t ) Not l i t when ope[...]

  • Página 280

    6F3B0253 278 T1-16S Us er’s M anual 9. Maintenance and Checks 9.3 Pe riodic checks Check the T1- 16S based on the f ollowing items e v ery six mo n t h s . Also p erform checks when the operati ng environment is changed. Item C he ck Crite ria Measure the powe r vo l tage at the T 1- 16S’s pow er t er m i nal s. 85 - 132/170 - 264Vac (AC P S) 2[...]

  • Página 281

    6F3B0253 Basic Hardware and F unction 279 9. Maintenance and Checks (Perio dic checks - c onti nued) Item C he ck Crite ria Env i r onm ent Check t hat the tem peratur e, hum i di t y, v ibr at i on, dust, et c. ar e wit hi n the specif ied r ange. Must be w ithi n t he range o f general speci f ic at i on. Check t hat the f unct i ons of t he prog[...]

  • Página 282

    6F3B0253 280 T1-16S Us er’s M anual 9. Maintenance and Checks 9.5 Batter y (1) Ins ta ll I nsert the batte ry by an angle of 45 °. (T urn + s ide into a n upside .) (1) Push the batte ry ho rizonta l d irect ion. (2) Push from upsi de and lock. (2) E jec t Push the center of the tab by a finger or a pen. Then the battery will be unlocked. Rem ov[...]

  • Página 283

    6F3B0253 Basic Hardware and F unction 281 Section 10 Troubleshooti ng 10.1 Troubl eshooting procedure, 282 10.2 Self-di agnostic i tems, 288[...]

  • Página 284

    6F3B0253 282 T1-16S Us er’s M anual 10. Tr oubleshooting 10.1 Troubles hooti ng proce dure I f a trouble occu rs, dete rmine wheth er the cause lie s i n the mec hanical si de or in the control system (PLC) side. A problem may cause a secondary proble m, therefore, t ry to deter mine the cause of tr ouble by cons idering the whole system. I f the[...]

  • Página 285

    6F3B0253 Basic Hardware and F unction 283 10. Troubleshooting 10.1.1 P ower supply ch eck I f the PW R ( power) LED is not lit a fter power on, check the following points. Check the power connect ion Connect ion t erm inal s are correct. The t erm i nal screws ar e no t loose . The t erm i nal bl ock i s i nstal l ed securel y. Corre ct Check the p[...]

  • Página 286

    6F3B0253 284 T1-16S Us er’s M anual 10. Tr oubleshooting 10.1.2 CP U check I f the PW R ( power ) LED i s l it but the RUN LED is not l it, check the foll owing point s. Ch eck th e p o sition of th e If it is no t in R ( RUN) posi ti on, tur n the m ode cont rol sw it ch sw it ch t o R (RUN) posit ion. Check the F LT (f aul t ) LED I f t he FLT [...]

  • Página 287

    6F3B0253 Basic Hardware and F unction 285 10. Troubleshooting 10.1.4 I npu t check If t he program is running but the external input signal is not read normally, check the followi ng points: Is the i nput status LED If not , c hec k t he i nput v ol t age at the changed ON/O F F accor di ng T1-16S’s i nput t er m i nal s. to t he corr esponding i[...]

  • Página 288

    6F3B0253 286 T1-16S Us er’s M anual 10. Tr oubleshooting 10.1.5 Ou tput ch eck I f the output status monitored on t he program ming to ol is n or ma l but the external output device ( load) is not operated normally, check the following points: Is the output s tatus LED changed ON /O FF ac cordi ng No t o the program execu t ion ? Yes Check the v [...]

  • Página 289

    6F3B0253 Basic Hardware and F unction 287 10. Troubleshooting 10.1.6 E nv iron men tal problem I f the f ollowi ng impr oper operations occur i n the controlled system , check possibl e envir onmental factors. (1) If an impr oper oper ation occu rs synchr onously with the opera t ion o f I/O devices: The no ise generated at O N/OFF of the output de[...]

  • Página 290

    6F3B0253 288 T1-16S Us er’s M anual 10. Tr oubleshooting 10.2 Self-diagnostic items If a n error i s detected by the self-diagnostic ch eck of the T1-16S CPU, the error mes sages and the r elated inform ation show n on the following pages w ill b e re cor de d in t h e T1 -1 6 S’s ev e nt his t o ry ta b le . If th e error is se ver e and conti[...]

  • Página 291

    6F3B0253 Basic Hardware and F unction 289 10. Troubleshooting Err or m essage and related infor mat ion Spec i al M eani ng and counter measures Ev ent I nf o 1 Inf o 2 Inf o 3 dev ic e Batt v olt age drop S00F In the power-u p initializ at ion, data inv alidit y of RAM (back-up area) has been detected. If ret enti v e regi sters ar e used, these v[...]

  • Página 292

    6F3B0253 290 T1-16S Us er’s M anual 10. Tr oubleshooting Err or m essage and related infor mat ion Spec i al M eani ng and counter measures Ev ent I nf o 1 Inf o 2 Inf o 3 dev ic e Il l egal inst Program type - block No. Address in t h e bloc k S006 S030 S060 An i l legal instru ct ion has been d etec te d in the progra m . ( Error down) Reload t[...]

  • Página 293

    6F3B0253 Basic Hardware and F unction 291 10. Troubleshooting Err or m essage and related infor mat ion Spec i al M eani ng and counter measures Ev ent I nf o 1 Inf o 2 Inf o 3 dev ic e Operand error Program type - block No. Address in t h e bloc k A r egister /dev i ce which i s not support ed by the T1- 16S i s program m ed. ( E r ror down) Corre[...]

  • Página 294

    6F3B0253 292 T1-16S Us er’s M anual 10. Tr oubleshooting Err or m essage and related infor mat ion Spec i al M eani ng and counter measures Ev ent I nf o 1 Inf o 2 Inf o 3 dev ic e Sys R AM check err Error address Error data Test data S 004 S011 In t he power-u p initiali za t ion, an err or has de t ec t ed b y sys te m R A M r ead/ w r i t e ch[...]

  • Página 295

    6F3B0253 Basic Hardware and F unction 293 Appendix A.1 List of model s and types, 294 A.2 Instructi on index , 295[...]

  • Página 296

    6F3B0253 294 T1-16S Us er’s M anual Appendix A .1 List of models and types • Ba sic unit M odel P ower suppl y Input type RT C/RS -48 5 Type code P art number Y es T1- M DR16SS T DR116S6S 100 – 240Vac No T1-M DR16SC TD R116S6C Y es T1- M DR16SSD T DR116S3S T1- 16S 24Vdc 24Vdc No T1-M DR16SCD T DR 116S3C • I/O module Descr ipti on T ype code[...]

  • Página 297

    6F3B0253 Basic Hardware and F unction 295 Appendix A.2 Ins truc t i on in d e x • In st ruct io n name 1 bi t rotate le f t 173 Ex cl usi v e O R 158 1 bi t rotate r ig ht 172 E x panded data tr an s fer 24 1 1 bi t shi f t le ft 165 F li p- f l op 215 1 bi t shi f t r ig ht 164 F OR 205 2’s com pl em ent 232 For c ed coi l 122 7-segm ent decod[...]

  • Página 298

    6F3B0253 296 T1-16S Us er’s M anual Appendix Si ngl e shot t i m er 131 Speci al m odul e data read 245 Speci al m odul e data wr i te 247 Step sequence i ni ti al i ze 212 Step sequence i nput 213 Step sequence output 214 Subrout i ne cal l 203 Subrout i ne en try 207 Subrout i ne retur n 204 Subtr act ion 144 Subtr act ion wi th car ry 150 Ta b[...]

  • Página 299

    6F3B0253 Basic Hardware and F unction 297 Appendix • Instructi on sym bol ∗ 145 FG 229 U/D 216 + 143 FO R 205 U< 194 +1 154 HTO A 161 U<= 195 +C 149 I /O 239 U<> 193 - 144 I RET 210 U= 192 -1 155 JCR 134 U> 190 -C 150 JCS 134 U> = 191 / 146 LL 225 UL 224 < 182 MAVE 159 W DT 211 <= 183 MAX 226 W RI TE 247 <> 181 MCR[...]

  • Página 300

    6F3B0253 298 T1-16S Us er’s M anual[...]

  • Página 301

    TOSHIBA CORP ORA TION Industr ial E quipm ent Depar tme nt 1-1, Shibaura 1-chome, Minato-ku Tokyo 105-8001, JAPAN Tel: 03-3457-4900 Fax: 03-5444-9268[...]