versadac
1
versadac - Scalable Recorder Firmware
Main Page
Classes
Files
File List
File Members
core
ethernetip
eips_encap.h
1
/*
2
* Copyright (c) 2002-2013 by Real Time Automation, Inc.
3
*
4
* This software is copyrighted by and is the sole property of
5
* Real Time Automation, Inc. (RTA). All rights, title, ownership,
6
* or other interests in the software remain the property of RTA.
7
* This software may only be used in accordance with the corresponding
8
* license agreement. Any unauthorized use, duplication, transmission,
9
* distribution, or disclosure of this software is expressly forbidden.
10
*
11
* This Copyright notice MAY NOT be removed or modified without prior
12
* written consent of RTA.
13
*
14
* RTA reserves the right to modify this software without notice.
15
*
16
* Real Time Automation
17
* 150 S. Sunny Slope Road USA 262.439.4999
18
* Suite 130 www.rtaautomation.com
19
* Brookfield, WI 53005 software@rtaautomation.com
20
*
21
*************************************************************************
22
*
23
* Version Date: 18APR2013
24
* Version: 2.33
25
* Conformed To: EtherNet/IP Protocol Conformance Test A-9 (16-NOV-2011)
26
* Module Name: eips_encap.h
27
* Author: Jamin D. Wendorf (jwendorf@rtaautomation.com)
28
* Language: Ansi C
29
* Compile Options: N/A
30
* Compile defines: N/A
31
* Libraries: N/A
32
* Link Options: N/A
33
*
34
* Description.
35
* =======================================================================
36
* This file contains EtherNet/IP Server encapsulation definitions.
37
*
38
*/
39
40
#ifndef __EIPS_ENCAP_H__
41
#define __EIPS_ENCAP_H__
42
43
#define EIP_ENCAP_PROT_VER 1
44
#define EIP_ENCAP_HEADER_SIZ 24
45
46
/* Encapsulated Commands */
47
#define EIP_ENCAPCMD_NOP 0x0000
48
#define EIP_ENCAPCMD_LISTTARGETS 0x0001
49
#define EIP_ENCAPCMD_LISTSERVICES 0x0004
50
#define EIP_ENCAPCMD_LISTIDENTITY 0x0063
51
#define EIP_ENCAPCMD_LISTINTERFACES 0x0064
52
#define EIP_ENCAPCMD_REGISTERSESSION 0x0065
53
#define EIP_ENCAPCMD_UNREGISTERSESSION 0x0066
54
#define EIP_ENCAPCMD_SENDRRDATA 0x006F
55
#define EIP_ENCAPCMD_SENDUNITDATA 0x0070
56
57
/* Encap Error Codes */
58
#define EIP_ENCAPSTATUSERR_SUCCESS 0x0000
59
#define EIP_ENCAPSTATUSERR_COMMAND 0x0001
60
#define EIP_ENCAPSTATUSERR_MEMORY 0x0002
61
#define EIP_ENCAPSTATUSERR_FORMAT 0x0003
62
#define EIP_ENCAPSTATUSERR_SESSION 0x0064
63
#define EIP_ENCAPSTATUSERR_LENGTH 0x0065
64
#define EIP_ENCAPSTATUSERR_PROTREV 0x0069
65
66
#endif
/* __EIPS_ENCAP_H__ */
Generated on Wed Aug 19 2020 10:33:41 for versadac by
1.8.9.1