|
<< Click to Display Table of Contents >>
Converting Constants from EEPROM Memory |
To convert values from constants read from the EEPROM memory of a PLC into time units, when these constants are inside timer blocks, it is recommended to use scale parameters in the configuration of Tags in Elipse E3, in Elipse Power, or in Elipse Water.
As constants are stored in a PLC as 1 (one) byte, the PLC Low and PLC High limits of Elipse SCADA, or Device Low and Device High in Elipse E3, in Elipse Power, or in Elipse Water, must be 0 (zero) and 255, respectively.
System Low and System High limits in Elipse SCADA, or EULow and EUHigh in Elipse E3, in Elipse Power, or in Elipse Water, on the other hand, must be configured according to the next tables, the type of timer block, and the speed of a PLC.
Scale parameters with the speed of a PLC equal to 1/16s
Oscillator |
EULow |
EUHigh |
|---|---|---|
Monostable, Delay, or Pulse in seconds |
0 (zero) |
(1 ÷ 16) × 255 = 15.9375 |
Monostable, Delay, Pulse, or Oscillator in minutes |
0 (zero) |
(1 ÷ 4) × 255 = 63.75 |
Monostable or Delay in hours |
0 (zero) |
(1 ÷ 15) × 255 = 17 |
Oscillator in seconds |
1 ÷ 16 = 0.0625 |
(1 ÷ 16) × 256 = 16 |
Scale parameters with the speed of a PLC equal to 1/32s
Oscillator |
EULow |
EUHigh |
|---|---|---|
Monostable, Delay, or Pulse in seconds |
0 (zero) |
(1 ÷ 32) × 255 = 7.96875 |
Monostable, Delay, Pulse, or Oscillator in minutes |
0 (zero) |
(1 ÷ 8) × 255 = 31.875 |
Monostable or Delay in hours |
0 (zero) |
(1 ÷ 30) × 255 = 8.5 |
Oscillator in seconds |
1 ÷ 32 = 0.03125 |
(1 ÷ 32) × 256 = 8 |
Scale parameters with the speed of a PLC equal to 1/64s
Oscillator |
EULow |
EUHigh |
|---|---|---|
Monostable, Delay, or Pulse in seconds |
0 (zero) |
(1 ÷ 64) × 255 = 3.984375 |
Monostable, Delay, Pulse, or Oscillator in minutes |
0 (zero) |
(1 ÷ 16) × 255 = 15.9375 |
Monostable or Delay in hours |
0 (zero) |
(1 ÷ 60) × 255 = 4.25 |
Oscillator in seconds |
1 ÷ 64 = 0.015625 |
(1 ÷ 64) × 256 = 4 |
Scale parameters with the speed of a PLC equal to 1/256s
Oscillator |
EULow |
EUHigh |
|---|---|---|
Monostable, Delay, or Pulse in seconds |
0 (zero) |
(1 ÷ 256) × 255 = 0.99609375 |
Monostable, Delay, Pulse, or Oscillator in minutes |
0 (zero) |
(1 ÷ 64) × 255 = 3.984375 |
Monostable or Delay in hours |
0 (zero) |
(1 ÷ 240) × 255 = 1.0625 |
Oscillator in seconds |
1 ÷ 256 = 0.00390625 |
(1 ÷ 256) × 256 = 1 |