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
Содержание PowerMACS 4000
Страница 1: ...User guide PowerMACS 4000 Atlas Copco Tools and Assembly Systems 9836 3521 01 2010 11 Edition 10 3 0...
Страница 2: ......
Страница 46: ...System Architecture 46 9836 3521 01...
Страница 127: ...Set Up and Maintenance 9836 3521 01 127 See chapter Station Set Up for a description of the parameters...
Страница 267: ...Tightening 9836 3521 01 267...
Страница 400: ...Tightening 400 9836 3521 01...
Страница 422: ...Peripheral Devices 422 9836 3521 01 When connected to a system the form will show show the signal values in realtime...
Страница 486: ...Peripheral Devices 486 9836 3521 01...
Страница 622: ...Peripheral Devices 622 9836 3521 01...
Страница 664: ...References 664 9836 3521 01...
Страница 668: ...9836 3521 01 2010 11 Edition 10 3 0 www atlascopco com...