EasyManuals Logo
Home>Atlas Copco>Power Tool>PowerMACS 4000

Atlas Copco PowerMACS 4000 User Manual

Atlas Copco PowerMACS 4000
668 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 #548 background imageLoading...
Page #548 background image
Peripheral Devices
548 9836 3521 01
8.14.3 Enumerators exported by the API
The PowerMACS API exports a number of enumerated types representing return values, possible control
strategies and statuses.
RetCodeEnum
This enumerator lists the codes being returned by the functions of the API
Constant
Description
eRetOk = 0
Function executed OK
eRetCmdNotAllowed = -20
Command not allowed
eRetNotOk = -51
Function did not execute OK for reasons other then listed below
eRetTimeout = -52
No answer was received from the TC within 4 seconds
eRetBufferToSmall = -53
The buffer supplied is not big enough for the returned data
eRetIpAddress = -54
IP–address is invalid
eRetConnectError = -55
A TCP/IP connection cannot be established to the specified IP-address
eRetWrongPlcAddress = -56
Incorrect PLC address (check parameters Address and/or Bit)
eRetNoData = -57
The data requested (Cycle data, Event, Trace or Setup) is not available.
eRetNotSupported = -58
Command not supported by the current version of TC SW
eRetWrongDataType = -59
Supplied data type not supported
eRetBufferToBig = -60
Write buffer is too big
eKeyNecessary = -61
Necessary USB key not found
SeverityEnum
This enumerator lists the possible Severities of an event (see View Event Log for a description of
Severity).
Constant
Description
eSevInfo = 0
The event is classified as information only.
eSevWarning = 1
The event is classified as a warning.
eSevError = 2
The event is classified as an error.
DeviceInstanceEnum
This enumerator is used to select which of the API devices to access if more than one device is defined on
a TC.
Constant
Description
eDevPrimary = 0
Communicate with target TC's primary API device

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Atlas Copco PowerMACS 4000 and is the answer not in the manual?

Atlas Copco PowerMACS 4000 Specifications

General IconGeneral
BrandAtlas Copco
ModelPowerMACS 4000
CategoryPower Tool
LanguageEnglish

Related product manuals