Connect Tech CPU Manual de servicio Pagina 214

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 650
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 213
Programming
CPU 317T: Technology Functions
5-16 A5E00251798-03
5.9 Symbolic programming with FC 400 "DB2INT"
Use FC 400 "DB2INT" of the "S7-Tech" if you want to use the symbolic name of
the technology block for calling the technology functions.
The figure below shows how FC 400 "DB2INT" is used:
1. Define a variable of the type INT (here: "TECH_DB").
2. Call FC 400 "DB2INT" by means of the "CALL" command.
3. Set the symbolic name of the technology DB at the input parameter Dbref.
4. Set the defined variable value at output parameter RET_VAL.
5. Next, use the "CALL" command (here: FB 401 "MC_Power") to call the
technology function.
6. Set the value of the defined variable at input parameter Axis (for other FB, at
the input parameters Master, Slave, CamSwitch, MeasureInput or CamTable).
Vista de pagina 213
1 2 ... 209 210 211 212 213 214 215 216 217 218 219 ... 649 650

Comentarios a estos manuales

Sin comentarios