snap ethernet-based i/o units protocols and programming guide
snap ethernet-based i/o units protocols and programming guide
snap ethernet-based i/o units protocols and programming guide
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Watchdog (Digital <strong>and</strong> Analog Points)<br />
CHAPTER 2: OVERVIEW OF PROGRAMMING<br />
You can set a watchdog on a SNAP Ethernet-<strong>based</strong> I/O unit to monitor communication with the<br />
PC or other host device. If the host does not write data to the brain for the length of time set in<br />
the watchdog, the I/O unit automatically sets designated digital <strong>and</strong> analog I/O points to the<br />
values you have determined.<br />
A watchdog helps make sure that a communication failure doesn’t result in disaster. If<br />
communication fails between the host <strong>and</strong> the I/O unit controlling a process, the watchdog<br />
makes sure the process is automatically brought to a safe state. For example, a valve could<br />
automatically close to avoid completely emptying a tank.<br />
You can set up a watchdog when configuring digital points or analog points, either in ioManager<br />
or in your program.<br />
Scaling (Analog Points)<br />
You can scale analog input or output points to match your needs. For example, you can scale a<br />
-5 V to +5 V input point to reflect 0% to 100%. Point types may be unipolar or bipolar.<br />
Examples of Unipolar Points Examples of Bipolar Points<br />
4–20 mA analog output -25 mV to +25 mV analog input<br />
0–10 A RMS analog input -10 to +10 VDC analog output<br />
Unipolar <strong>and</strong> bipolar points are scaled in the same way, with the lowest reading reflecting the<br />
low scale <strong>and</strong> the highest reading reflecting the high scale. Here are examples:<br />
Unipolar Input Point Bipolar Input Point<br />
Low scale High scale Low scale High scale<br />
Actual reading 0 mA 20 mA -5 V 0 V +5 V<br />
Scaled for percentage 0% 100% 0% 50% 100%<br />
Scaled for counts* -25,000 +25,000 -25,000 0 +25,000<br />
*Counts for input points always range -25,000 to +25,000.<br />
Unipolar Output Point Bipolar Output Point<br />
Low scale High scale Low scale High scale<br />
Actual reading 4 mA 20 mA -10 VDC 0 VDC +10 VDC<br />
Scaled for percentage 0% 100% 0% 50% 100%<br />
Scaled for counts* 0 4,095 0 2,047.5 4,095<br />
*Counts for output points always range 0–4,095.<br />
To scale an analog point, see the instructions in the ioManager User’s Guide.<br />
SNAP Ethernet-Based I/O Units Protocols <strong>and</strong> Programming Guide 23