Lenze ETC Motion Control Manual de usuario Pagina 407

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 428
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 406
PLC programming
Library
CANopen functions
8
8.8
8.8.5
l
407
EDSTCXN EN 2.0
8.8.5.10 CopXEnableSync (only ETCxM)
FUNCTION CopXEnableSync: DINT (* Releasing the Sync message *)
VAR_INPUT
CanNum_uc : BYTE;
END_VAR
CanNum_uc Number of the CAN Bus (1 or 2)
Calling this function enables the sending of the CANopen Sync message by
the PLC. The Sync messages will be sent with the cycle time of the PLC task
calling the function.
The function returns the following values:
Return value Meaning
0 Function completed successfully
−1 CAN task is not ready
−3 Wrong CAN number
−4 The function has already been released
−5 The send buffer of the CAN Controller is already assigned
8.8.5.11 CopXDisableSync (only ETCxM)
FUNCTION CopXDisableSync : DINT (* Blocking the sending of Sync messages *)
VAR_INPUT
CanNum_uc : BYTE;
END_VAR
CanNum_uc Number of the CAN Bus (1 or 2)
Calling this function disables the sending of the CANopen Sync message by
the PLC. The blocking of the Sync messages can only take place before the PLC
task which enabled the sending.
The function returns the following values:
Return value Meaning
0 Function completed successfully
−1 CAN task is not ready
−3 Wrong CAN number
−4 The function is not enabled
−5 The sending of Sync messages was released by a different task.
−6 The send buffer of the CAN controller has been assigned a different COB ID.
Declaration
Parameters
Description
Declaration
Parameters
Description
Vista de pagina 406
1 2 ... 402 403 404 405 406 407 408 409 410 411 412 ... 427 428

Comentarios a estos manuales

ama 11 Jan 2025 | 19:35:39

rasha