Lenze PLC Designer PLC-Designer (R2-x) SoftMotion Manual de usuario Pagina 164

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 290
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 163
L-force | PLC Designer - SoftMotion
The SM_PLCopen.lib library
Additional program organisation units
164 L DMS 5.2 EN 03/2011 TD17
6.4.6 MC_DigitalCamSwitch
Like SMC_CamRegister, this POU represents a cam group. Up to 32 outputs can be
switched. Movements in all directions are permissible.
Inputs/outputs (VAR_IN_OUT)
Axis : AXIS_REF
Shows the axis structure that will switch the tappets.
Switches: MC_CAMSWITCH_REF
Here the switching positions are defined.
The structures are as follows:
The TrackNumber specifies the output number. Several position ranges per output are
possible.
FirstOnPosition specifies the switch-on position of the output, LastOnPosition the switch-
off position.
AxisDirection 0: Output is switched in both directions, 1 only positive direction, 2 only
negative direction.
CamSwitchMode : The value 0 means that the tappets are calculated in a position-
dependent manner, the value 1 switches to the time-based mode. Now only the value of
FirstOnPosition is used, and the output then remains on TRUE for a time set (duration).
TYPE MC_CAMSWITCH_REF :
STRUCT
NoOfSwitches: BYTE;
CamSwitchPtr: POINTER TO MC_CAMSWITCH_TR;
END_STRUCT
END_TYPE
NoOfSwitches specifies the number of switching positions, CamSwitchPtr is a pointer to an array of the type
MC_CAMSWITCH_TR.
TYPE MC_CAMSWITCH_TR :
STRUCT
TrackNumber: INT;
FirstOnPosition: LREAL;
LastOnPosition: LREAL;
AxisDirection: INT;
CamSwitchMode: INT;
Duration: TIME;
END_STRUCT
END_TYPE
Vista de pagina 163
1 2 ... 159 160 161 162 163 164 165 166 167 168 169 ... 289 290

Comentarios a estos manuales

Sin comentarios