Lenze PLC Designer V2.x Manual de usuario Pagina 298

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 336
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 297
PLC Designer V2.x| Lenze Application Samples
The L_SCB_CANBasic.lib library
L_SCB_StatusSingleNode - read out bus status
298 L 1.3 EN - 07/2012
17.18 L_SCB_StatusSingleNode - read out bus status
The FB reads out the bus status of a CAN node.
Inputs
Outputs
Note!
Only one of the two FBs (either L_SCB_CanStatus or L_SCB_StatusSingleNode)
can be used at a time!
The simultaneous use of the two FBs causes a time-out (xPDOTimeOut).
Identifier/data type Information/possible settings
tPdoTimeOut
TIME
Monitoring time of the PDO (initialisation: 100 ms)
xAutomaticReset
BOOL
TRUE: Automatic reset of the CAN node active
tResetTime
TIME
Reset time (initialisation: 10 s)
byNodeNumber
BYTE
Node number
byMasterNumber
BYTE
Interface number (0...3)
Identifier/data type Information/possible settings
CanMasterState
SCB_StateCanMaster
Status of the CAN master
CanNodeState
SCB_CanNodeDiagnose
Status of the CAN node
xConfigError
BOOL
TRUE: Configuration error active
xPdoTimeOut
BOOL
Time-out signalling
xCommunicationOK
BOOL
L_SCB_GetNodeDataRxPDO1 - read out data
( 285)
L_SCB_GetNodeDataRxPDO2 - read out data
( 286)
Vista de pagina 297
1 2 ... 293 294 295 296 297 298 299 300 301 302 303 ... 335 336

Comentarios a estos manuales

Sin comentarios