Upload
psy-dakstalder
View
217
Download
0
Embed Size (px)
Citation preview
8/17/2019 TIP36 (1)
http://slidepdf.com/reader/full/tip36-1 1/5
8/17/2019 TIP36 (1)
http://slidepdf.com/reader/full/tip36-1 2/5
Network 1 Set the High and Low Temperature Limits
Load special memory bit SM0.1 to process this network in the first scan cycle only. Move the constant 0 to variable memory double word VD198 to clear the variable memory area. Move the constant 16 to variable memory word VW250 to set the 1° C value = 16. Move the constant 4000 to variable memory word VW252 to set the 0° C offset = 4000. Move the constant 300 to variable memory word VW260 to set the high temperature limit = 30° C. Move the constant 200 to variable memory word VW262 to set the low temperature limit = 20° C. Move the constant 20000 to analog output word AQW0 to initialize a 12.5 mA current.
SM0.1
+0 VD196
+16 VW250
+4000 VW252
+300 VW260
+200 VW262
+20000 AQW0
INDUSTRIAL AUTOMATION
PROLIFIC SYSTEM AND TECHNOLOGY PVT.LTD.
8/17/2019 TIP36 (1)
http://slidepdf.com/reader/full/tip36-1 3/5
Network 2 Calculate the Value and Enable Message 1
Load special memory bit SM0.0 to process this network every scan cycle. Move the value in analog input word AIW4 to VW200. Subtract the 0° C offset. Divide the result by the 1° C value. Multiply the remainder by 10. Divide the value in variable double word VD196 (remainder x 10) by the 1° C value. Shift the quotient by 1 decimal point to the left. Move the constant 0 to variable memory word VW198 to clear the variable memory area. Multiply the temperature value by 10. Add the result of temperature value x 10 with the value that is stored as the digit following the decimal point. Transfer the result to VW116 for display on the TD 200. Set variable memory bit V12.7 to enable message 1 for display on the TD 200.
SM0.0
AIW4
VW252 VW200
VW200
VW250 VD198
+10
VW198 VD196
VW198
VW250 VD196
VW198 VW160
+0 VW198
INDUSTRIAL AUTOMATION
PROLIFIC SYSTEM AND TECHNOLOGY PVT.LTD.
8/17/2019 TIP36 (1)
http://slidepdf.com/reader/full/tip36-1 4/5
+10
VW200 VD198
VW160
VW200 VW200
VW200 VW116
V12.7
1
Network 3 If Temperature Exceeds High Limit, Enable Message 2 and Turn Off Furnace
If the temperature value read in variable memory word VW200 exceeds the high temperature limit stored in VW260, set variable memory bit V12.6 to enable message 2 on the TD 200 display, reset output bit Q0.0 to turn off the furnace, and move the high temperature limit value to variable memory word VW136 to display the value as an embedded value in message 2 on the TD 200.
VW200
VW260
V12.6
Q0.0
1
VW260 VW136
INDUSTRIAL AUTOMATION
PROLIFIC SYSTEM AND TECHNOLOGY PVT.LTD.
8/17/2019 TIP36 (1)
http://slidepdf.com/reader/full/tip36-1 5/5
Network 4 If Temperature Drops Below Low Limit, Enable Message 3 and Turn On Furnace
If the temperature value read in variable memory word VW200 drops below the low temperature limit stored in VW262, set variable memory bit V12.5 to enable message 3 on the TD 200 display, set output bit Q0.0 to turn on the furnace, and move the low temperature limit value to variable memory word VW156 to display the value as an embedded value in message 3 on the TD 200.
VW200
VW262
V12.5
Q0.0
1
VW262 VW156
Network 5 Main Program End
End the main program.
INDUSTRIAL AUTOMATION
PROLIFIC SYSTEM AND TECHNOLOGY PVT.LTD.