EasyManuals Logo

Allen-Bradley SoftLogix 5800 User Manual

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
Page #144 background imageLoading...
Page #144 background image
144 Rockwell Automation Publication 1789-UM002K-EN-P - January 2015
Chapter 7 Develop External Routines
Parameter Type Checking
Return Parameter
Only floating point and integer values can be returned from the external routine.
You cannot pass a pointer to a memory location as the return parameter. This is
enforced to maintain the integrity of the controller. Note that all memory that is
referenced by both the controller and an external routine must have been
allocated by the controller.
Logix Designer Application Data Type Formal Parameter Enumeration Allowed C Language Types (XML)
Literal integer value (such as 121) IntegerValue Char, short, int, long, bool
DINT IntegerAddress
IntegerValue
VoidAddress
Int*, long*
Int, long
Void*
INT IntegerAddress
IntegerValue
VoidAddress
Short*
Short
Void*
SINT IntegerAddress
IntegerValue
VoidAddress
Char*
Char
Void*
Literal floating point values (such as 12.345) FloatingPointValue Float
REAL FloatingPointAddress
FloatingPointValue
VoidAddress
Float*
Float
Void*
BOOL IntegerAddress
IntegerValue
VoidAddress
Bool*
Bool
Void*
Literal BOOL IntegerValue Bool
UDT StructureAddress
VoidAddress
Struct AnyStructT* s
Void*
Arrays ArrayAddress
VoidAddress
Char var[], short var[], int var[], long var[], Bool var[],
float var[], struct AnyStructT var[]
Void*
Logix Designer Application Data Type Formal Parameter Enumeration Allowed C language Types (in XML)
DINT IntegerValue Int
Long
INT IntegerValue Short
SINT IntegerValue Char
REAL FloatingPointValue Float
BOOL IntegerValue Bool

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Allen-Bradley SoftLogix 5800 and is the answer not in the manual?

Allen-Bradley SoftLogix 5800 Specifications

General IconGeneral
BrandAllen-Bradley
ModelSoftLogix 5800
CategoryController
LanguageEnglish

Related product manuals