Unication Messenger m90 Manual de usuario Pagina 49

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 407
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 48
Hardware Configuration
41
If you select the high-speed counter function that does not include Reset, note that you
must reset it within your Ladder program. This type of counter only counts up.
If you select the high-speed counter function with reset, the counter is capable of counting
up within the positive range, 0-32767. This function uses the next-to-last input as a counter
reset. Since the reset is done via the hardware, the reset is immediate and independent of
the program scan.
Frequency Measurement
This counts the number of pulses over the selected period of time (sample rate): 100 msec,
500 msec, or 1000 msec (1 second), expressing the result in Hertz. For example, 155
pulses counted over 100 msec is equal to 1550Hz; 155 pulses counted over 500 msec is
equal to 310Hz.
Compare Functions and Counter Values
It is probable that a counter value will not be read at the exact moment that a Compare
function in your program is being carried out. This can cause an Equal (=) function to miss
the desired counter value; if the counter does not reach the value required by the Equal
function at the moment the function is carried out, the Equal function cannot register that
the value has been reached. To avoid this problem, use functions Greater Than Or Equal
To () and Lesser Than Or Equal To ().
High-Speed Output: PWM
M90
M90 OS versions 2.00 (B01) and later enable you to use the last on-board output of M90
models T1 and T1-CAN in either:
High Speed Output (HSO) mode
Normal output mode.
Using HSO mode gives you the ability to use an output as a PWM (Pulse Width
Modulation) output. You can also use an output in HSO mode together with stepper motor
controllers.
To use HSO mode:
1. Use System Integer SI 16 HSO Mode to change the operating mode of Output 11
from Normal mode to HSO mode: 0=Normal Mode, 1: HSO Mode.
This should be part of your program’s Power-up tasks.
2. Set the output frequency (F) by storing a value into SI 17 HSO Frequency.
Note that F=1/T, where T is the duration time of a complete cycle.
You can store a value of 0, or a value from 3-1500Hz; other frequency values are not
supported.
3. Set the duty cycle—the ratio of the "on" period of a cycle to the total cycle period—by
storing a value into SI 18 Duty Cycle. This value may be from 0-1000, and is
expressed as a percentage.
If, for example, the constant 750 is stored into SI 18, the duty cycle is equal to 75.0%.
This means that the pulse will hold a positive state during 75.0% of the total cycle.
4. Use SB 16 HSO RUN to control the output; when SB 16 is ON, Output 11 operates.
In the figure below, SI 18 is equal to 250. This results in the duty cycle being 25% of the
total cycle time.
Vista de pagina 48
1 2 ... 44 45 46 47 48 49 50 51 52 53 54 ... 406 407

Comentarios a estos manuales

Sin comentarios