Peripheral Devices
9836 3521 01
565
8.14.4.32 GetEventEx
Description:
Call this method to read the next Event from the FIFO queue for the API device.
The FIFO queue can hold max 200 events. If overflowed then the oldest event is
overwritten. Once an event has been read by a call to this method it cannot be read again.
If the queue is empty when called then
eRetNoData
is returned.
Return type
: A
value.
Syntax:
object
.
GetEvent
(
DataNo, SeqNo, Ts, Code, Typ, Stn, Blt, Pgm, Str
)
Obj./Arg.
Type
Dir
Description
object
Api
The Api object to operate on.
DataNo
Integer
Out
A device unique sequence number. This number is
incremented by one for each event reported over this
device.
SeqNo
Long
Out
A global sequence number. This number is incremented
by one for each event generated by the system.
Ts
Long
Out
Date and time for event. Expressed as no of seconds
since 1970-01-01 00:00:00
Code
Integer
Out
Event code, see List of events for possible values.
Typ
Integer
Out
Event type, see View Event Log.
Stn
Integer
Out
Station on which the event occurred, 0 if not relevant
Blt
Integer
Out
Bolt for which the event occurred, 0 if not relevant
Pgm
String
Out
Tightening program connected to the event, 0 if not
relevant
Str
String
Out
Event string in the language configured using ToolsTalk
PowerMACS.
Sev
SeverityEnum
Out
The Severity of the event.
8.14.4.33 GetEventObj
Description:
This method is similar to GetEventEx but returns data packed in an object.
Return type
: A
value.
Syntax:
object
.
GetEventObj
(
EventObj
)
Obj./Arg.
Type
Dir
Description
object
Api
The Api object to operate on.
EventObj
EventData
Out
Object which contains all event data.
Summary of Contents for PowerMACS 4000
Page 2: ......
Page 46: ...System Architecture 46 9836 3521 01...
Page 267: ...Tightening 9836 3521 01 267...
Page 400: ...Tightening 400 9836 3521 01...
Page 486: ...Peripheral Devices 486 9836 3521 01...
Page 622: ...Peripheral Devices 622 9836 3521 01...
Page 664: ...References 664 9836 3521 01...
Page 668: ...9836 3521 01 2010 11 Edition 10 3 0 www atlascopco com...