Lenze DDS System bus CAN for PLC Manuale Utente Pagina 149

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 178
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 148
System bus (CAN) for Lenze PLC devices
LenzeCanDrv.lib function library
10.6 L_CanGetRelocCobId − querying the COB−ID range
10−7
L
PLC−Systembus EN 2.0
10.6 L_CanGetRelocCobId − querying the COB−ID range
Function
INT L_CanGetRelocCobId (wDrvNr)
By means of this function the starting identifier of the identifier range (COB−ID range) consisting of
64 objects can be determined for reception operations.
· This function only is relevant for the 9300 Servo PLC!
L_CanGetRelocCobId
wDrvNr
Transfer parameters
Identifier Data type Possible settings Information
wDrvNr Word 10 System bus
Return value
Data type Value Meaning Priority
Double integer
−121 Incorrect driver number (wDrvNr) 1 (high)
−120 Driver not initialised 2 (low)
* If there are several error causes, always the return value associated with the error cause
of the highest priority is returned.
0 Return value for use in Drive PLC, as function only is relevant for 9300 Servo PLC!
192...319 Start identifier of the free range 1
832...1344 Start identifier of the free range 2
1664...1728 Start identifier of the free range 3
1856...1984 Start identifier of the free range 4
Note!
From version 6.x of the 9300 Servo PLC, all free identifiers are provided.
Example
Calling the function in ST:
g_nRelocCobIdLocation := L_CanGetRelocCobId(10);
Vedere la pagina 148
1 2 ... 144 145 146 147 148 149 150 151 152 153 154 ... 177 178

Commenti su questo manuale

Nessun commento