Delta D25886 Manual de usuario Pagina 176

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 339
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 175
4. Motion Control Instructions
DVP-MC operating manual 4-135
4.6.52. Real_To_Int
API Controller
179
Real_To_Int
Convert floating number into
16-bit integer
10MC11T
Explanation of the instruction:
Real_To_Int is used for converting 32-bit floating numbers into the signed 16-bit integer. When EN is on,
floating number S value is converted into the signed 16-bit integer which is stored in D device and S value
keeps unchanged.
Explanation of input and output parameter of the instruction:
Parameter
name
Explanation
Data
type
Available
device
EN “Real_To_Int” is executed as “EN” turns on. BOOL
M,I,Q,
Constant
S The floating point to be converted REAL Constant, D
D The 16-bit integer which has been converted INT D
4.6.53. Real_To_DInt
API Controller
180
Real_To_DInt
Convert floating number into
32-bit integer
10MC11T
Explanation of the instruction:
Real_To_DInt is used for converting 32-bit floating number into the signed 32-bit integer.
When EN is on, floating number S value is converted into the signed 32-bit integer which is stored in D device
and S value keeps unchanged.
Explanation of input and output parameter of the instruction:
Parameter
name
Explanation
Data
type
Available
device
EN "Real_To_DInt” is executed as “EN” turns on. BOOL
M,I,Q,
Constant
S The floating point to be converted REAL Constant, D
D The 32-bit integer which has been converted DINT D
Vista de pagina 175
1 2 ... 171 172 173 174 175 176 177 178 179 180 181 ... 338 339

Comentarios a estos manuales

Sin comentarios