CODESYS CanUser biblioteka CODESYS.pdf
(
661 KB
)
Pobierz
CanUser.lib, CanUser_Master.lib
User Manual
10/10 MN05010001Z-EN
replaces 08/04 AWB2786-1554GB
CanUser.lib
CanUser_Master.lib
All brand and product names are trademarks or registered
trademarks of the owner concerned.
Emergency On Call Service
Please call your local representative:
http://www.eaton.com/moeller/aftersales
or
Hotline After Sales Service:
+49 (0) 180 5 223822 (de, en)
AfterSalesEGBonn@eaton.com
Original Operating Instructions
The German-language edition of this document is the original
operating manual.
Translation of the original operating manual
All editions of this document other than those in German language
are translations of the original German manual.
1
st
published 2004, edition date 08/04
2
nd
edition 2010, edition date 10/10
© Eaton Industries GmbH, 53105 Bonn
Author: Andreas Lüngen
Production: Thomas Kracht
Translator: David Long
All rights reserved, including those of the translation.
No part of this manual may be reproduced in any form
(printed, photocopy, microfilm or any other process) or processed,
duplicated or distributed by means of electronic systems without
written permission of Eaton Industries GmbH, Bonn.
Subject to alteration without notice.
Library Description CanUser.lib/CanUser_Master.lib
Contents
1.
General/overview ......................................................................................................... 4
1.1
Using the libraries ................................................................................................. 4
1.2
Overview............................................................................................................... 5
1.2.1
CanUser.lib.................................................................................................... 5
1.2.2
CanUser_Master.lib ....................................................................................... 5
CanUser_DiagMaster ...................................................................................................... 5
1.3
Deviations with implementation ............................................................................ 6
1.3.1
XC100............................................................................................................ 6
1.3.2
XC200............................................................................................................ 7
1.3.3
XC600............................................................................................................ 8
1.3.4
XVC100 ......................................................................................................... 9
1.3.5
HPG200......................................................................................................... 9
1.3.6
HPG300......................................................................................................... 9
1.3.7
XVC600 ....................................................................................................... 10
1.4
Required libraries................................................................................................ 11
1.4.1
CanUser.lib.................................................................................................. 11
1.4.2
CanUser_Master.lib ..................................................................................... 12
2 CanUser.lib functions/function blocks ............................................................................ 13
2.1 CanUser_DiagInfo ................................................................................................... 13
2.1.1 Description ........................................................................................................ 13
2.1.2 Inputs of the function blocks ............................................................................. 13
2.1.3 Outputs of the function blocks........................................................................... 14
2.1.4 Example ............................................................................................................ 14
2.2 CanUser_GetVersions............................................................................................. 16
2.2.1 Description ........................................................................................................ 16
2.2.2 Inputs of the function blocks ............................................................................. 16
2.2.3 Outputs of the function blocks........................................................................... 16
2.2.4 Example ............................................................................................................ 16
2.3 CanUser_ReadImage.............................................................................................. 17
2.3.1 Description ........................................................................................................ 17
2.3.2 Inputs of the function blocks ............................................................................. 17
2.3.3 Outputs of the function blocks........................................................................... 18
2.3.4 Example ............................................................................................................ 18
2.4 CanUser_ReadQueue ............................................................................................. 20
2.4.1 Description ........................................................................................................ 20
2.4.2 Inputs of the function blocks ............................................................................. 20
2.4.3 Outputs of the function blocks........................................................................... 21
2.4.4 Example ............................................................................................................ 21
© 2004 by Eaton Industries GmbH 10/10 MN05010001Z-EN
1
Library Description CanUser.lib/CanUser_Master.lib
2.5 CanUser_Write ........................................................................................................ 23
2.5.1 Description ........................................................................................................ 23
2.5.2 Input parameters............................................................................................... 24
2.5.3 Return value...................................................................................................... 24
2.5.4 Example ............................................................................................................ 25
3 CanUser_Master.lib function blocks............................................................................... 26
3.1 CanUser_DiagMaster .............................................................................................. 26
3.1.1 Description ........................................................................................................ 26
3.1.2 Inputs of the function blocks ............................................................................. 26
3.1.3 Outputs of the function blocks........................................................................... 27
3.1.4 Example ............................................................................................................ 27
3.2 CanUser_DiagNode ................................................................................................ 28
3.2.1 Description ........................................................................................................ 28
3.2.2 Inputs of the function blocks ............................................................................. 28
3.2.3 Outputs of the function blocks........................................................................... 29
3.2.4 Example ............................................................................................................ 29
3.3 CanUser_GetEmergency ........................................................................................ 30
3.3.1 Description ........................................................................................................ 30
3.3.2 Inputs of the function blocks ............................................................................. 30
3.3.3 Outputs of the function blocks........................................................................... 31
3.3.4 Example ............................................................................................................ 31
3.4 CanUser_SDOdownload ......................................................................................... 32
3.4.1 Description ........................................................................................................ 32
3.4.2 Inputs of the function blocks ............................................................................. 32
3.4.3 Outputs of the function blocks........................................................................... 33
3.4.4 Example ............................................................................................................ 33
3.5 CanUser_SDOdownloadBlock................................................................................. 34
3.5.1 Description ........................................................................................................ 34
3.5.2 Inputs of the function blocks ............................................................................. 35
3.5.3 Outputs of the function blocks........................................................................... 35
3.5.4 Example ............................................................................................................ 36
3.6 CanUser_SDOdownloadSegment ........................................................................... 37
3.6.1 Description ........................................................................................................ 37
3.6.2 Inputs of the function blocks ............................................................................. 38
3.6.3 Outputs of the function blocks........................................................................... 38
3.6.4 Example ............................................................................................................ 39
3.7 CanUser_SDOupload .............................................................................................. 40
3.7.1 Description ........................................................................................................ 40
3.7.2 Inputs of the function blocks ............................................................................. 40
3.7.3 Outputs of the function blocks........................................................................... 41
3.7.4 Example ............................................................................................................ 41
© 2004 by Eaton Industries GmbH 10/10 MN05010001Z-EN
2
Library Description CanUser.lib/CanUser_Master.lib
3.8 CanUser_SDOuploadBlock ..................................................................................... 42
3.8.1 Description ........................................................................................................ 42
3.8.2 Inputs of the function blocks ............................................................................. 43
3.8.3 Outputs of the function blocks........................................................................... 43
3.8.4 Example ............................................................................................................ 44
3.9 CanUser_SDOuploadSegment................................................................................ 45
3.9.1 Description ........................................................................................................ 45
3.9.2 Inputs of the function blocks ............................................................................. 46
3.9.3 Outputs of the function blocks........................................................................... 46
3.9.4 Example ............................................................................................................ 47
© 2004 by Eaton Industries GmbH 10/10 MN05010001Z-EN
3
Plik z chomika:
Qulakin
Inne pliki z tego folderu:
XC XC-CPU121-2C256K h1578g.pdf
(477 KB)
XC XV MN04802001Z_EN.pdf
(3246 KB)
XC XV-23x-57 h1581g.pdf
(417 KB)
XC-CPU101…(-XV).pdf
(2901 KB)
XC-CPU121-2C256K.pdf
(1423 KB)
Inne foldery tego chomika:
APPL_NOTES
ARCON
ARCON_2011
AWA_INSTRUCTIONS
AWB_MANUALS
Zgłoś jeśli
naruszono regulamin