ProSoft Technology ProLinx S3964R Manual de usuario Pagina 90

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 140
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 89
90 Publication LOGIX-AP010B-EN-P - May 2010
Chapter 3 Software Conversions Instructions
This BFD function is not available in RSLogix 5000 Structured Text but a
similar function called Bit Field Distribute with Target (BFDT) can produce
the same results.
Shift Left
The following example shows how S5 shifts the bits in FW18 by 4 places to the left and how the equivalent functionality is
achieved by using RSLogix software.
S5 RSLogix 5000
FW18 data_word1
FW20 data_word2
S5 Statement List
16 bit fixed point numbers
RSLogix 5000 Structured Text
LFW18
SLW 4
T FW20
BTDT_01.Source := data_word1;
BTDT_01.SourceBit := 0;
BTDT_01.Length := 32;
BTDT_01.DestBit := 4;
BTDT_01.Target := data_word2;
BTDT(BTDT_01);
data_word3 := BTDT_01.Dest;
SIMATIC S5 - Ladder
RSLogix 5000 - Ladder
Vista de pagina 89
1 2 ... 85 86 87 88 89 90 91 92 93 94 95 ... 139 140

Comentarios a estos manuales

Sin comentarios