Peripheral Devices
9836 3521 01
609
8.17.3
Layout of Events in Process data
An Event contains data as described in the table below.
Offset Item
Data type
Description
0
DataNo
Short integer
A device unique sequence number. This number is incremented by
one for each event reported over the device.
2
SeqNo
Long integer
A global sequence number. This number is incremented by one for
each event generated by the system.
6
Time
Time
Date and time for event.
10
Code
Short integer
Event code, see List of events for possible values.
12
Type
Short integer
Event type, see View Event Log for possible values.
14
Station
Short integer
Station on which the event occurred, 0 if not relevant
16
Bolt
Short integer
Bolt for which the event occurred, 0 if not relevant
18
Observed
Short integer
<> 0 if event is observed
20
Pgm
char[21]
Tightening program connected to the event, 0 if not relevant
41
EventStr
char[81]
Event string in the language configured using ToolsTalk
PowerMACS.
122
Severity
Short integer
The severity of the event, see View Event Log for possible values.
124
Par 1
char[4]
First parameter for the EventStr, see below for a description.
128
Par 2
char[4]
Second parameter for the EventStr, see below for a description.
132
Par 3
char[4]
Third parameter for the EventStr, see below for a description.
136
Par 4
char[4]
Fourth parameter for the EventStr, see below for a description.
140
Par 5
char[4]
Fifth parameter for the EventStr, see below for a description
Par1 to Par5 represents values that should replace the parameter placeholders in the event strings
defined for each event code (%d, %x, %f, and %c). See List of events for a listing of all events with their
place holders. Par1 represents the leftmost placeholder, Par2 the second leftmost, and so on. The
respective placeholder has the following meaning:
Placeholder
Meaning
%d
Interpret the four bytes of ParX as a long and display it as a decimal integer
%x
Interpret the four bytes of ParX as a long and display it as a hexadecimal integer
%f
Interpret the four bytes of ParX as a float and display it as a float with two (2) decimals
%c
Interpret the four bytes of ParX as ASCII values of four single characters and display them as
characters.
Which items that are included for an event when it is read by a particular device is controlled by the
Reporter connected to the device.
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...