simatic s7 siemens ltda. sitrain training for automation and industrial solutions processamento de...
TRANSCRIPT
SIMATIC S7Siemens Ltda.
SITRAIN Training for Automation and Industrial Solutions
Processamento de Valores Analógicos
Transmissorde Nível
Nível Superior
Nível Inferior
SIMATIC S7Siemens Ltda.
SITRAIN Training for Automation and Industrial Solutions
Objetivos
Após completar este capítulo você irá ...
... saber como são processados os valores analógicos
... saber como parametrizar um módulo analógico e como ajustar módulo de tipo de medição (“measuring range module”)
... saber como endereçar um módulo analógico
... saber como interpretar a resolução de um módulo analógico
... saber como avaliar o diagnóstico de um módulo analógico
SIMATIC S7Siemens Ltda.
SITRAIN Training for Automation and Industrial Solutions
Uso dos Módulos AnalógicosProcesso
GrandezaFísica
Sinal analó-gico padrão
Sensor
Transdutor
• Pressão• Temperatura• Vazão• Velocidade• Valor de pH• Viscosidade• etc.
± 500mV± 1V± 5V± 10V± 20mA4...20mAetc.
DAC
PQW ...PQW ...:::PQW ...
Módulo de Saída Analógica
MóduloMR
ADC
Memória deResultado
PIW ...PIW ...:::PIW ...
Módulo de Entrada Analógica CPU
::::::L PIW 304
T PQW 304:
AtuadorAnalógico
GrandezaFísica
......................................
SIMATIC S7Siemens Ltda.
SITRAIN Training for Automation and Industrial Solutions
Módulo de Tipo de Medição (Measuring Range Module)
SIMATIC S7Siemens Ltda.
SITRAIN Training for Automation and Industrial Solutions
Propriedades do Módulo Analógico
Clique Duplo
SIMATIC S7Siemens Ltda.
SITRAIN Training for Automation and Industrial Solutions
Módulos de Entrada AnalógicosSM335 (Entradas) SM331
SIMATIC S7Siemens Ltda.
SITRAIN Training for Automation and Industrial Solutions
Módulos de Saída Analógicos
SM335 (Saídas) SM332
SIMATIC S7Siemens Ltda.
SITRAIN Training for Automation and Industrial Solutions
Representação e Resolução do Valor Medido
* = 0 ou 1
20212223242526272829210211212213214SinalHex.No. de Bits Dec.
0123456789101112131415Bit no. Unidades
Reso-lução
em bits+ sinal
1 *1 ******** * * * * * * *15
80 0000000*128 ********8
40
20
10
8
4
000000
00000
0000
000
00
02
*64
*32
*16
*8
*4
*2
******** *
******** * *
******** * * *
******** * * * *
******** * * * * *
******** * * * * * *
9
10
11
12
13
14
SIMATIC S7Siemens Ltda.
SITRAIN Training for Automation and Industrial Solutions
Representação do Valor Analógico de Diferentes Grandezas
Faixa
Overflow
Overrange
FaixaNormal
Underrange
Underflow
Faixa± 10V
Tensão
>= 11.759
11.7589 :10.0004
10.00 7.50 :-7.5-10.00
- 10.0004 :- 11.759
<= - 11.76
Unidades
32767
32511 :27649
2764820736 :-20736-27648
- 27649 :- 32512
- 32768
Faixa4 .. 20mA
Corrente
>= 22.815
22.810 :20.0005
20.00016.000 : :4.000
3.9995 :1.1852
<= 1.1845
Unidades
32767
32511 :27649
2764820736 : :0
- 1 :- 4864
- 32768
Faixa-200...+850ºC
Temperatura(por ex. Pt100)
Unidades
32767
10000 :8501
8500 : : :-2000
- 2001 :- 2430
- 32768
>= 1000.1
1000.0 :850.1
850.0 : : :-200.0
- 200.1 :- 243.0
<= - 243.1
Faixa0...300Ohm
Resistência
>=352.778
352.767 :300.011
300.000225.000 : :0.000
Valoresnegativos não são possíveis
Unidades
32767
32511 :27649
2764820736 : :0
- 32768
- 1 :- 4864
SIMATIC S7Siemens Ltda.
SITRAIN Training for Automation and Industrial Solutions
Representação para as Saídas Analógicas
Faixa
Overflow
Overrange
FaixaNormal
Underrange
Underflow
Unidades
>=32767
32511 :27649
27648 :0 :- 6912
- 6913 : : :- 27648
- 27649 :- 32512
<=- 32513
Faixas de saída:
Tensão
0
11.7589 :10.0004
10.0000 : 0
0 a 10V 1 a 5V
0
5.8794 :5.0002
5.0000 :1.0000
0
11.7589 :10.0004
10.0000 : 0 : : : : : : :-10.0000
- 10.0004 :- 11.7589
0
± 10V
0 0.9999
0
0
Faixas de saída:
Corrente
0
23.515 :20.0007
20.000 : 0
0 a 20mA 4 a 20mA
0
22.81 :20.005
20.000 :4.000
0
23.515 :20.0007
20.000 : 0 : : : : : : :-20.000
- 20.007 :- 23.515
0
± 20mA
0 3.9995
0
0
SIMATIC S7Siemens Ltda.
SITRAIN Training for Automation and Industrial Solutions
Endereçamento dos Módulos Analógicos no S7-300
IM 256 to270
336 to350
352 to366
368 to382
304 to318
320 to334
272 to286
288 to302
(Send)
Slot 2 3 4 5 6 7 8 9 10 11
384 to398
400 to414
432 to446
448 to462
464 to478
480 to494
496 to510
416 to430
Rack 1 Fonte IM
(Receive)
Fonte
CPU
512 to526
528 to542
544 to558
560 to574
576 to590
592 to606
608 to622
624 to638
Rack 2 IM
(Receive)
Fonte
Rack 3 640to654
656to670
672to686
688 to702
704 to718
720 to734
736 to750
752 to766
IM
(Receive)
Fonte
Rack 0
SIMATIC S7Siemens Ltda.
SITRAIN Training for Automation and Industrial Solutions
Convertendo os Valores da Entrada Analógica
HI_LIM = 500.0
LO_LIM = 0.0
0 27648-27648
bipolar (M 0.0 = ´1´)(O sensor também fornece tensão negativa)
B
27648
HI_LIM = 500.0
LO_LIM = 0.0
0
unipolar (M 0.0 = ´0´)(O sensor fornece apenas tensão positiva)
A
OUT
IN IN
OUT
x x+1
Δ
x x+1
Δ
SIMATIC S7Siemens Ltda.
SITRAIN Training for Automation and Industrial Solutions
Convertendo um Número Real para a Saída Analógica
27648
0
0.0(LO_LIM)
100.0(HI_LIM)
IN
OUT
0.0 (LO_LIM)
100.0(HI_LIM)
IN
OUT
27648
-27648
A
B
unipolar (M 0.0 = ´0´)(O atuador é energizado
somente com valorespositivos)
bipolar (M 0.0 = ´1´)(O atuador é energizado com valores
positivos e negativos)
0
SIMATIC S7Siemens Ltda.
SITRAIN Training for Automation and Industrial Solutions
Exercício: Registrando / Exibindo o Peso das Peças Transportadas
AI2AI1
Peso: 0 ... 500kg
-15V...+15VAI1 AI2 AO1
AO2
V
010
PIW 304
Módulo de Entrada AnalógicaSimulador
CPU
QW 6
Módulo de Saída AnalógicaDisplay BCD
1 2 30
0 ... 10V 0 ... 27648
0 ... 500 kg