EasyManua.ls Logo

Allen-Bradley SoftLogix 5800

Allen-Bradley SoftLogix 5800
272 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Rockwell Automation Publication 1789-UM002K-EN-P - January 2015 141
Develop External Routines Chapter 7
STRUCTURE Example
C Declaration
struct MyStruct
{
// Structure with four integers
int n1;
int n2;
int n3;
int sum;
};
extern "C" __declspec(dllexport) int uvUDT(EXT_ROUTINE_CONTROL* pERCtrl,
MyStruct* pMS)
XML Declaration
<Routine>
<EntryPoint>uvUDT</EntryPoint>
<Description>This function accepts a pointer to a UDT</Description>
<Signature>int uvUDT(EXT_ROUTINE_CONTROL* pERCtrl,
struct MyStruct* pMS)</Signature>
</Routine>
Software Declaration

Table of Contents

Related product manuals