Rockwell-automation GMLC Reference Manual Manual de usuario Pagina 658

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 958
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 657
Publication GMLC-5.2 - November 1999
Motion Controller Functions 621
In our example, to create a bit mask for the group beginning at bit #2 and
ending at bit #5, but excluding bit #3, add together these binary values:
The first input in your group (unless it is masked) has the binary value of
1, no matter what its address number may be.
RIO Group Input
Use the RIO_group_input function to directly specify RIO adapter input
groups in an expression.
You define and select input groups using the Tag Explorer (under RIO
Adapter Input Group) and Tag Window. It is not necessary to use this
function to specify them directly.
Syntax:
RIO_group_input[address, total signals in group, optional mask]
16
th
32,768
Bit Number / Status Binary Value
2 / ON 1 (the first bit in the group)
3 / OFF 0 (masked)
4 / ON 4 (the third bit in the group)
5 / ON 8 (the fourth bit in the group)
Bit Mask = 13
Argument Description
Address The address or signal number (from 0 to 11) of the first signal whose
output is read.
For this bit
in an input group Use this Binary Value
Vista de pagina 657
1 2 ... 653 654 655 656 657 658 659 660 661 662 663 ... 957 958

Comentarios a estos manuales

Sin comentarios