Rockwell-automation 1771-DMC_DMC1_DMC4_DXPS Control Coprocessor User M Manual de usuario Pagina 189

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 312
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 188

Appendix B

B-58
BASIC Example
Important: For BASIC, the data type for the float_val parameter
is REAL.
The BASIC function code is 13.
procedure COPRO
DIM status : INTEGER
DIM floatbuff(4) : BYTE
DIM float_val : REAL
.
.
.
rem * DTL_PUT_FLT
RUN AB_BAS (13, status, float_val, ADDR(floatbuff(1)))
.
.
.
References
DTL_GET_WORD(); DTL_GET_FLT();
DTL_GET_3BCD(); DTL_GET_4BCD();
DTL_PUT_WORD(); DTL_PUT_3BCD(); DTL_PUT_4BCD();
Vista de pagina 188
1 2 ... 184 185 186 187 188 189 190 191 192 193 194 ... 311 312

Comentarios a estos manuales

Sin comentarios