|
The locations from S2:30 to S2:55 are used for interrupts. Interrupts can be used to run programs at fixed time intervals, or when inputs change.
14.4.4 User Function Control Memory
Simple ladder logic functions can complete operations in a single scan of ladder logic. Other functions such as timers and counters will require multiple ladder logic scans to finish. While timers and counters have their own memory for control, a generic type of control memory is defined for other function. This memory contains the bits and words in Figure 14.16. Any given function will only use some of the values. The meaning of partic ular bits and words will be described later when discussing specific functions.
plc memory -14.14
EN -enable bit (bit 15) EU -enable unload (bit 14) DN -done bit (bit 13) EM -empty bit (bit 12) ER -error bit (bit 11) UL -unload bit (bit 10) IN -inhibit bit (bit 9) FD -found bit (bit 8) LEN -length word POS -position word
Figure 14.16 Bits and Words for Control Memory
14.4.5 Integer Memory
Integer memory is 16 bit words that are normally used as 2s compliment numbers that can store data values from -32768 to +32767. When decimal fractions are supplied they are rounded to the nearest number. These values are normally stored in N7:xx by default, but new blocks of integer memory are often created in other locations such as N9:xx. Integer memory can also be used for bits.
14.4.6 Floating Point Memory
Floating point memory is available in newer and higher cost PLCs, it is not available on the Micrologix. BACK | NEXT Easy Access To All Pages 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
|