Lenze PLC Designer V2.x Manuel d'utilisateur Page 287

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 336
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 286
1.3 EN - 07/2012 L 287
PLC Designer V2.x| Lenze Application Samples
The L_SCB_CANBasic.lib library
L_SCB_GetNodeState - node inspection
17.5 L_SCB_GetNodeState - node inspection
The function reads the status of a CAN node.
Inputs
The function returns the following status via the CAN node:
CanSlave_NotInHardWareConfig :=-2,
CanSlave_ResetNode := -1,
CanSlave_WaitBootUp := 1,
CanSlave_BootUp := 2,
CanSlave_SDO_Config := 3,
CanSlave_SDO_Ready := 4,
CanSlave_Operational := 5,
CanSlave_OptionalDevice := 97,
CanSlave_DeviceIDNotOk := 98,
CanSlave_NodeGuardingError := 99
17.6 L_SCB_GetStateOptional - check with regard to "OptionalDevice"
The function checks the bus status with regard to "OptionalDevice" of a CAN node. If the
node is available, the function returns the value TRUE.
Inputs
Identifier/data type Information/possible settings
byNodeNumber
BYTE
Node number
byMasterNumber
BYTE
Interface number (0...3)
Identifier/data type Information/possible settings
byNodeNumber
BYTE
Node number
byMasterNumber
BYTE
Interface number (0...3)
Vue de la page 286
1 2 ... 282 283 284 285 286 287 288 289 290 291 292 ... 335 336

Commentaires sur ces manuels

Pas de commentaire