Atlas Copco Open Protocol 1.6
Atlas Copco Open Protocol 1.6
Open Protocol
Atlas Copco Tools and Assembly Systems
9836 4415 01
Specification release 1.6
Revision 0
Copyright Atlas Copco Tools and Assembly Systems
Note! This manual can be altered without further notice.
For further information log in to Atlas Copco www.atlascopco.com
Contents
1 Introduction ..............................................................................................................9
1.1 Revision history ...................................................................................................9
1.2 Specification Revision rules ...............................................................................11
1.3 Terminology .......................................................................................................12
2 Using Open Protocol .............................................................................................15
2.1 Communication .................................................................................................15
2.1.1 Ethernet protocol ................................................................................................................................... 15
2.1.2 Serial protocol ........................................................................................................................................ 15
2.2 Message structure .............................................................................................19
2.2.1 Header ................................................................................................................................................... 20
2.2.2 Data Field .............................................................................................................................................. 21
2.2.3 Data field implementation rules.............................................................................................................. 21
2.2.4 Message End ......................................................................................................................................... 22
3 Communication examples .....................................................................................23
3.1 Establishing contact...........................................................................................23
3.1.1 Ethernet connection ............................................................................................................................... 23
3.1.2 Serial connection ................................................................................................................................... 24
3.1.3 Serial connection with 3964R ................................................................................................................ 25
3.2 Starting a subscription .......................................................................................25
3.3 Sending a request .............................................................................................26
4 Message categories ...............................................................................................27
4.1 Request and request reply messages ...............................................................27
4.2 Event Messages ................................................................................................27
4.3 Programming control .........................................................................................28
4.4 Message list ......................................................................................................28
5 All messages ..........................................................................................................33
5.1 Communication messages ................................................................................33
5.1.1 MID 0001 Communication start ............................................................................................................. 33
5.1.2 MID 0002 Communication start acknowledge ....................................................................................... 34
5.1.3 MID 0003 Communication stop.............................................................................................................. 36
5.2 Request reply messages ...................................................................................37
5.2.1 MID 0004 Command error ..................................................................................................................... 37
5.2.2 MID 0005 Command accepted .............................................................................................................. 39
5.3 Parameter set messages ...................................................................................40
5.3.1 MID 0010 Parameter set ID upload request .......................................................................................... 40
5.3.2 MID 0011 Parameter set ID upload reply ............................................................................................... 40
5.3.3 MID 0012 Parameter set data upload request ....................................................................................... 41
5.3.4 MID 0013 Parameter set data upload reply ........................................................................................... 42
5.3.5 MID 0014 Parameter set selected subscribe ......................................................................................... 44
5.3.6 MID 0015 Parameter set selected ......................................................................................................... 45
5.3.7 MID 0016 Parameter set selected acknowledge.................................................................................... 46
5.3.8 MID 0017 Parameter set selected unsubscribe ..................................................................................... 46
5.3.9 MID 0018 Select Parameter set ............................................................................................................. 46
5.3.10 MID 0019 Set Parameter set batch size ............................................................................................ 47
5.3.11 MID 0020 Reset Parameter set batch counter .................................................................................. 48
5.3.12 MID 0021 Lock at batch done subscribe ........................................................................................... 48
5.3.13 MID 0022 Lock at batch done upload ................................................................................................ 48
5.3.14 MID 0023 Lock at batch done upload Acknowledge .......................................................................... 49
5.3.15 MID 0024 Lock at batch done unsubscribe ....................................................................................... 49
5.3.16 MID 0025 Parameter user set download request .............................................................................. 50
5.4 Job message .....................................................................................................50
5.4.1 MID 0030 Job ID upload request ........................................................................................................... 50
5.4.2 MID 0031 Job ID upload reply ............................................................................................................... 50
5.4.3 MID 0032 Job data upload request ........................................................................................................ 52
5.4.4 MID 0033 Job data upload reply ............................................................................................................ 53
1 Introduction
Open Protocol is an interface for building applications for remote control or data subscription of
controllers. It is platform independent and can be implemented on Linux, PLC, printers, and all Windows
platforms for example.
The Open Protocol supports both serial and Ethernet connection.
- Updated the revision to 1.3.0 due to new MID revisions created. 2011-06-15
- Clarification of MID 122-123 due to DR2789. Revised to 1.3.2 /BJ. 2011-09-07
- Corrected the MID 33 description due to DR 2917, DR2918. Revised to 1.3.3/BJ. 2011-09-15
- Corrected the MID129 description due to DR2965. Revised to 1.3.4 /BJ 2011-10-03
- Corrected the Ackflag doc. in the headers for all MID subscription messages. DR3009/BJ 2011-
10-11
- Added changes for the new product PowerMACS Press RM 2011-10-20
- Corrections done for MID 0033 Rev. 2 2011-11-14 /BJ Rev. 1.4.2
- Corrections done for MID 65 DR 2941 2011-11-14/ BJ Rev 1.4.3
- Explenation for MID 33 Rev 3 added DR 3057/BJ Rev 1.4.4
- Updating table 73 due to DR 3114/BJ Rev 1.4.5
- Updated rev number to DIM rev number Rev 1.4.6
- New revision 002 for MID 0010/0011 for transmission of number of stages for each Pset/Mset
and a new revision 005 for MID 0040/0041 for transmission of tool model according to W 10.8
DR 3281 Resulting in new document revision 1.5.0 BJ 2012-01-26.
- New revision for the document 1.5.1 Padding for Tool Model in Rev. 5 of MID 41 changed to
spaces BJ W10.8 DR 3281.2012-01-27
- New rev. for document 1.5.2. MID 41 length corrected. BJ 2012-01-27
- New rev. 1.5.3 According to DR 3457 in PF project W10.9
- New release 1.6.0 due to introducing PF6000 product/BJ 2012-09-21.
New chapter added for data field implementation
The appendix 6.3 Product MID and revision support table changed to
include PF6000 product.
In the appendix a table is added for PF6000 parameter support.
In each MID description tables a column is added for marking of product
parameters support or not.
The following MID/Revisions has been changed/added:
MID 60/61new revision 7
MID 12/13 new revision 4. See Toyota appendix
MID 25 new revision 2. See Toyota appendix
MID 70/71 new revision 2
New MIDs 500-504 for tool motor tuning
1.3 Terminology
The following terminology is used in this manual.
Term Definition
Controller Open Protocol supports Power Focus, and PowerMACS controllers. See
PF6000 1.5
Integrator Integrator hardware can for example be a PC, PLC, or printer. Integrator
applications use the Open Protocol in the integrator HW.
Message A message consists of three parts; header, data field and message end, as
described in section Message structure. Depending on type of communication,
a package sent or received includes the message and an encapsulation before
and after the message, as described in section Communication.
MID Message ID of the message represented by four digits, for example 0052.
MID 0052 refers to Vehicle ID Number upload. The ID is always included in
the message.
MID revision A MID can have several revisions. If no revision is set, revision 1 is applied. A
MID is usually revised to include more data, thus increasing the length of the
message. MID revisions are added to ensure backwards compatibility.
See for example MID 0052 where revision 2 includes identifier result parts 2,
3 and 4 to the data. If revision 1 is used, this data is not sent. If revision 2 is
used and the controller does not support more than one identifier = revision 1,
then only the VIN-number is sent in revision 1.
See
PF6000 1.5
Subscribe Subscribe is the term used when the controller sends specific data to the
subscriber or subscribers each time it is generated.
Integrator HW Controller
Integrator Application
Communication
Open Protocol Open Protocol
Control data collection
TCP/IP Siemens TCP/IP Siemens
3964R 3964R
RS232 RS232
2.1 Communication
The Open Protocol can be run using Ethernet or serial communication. The Open Protocol is a full duplex
protocol, which means that data can be sent and received at the same time. Every communication partner
must be able to operate a send and receive facility simultaneously.
Power Focus controller can accept up to 5 connections at a time, shared between serial and Ethernet.
PowerMACS controller can accept two Ethernet connections per station at a time. There is no support
for serial connection.
When running serial communication, the messages are encapsulated according to the protocol used. The
messages within the encapsulation are the same regardless of type of communication.
Figure 3 Serial communication protocol, and Figure 5 Controller sending serial communication protocol
with 3964R handshake, show the encapsulation requirements that must be fulfilled when using serial
communication.
STX
Acknowledgement
timeout 2s
DLE
BELHTBELHTSTX<Message>ETXDLEETXBCC
DLE
STX
Acknowledge-
ment timeout
2s DLE
Character delay
STX<Message>ETXDLEETXBCC timeout 100 ms
DLE
The following steps are included when the controller is sending to the integrator.
1. The controller sends the control character STX (ASCII 0x02 start of text) and waits for an
acknowledgment for 2s (acknowledgment timeout = 2s).
2. The integrator responds with the acknowledge character DLE (ASCII 0x10 data link escape) and the
Controller reverts to transmit mode.
If the integrator responds with control character NAK (ASCII 0x15 Negative acknowledgment) or any
other control character (apart from DLE) or if the acknowledgment delay time elapses, the connection
setup procedure has failed. The connection setup procedure is aborted after a total of 6 unsuccessful
attempts.
3. The Controller sends an Open Protocol serial message followed by the characters ETX, DLE, ETX
and BCC as end identifier. The controller then waits for an acknowledgement character from the
integrator.
4. The integrator monitors the incoming time between two characters. The interval between two
characters may not exceed the character delay timeout =100 ms.
5. The integrator sends the control character DLE and the Open Protocol message has been accepted
error free.
If the integrator responds with control character NAK (ASCII 0x15 Negative acknowledgment) or any
other character (apart from DLE) or if the acknowledgment delay time elapses with no answer, then
the transmission is aborted and the controller starts a new connection setup with character STX. The
procedure is aborted and the controller sends a NAK to the integrator after a total of six unsuccessful
attempts.
The following is also applicable:
If the integrator sends a NAK during transmission, then the controller aborts the transmission and
repeats it in the manner described above. In the case of any other character the integrator waits for the
character delay time to elapse and then sends a NAK.
If the integrator receives an STX from the controller in idle state, it answers with DLE. If it receives
any other character than STX in idle state it waits for the character delay time to elapse and then sends
a NAK.
After each character, the next character is awaited during the character delay time =100ms. If the
character delay time elapses without new reception a NAK is sent to the controller.
If the integrator detects the character string DLE ETX BCC, it terminates reception. It then compares
the BCC with the internally generated one. If the BCC is correct and no error reception has occurred it
sends a DLE to the controller. If the BCC is not correct a NAK is sent to the controller. A retry is then
awaited. If it is not possible to receive the message with error free BCC after 6 attempts, the integrator
aborts the reception.
An inactivity timeout is suggested to integrator i.e. if no message has been exchanged during
the last 10s, send a keep alive.
In a Power Focus controller, the connection is assumed to be lost and the controller closes the connection
if no messages have been exchanged for 15 seconds, by default. It is possible to remove the need of
sending keep alive to the controller. In this case the controller will not be able to detect the loss of serial
connection or serial cable. This possibility can be used to reduce the load on certain serial devices (PLC,
printers …) which have difficulties to handle full duplex traffic.
In Power Focus, to remove the need of sending keep alive messages using serial connection, uncheck
C331 Serial cable loss detection.
This case must be handled by the client application and should not be considered as a failure.
Example
This following example shows MID 0071 Alarm.
Figure 7 shows the number of the byte above the message.
Figure 8 shows the same message without the numbers but with the spaces shown.
The spaces must be included according to each message structure.
00530071 01E404021031042008-09-25:10:14:16NUL
2.2.1 Header
The header contains 20 bytes according to Table 1.
Table 1 Header content
Message part Byte Parameter Value
Header 1-4 Length The length is the length of the header plus the data field
excluding the NUL termination.
The header always includes information about the length
of the message. The length is represented by four ASCII
digits („0‟…‟9‟) specifying a range of 0000 to 9999.
The MID is four bytes long and is specified by four ASCII
5-8 MID digits („0‟…‟9‟). The MID describes how to interpret the
message.
The revision of the MID is specified by three ASCII digits
(„0‟…‟9‟).
The MID revision is unique per MID and is used in case
several versions are available for the same MID. Using
9-11 Revision the revision number the integrator can subscribe or ask
for different versions of the same MID. By default the
MID revision number is three spaces (revision 1 of the
MID). So, if the integrator is interested in the initial
revision (revision 1) of the MID, it can send three spaces
as MID revision or 001.
ONLY FOR SUBSCRIPTION MIDs.
The No Ack Flag is used when setting a subscription. If
the No Ack flag is not set in a subscription it means that
the subscriber will acknowledge each “push” message
12 No ack flag
sent by the controller (reliable mode).
If set, the controller will only push out the information
required without waiting for a receive acknowledgement
from the subscriber (unreliable mode).
The station the message is addressed to in the case of
controller with multi-station configuration. The station ID
13-14 Station ID is 2 byte long and is specified by two ASCII digits
(„0‟…‟9‟). One space is considered as station 1 (default
value). Only available if not marked with N/A.
The spindle the message is addressed to in the case
several spindles are connected to the same controller.
The spindle ID is 2 bytes long and is specified by two
15-16 Spindle ID
ASCII digits („0‟…‟9‟). Two spaces are considered as
spindle 1 (default value). Only available if not marked
with N/A. OBS! Is allways 0 for FORD OBS!
17-20 Spare Reserved space in the header for future use.
The Length and MID are padded on the left with zeroes (ASCII 0x30).
n- 02 Parameter 02
n+2- Parameter 02 value Parameter 02 value…
03 Parameter 03
Parameter 02 value Parameter 03 value…
All torque and angle values sent in the data part are sent in units Nm and degrees when
nothing else is specified. For degrees one turn represents 360 degrees.
3 Communication examples
This section gives a few examples on communication sessions.
DLE
4. The controller accepts the
communication.
STX
5. The controller sends request to
send on Siemens protocol. DLE
Prerequisite: A communication session is already established. The example shows only the data sent, not
the protocol frames.
3. A tightening is performed.
(See arrow in figure.) 05260061006 0101020103Airbag
…….NUL
4. The controller sends
MID 0061 Last tightening result 00200062 NUL
data upload and then waits for
acknowledgement.
The example shows only
parameters 01, 02 and 03 of the
total 55 parameters for Figure 12 Starting a subscription
revision 6. See Table 41 MID
0061 Revision 1.
4 Message categories
Most, but not all, messages can be sorted into two main categories. MID 0001 Communication start or
MID 0003 Communication stop, do not belong to any of these categories.
Events messages
The controller can spontaneously send messages to the integrator after an event such as a tightening or an
alarm. This service is only enabled after a subscription event message.
Table 95 Product MID/Revision support for a list of which MID is implemented in each controller.
Table 4 Available messages
Open Protocol command
Request reply message
Event Acknowledge
Event subscription
Request message
Sent by
Events
ID Description
Event Acknowledge
Event subscription
Request message
Sent by
Events
ID Description
Event Acknowledge
Event subscription
Request message
Sent by
Events
ID Description
Event Acknowledge
Event subscription
Request message
Sent by
Events
ID Description
Event Acknowledge
Event subscription
Request message
Sent by
Events
ID Description
5 All messages
The following section describes all the messages in the Open Protocol.
The column “Not supported by” means that the product mentioned is not supporting that specific data
field. See further in chapter 2.2.3 Data fields implementation rules.
Example: Communication start with call for MID 0002 Communication start acknowledge revision 3.
00200001003 NUL
ID Description
16 Connection rejected protocol busy
17 Job ID not present
18 Job info subscription already exists
19 Job info subscription does not exist
20 Job can not be set
21 Job not running
22 Not possible to execute dynamic Job request
23 Job batch decrement failed
24 Not possible to create Pset
25 Programming control not granted
30 Controller is not a sync Master/station controller
31 Multi-spindle status subscription already exists
32 Multi-spindle status subscription does not exist
33 Multi-spindle result subscription already exists
34 Multi-spindle result subscription does not exist
40 Job line control info subscription already exists
41 Job line control info subscription does not exist
42 Identifier input source not granted
43 Multiple identifiers work order subscription already exists
44 Multiple identifiers work order subscription does not exist
50 Status external monitored inputs subscription already exists
51 Status external monitored inputs subscription does not exist
52 IO device not connected
53 Faulty IO device ID
54 Tool Tag ID unknown
55 Tool Tag ID subscription already exists
56 Tool Tag ID subscription does not exist
57 Tool Motor tuning failed
58 No alarm present
59 Tool currently in use
60 No histogram available
70 Calibration failed
71 Subscription already exists
72 Subscription does not exists
79 Command failed
80 Audi emergency status subscription exists
81 Audi emergency status subscription does not exist
82 Automatic/Manual mode subscribe already exist
83 Automatic/Manual mode subscribe does not exist
84 The relay function subscription already exists
85 The relay function subscription does not exist
86 The selector socket info subscription already exist
87 The selector socket info subscription does not exist
ID Description
88 The digin info subscription already exist
89 The digin info subscription does not exist
90 Lock at batch done subscription already exist
91 Lock at batch done subscription does not exist
92 Open protocol commands disabled
93 Open protocol commands disabled subscription already exists
94 Open protocol commands disabled subscription does not exist
95 Reject request, PowerMACS is in manual mode
96 Client already connected
97 MID revision unsupported
98 Controller internal request timeout
99 Unknown MID
00240005 0018NUL
00290011 002001002NUL
00230012 001NUL
The Pset will then be automatically selected when the operator chooses the correct socket from the
selector.
Subscription of the currently selected Pset via MID 0014 will show when the operator has selected the
correct Pset.
00260031001 020102NUL
00290031002 002001002NUL
Job ID of each Job present 23-length Two ASCII digits for each Job. Range: 00-99.
in the controller
Job ID of each Job present 25-length Four ASCII digits for each Job. Range: 0000-9999.
in the controller
00220032 01NUL
00630035 0101020030040008050003062001-12-01:20:12:45NUL
00220039 01NUL
00310045 01102003550NUL
00240046 0101NUL
In revision 1 of the MID 0052 Vehicle ID Number, only the VIN number is transmitted. In revision 2, all four
possible identifiers are transmitted.
Message sent by: Integrator
Answer: MID 0005 Command accepted or
MID 0004 Command error, VIN subscription already exists
Example: MID 0061 Last tightening result data upload reply, revision 1
023100610010 010001020103airbag7
04KPOL3456JKLO897 05000600307000008000009010011112000840
130014001400120015000739160000017099991800000
1900000202001-06-02:09:54:09212001-05-29:12:34:3322123345675 NUL
Note : The identifier result parts will only be set if the multiple identifier option has been activated in the
controller.
code 503-506 The customer tightening error code is 4 byte long and
is specified by 4 ASCII characters.
Note : The MID 0061 light revision 999 is intended to be used by integrators with limited receiving
capability (small receive buffer). In order to limit the size of the MID 0061 as much as possible the
parameter IDs usually sent in the message have been removed.
Note : The identifier result parts will only be set if the multiple identifier option has been activated in the
controller.
Table 53 MID 0065 Revision 5
Parameter Byte Value Not supported by
Customer tightening error 315-316 34
code
317-320 The customer tightening error code is 4 byte long and
is specified by 4 ASCII characters.
Example: MID 0071. Alarm E404 appeared on June 12, 2008. The controller and the tool have ready
status.
00530071 01E404021031042008-06-02:10:14:26NUL
00240074 E406NUL
Example: MID 0076. Alarm E404 is active, the controller and the tool are ready.
00560076 01102E404031041052008-06-02:10:14:26NUL
Example: Multiple status for two spindles. Common status OK, spindle 1 OK, spindle 2 OK.
00670091 01020200012032001-06-02:10:14:26
041050120102041NUL
Note: In a PowerMACS system the unit used for torque measurement depends on the unit setting in the
PowerMACS setup. If the setup use Nm that unit is used in the telegram and if the setup use FtLbs the
telegrams also use FtLbs.
Angle values:
Sent with unit degrees. Each turn represents 360 degrees. It is five bytes long and specified by five ASCII
digits. Range: 00000-99999.
Stroke values:
Sent with unit mm. The value is multiplied by 100 and sent as an integer (2 decimals truncated). It is five
bytes long and is specified by five ASCII digits. Range -99.99 – +999.99 mm sent as -9999 – 99999.
Torque values:
The torque is multiplied by 100 and sent as an integer (2 decimals truncated). It is six bytes long and is
specified by six ASCII digits.The unit is Nm.
Force values:
The force is multiplied by 100 and sent as an integer (2 decimals truncated). It is six bytes long and is
specified by six ASCII digits.The unit is kN.
Note: In revision 4 of the telegram a PowerMACS system always use Nm for the torque measurement,
independent of the setting in the PowerMACS setup.The unit of force measurements in a press system is
always kN.
This telegram is also used for PowerMACS systems running a Press. The layout of the telegram is exactly
the same but some of the fields have slightly different definitions. The fields for Torque are used for Force
values and the fields for Angle are used for Stroke values. A press system also ues different identifiers for
the optional data on bolt and step level. A press system always use revsion 4 or higher of the telegram. See
also section 6.1 Notes about press systems.
Note: All values that are undefined in the results will be sent as all spaces (ASCII 0x20). This will for
instance happen with the Torque Status if no measuring value for Bolt T was available for the tightening.
Message sent by: Controller
Answer: MID 0108 Last PowerMACS tightening result data acknowledge
Table 63 MID 0106 Last tightening result Station data, revison 1,2 and 3
Note 1: All fields with strings are left adjusted and padded with spaces. All numerical fields are right
adjusted and padded with 0‟s.
Note 2: In revision 1, 2 and 3 of the telegram the unit used for torque measurement depends on the unit
setting in the PowerMACS setup. If the setup use Nm that unit is used in the telegram and if the setup use
FtLbs the telegrams also use FtLbs.
If the system subtype is 002 for Press all the data above is Force
and Stroke instead of Torque and Angle
.
This part follow directly after the last special value. The byte
numbers vary depending on the number of data sent earlier in the
telegram.
Note 1: All fields with strings are left adjusted and padded with spaces. All numerical fields are right
adjusted and padded with 0‟s.
Note 2: In revision 4 of the telegram the unit used for torque measurement are always Nm, independent of
the unit selection in the PowerMACS setup.The unit used for force measurements in a press system is
always kN.
Note 2: The Bolt results and step results are only sent when the value exists in the result. This means, for
example, that if no high limit is programmed for Peak T, then the value Peak T + will not be sent even if
limits for Peak T are defined in the reporter.
Message sent by: Controller
Answer: MID 0108 Last PowerMACS tightening result data acknowledge
Table 65 MID 0107 Last tightening result Bolt data, revision 1,2 and 3
Parameter Byte Value
Total no of messages 21-22 01
23-24 The total number of messages needed to send all Bolt data for all
Bolts, including the message MID 0106 Last PowerMACS
tightening result Station data, sent with the station data. One
message MID 0107 Last PowerMACS tightening result Bolt
data is sent for each Bolt.
Message number 25-26 02
27-28 This number counts from 02 to Total no of messages and is
incremented by 1 for each sent message.
The first Bolt message is message number 02, since MID 0106
Last PowerMACS tightening result Station data is number 01.
2 ASCII digits, range 02-99.
Data No System 29-30 03
31-40 The Data No system is a unique ID for each tightening result
within the system. 10 ASCII digits, max value is 4294967295.
Station No 41-42 04
43-44 The station number within the PowerMACS system. 2 ASCII
digits. Range 01-15.
Time 45-46 05
47-55 Cycle start time for each tightening sent to the control station. The
time is 19 byte long and is specified by 19 ASCII characters
(YYYY-MM-DD:HH:MM:SS)
Bolt number 56-57 06
58-61 The user defined Bolt number. 4 ASCII digits, range 0001-9999.
Bolt name 62-63 07
64-83 The name of the Bolt. 20 ASCII characters.
Program name 84-85 08
Note 1: All fields with strings are left adjusted and padded with spaces. All numerical fields are right
adjusted and padded with 0‟s.
Note 2: In revision 1, 2 and 3 of the telegram the unit used for torque measurement depends on the unit setting
in the PowerMACS setup. If the setup use Nm that unit is used in the telegram and if the setup use FtLbs the
telegrams also use FtLbs.
If the system subtype is 002 for Press all the data above is Force
and Stroke instead of Torque and Angle
Note 1: All fields with strings are left adjusted and padded with spaces. All numerical fields are right
adjusted and padded with 0‟s.
Note 2: In revision 4 of the telegram the unit used for torque measurement are always Nm, independent of
the unit selection in the PowerMACS setup. The unit used for force measurements in a press system is
always kN.
Note: A more detailed description of the error i.e. faulty Job select source or Job in off mode will be
received, if an alarm subscription has been made (MID 0070).
1
For an PF3000/4000 with Open protocol version 1.2.1 or later, this parameter is overridden and “other” is
always selected.
MID 0140 Dynamic Job data revision 999 is equal to revision 1 except for parameter ID 04, Job list.
Table 70 MID 0140 Dynamic Job data revision 999
Parameter Byte Value Not supported by
See revision 1 21-55 See revision 1
Job list 56-57 04
58- A list with up to 99 parameter sets where each
(58 + parameter set is defined by a number of parameters
N x 18) separated by “:” and terminated by “;” (18 bytes)
according to:
[Channel-ID]:[Program-
ID]:[AutoSelect]:[BatchSize]:[Max Coherent
NOK]:[Batch Counter];
Channel ID = two ASCII characters, range 00-99
Program ID = parameter set ID or Multistage ID,
three ASCII characters, range 000-999
Auto Select = One ASCII character, 1 or 0, 1=Auto
Next Change,
BatchSize = Two ASCII characters, range 00-99
Max Coherent NOK = Two ASCII characters, range
00-99
Batch counter = Two ASCII characters, range 00-99
Ex: 15:045:0:22:02:10;
See revision 1 See revision 1
Example: Reset relay 1, set relay 2, reset relay 3, flash relay 4, keep relay 5 as it is, reset relay 6, set relay
7, flash relay 8, keep relay 9 as it is, and reset relay 10.
00300200 0102301230NUL
Message part Parameter Byte Value
Header Length 1-4 0030
MID 5-8 0200
Revision 9-11 Range 000-001
No Ack flag 12 N/A
Station ID 13-14 N/A
Spindle ID 15-16 N/A
Spare 17-20 N/A
Data field Relay status 21-30 See Revisions
Message end 31 NUL
Example:
00280211 00100111NUL
See Table 76 for interpretation of relay numbers and digital input numbers. Note that one or two zeros
have to be added in front of the numbers in the list in this MID. For example relay number 13 Job NOK
must be entered as 013.
Table 74 MID 0215 Revision 1
Parameter Byte Value
IO device ID 21-22 01
23-24 The IO device ID specified with two ASCII characters. Range: 00-
99. 00=internal device, 01-15=I/O expanders.
Relay list 25-26 02
27-58 A list of 8 relays for the current device ID. Each relay is specified
by four bytes.
Byte 1-3: Relay number, three ASCII characters, range 000-999
Byte 4: Relay status specified by one ASCII character;
0=reset, 1=set.
Digital Input list 59-60 03
61-92 A list of 8 digital inputs for the current device ID. Each digital input
is specified by four bytes.
Byte 1-3: Digital input number, three ASCII characters,
range 000-999
Byte 4: Digital input status specified by one ASCII character.
0=Low, 1=High
2
X = 31 + 4*Number of relays present
3
Y = X + 8 + 4*Number of digital inputs present
154 (224) Release 1.4
Revision 10 9836 4415 01
All messages
Both areas occupy 8 bytes each (1 + 2 + 4 +1) and these bytes are assigned to the variables in the
following way:
Input:
13000 13001 13002 13003 13004 13005 13006 13007
IN_1 IN_2 IN_2 IN_3 IN_3 IN_3 IN_3 IN_4
1:st byte in 1:st byte in 2:nd byte in 1:st byte in 2:nd byte in 3:d byte in 4:th byte in 1:st byte in
variable variable variable variable variable variable variable variable
Output:
13000 13001 13002 13003 13004 13005 13006 13007
OUT_1 OUT_2 OUT_2 OUT_3 OUT_3 OUT_3 OUT_3 OUT_4
1:st byte in 1:st byte in 2:nd byte in 1:st byte in 2:nd byte in 3:d byte in 4:th byte in 1:st byte in
variable variable variable variable variable variable variable variable
Example Cases:
The text within quotation marks denotes the data part of the telegram in ASCII HEX.
Case 1: Write to PLC with MID 0240 User data download message.
1. Write variable IN_1 with the value 134 (0x86 ). All other variables zero. “8600000000000000”.
2. Write variable IN_2 with the value 37567 (0x92bf). All other variables zero. “0092bf0000000000”.
3. Write variable IN_3 with value 2000345 (0x1e85d9). All other variables zero. “000000001e85d900”.
4. Write variable IN_3 with value 3000134000 (0xb2d26970). All other variables zero.
“000000b2d2697000”.
5. Write variable IN_4 with value 255 (0xff). All other variables zero. “00000000000000ff”.
Case 2: Read values of PLC variable from MID 0240 User data message.
1. The data“7834fece5678a2b7” is received.
OUT_1 reads 120 (0x78)
OUT_2 reads 13566 (0x34fe)
OUT_3 reads 3461773474 (0xce5678a2)
OUT_4 reads 183 (0xb7)
00280240 12345678NUL
002903000000 010010200NUL
After a successful subscription the message MID 0401 Automatic/Manual mode upload with the current
mode status is sent to the integrator.
Message sent by: Integrator
Answer: MID 0005 Command accepted or
MID 0004 Command error, Automatic/Manual mode subscribe already exists
The “Current Batch” contains at which batchcounter value/tightening the parameter set batch was
locked/finished if “batchcount” and “lock at batch ok” parameters in ToolsTalk PF was used, otherwise it
will contain 0 indicating function not used.If “lock at batch ok” parameter was not used the “Current
Batch” is just current.
The “Auto Disable” contains the parameter sets batch size if “batchcount” and “lock at batch ok”
parameters was used indicating that AutoDisable function is used. If “batchcount” or “lock at batch ok”
was not used the “Auto Disable” is 0.
Message sent by: Controller
Answer: None
Message part Parameter Byte Value
Header Length 1-4 0020
MID 5-8 0411
Revision 9-11 Range 000-001
No Ack flag 12 N/A
Station ID 13-14 N/A
Spindle ID 15-16 N/A
Spare 17-20 N/A
Data field, part 1 AutoDisable setting 21-22 Two ASCII digits. 00= not used, <> 00=in use
Data field, part 2 Current batch 23-24 Two ASCII digits. Range 00-99. 00=function not
used
Message end N/A 25 NUL
6 Appendix
Note: The values that need to be interpreted diffrently in a Press system are prefixed with a „P‟ to mark
this. To find the values in the Open Protocol reporter in ToolsTalk PowerMACS you just replace Object
with Bolt, F (for Force) with T (for Torque) and S (for Stroke) with A (for Angle). For example the value
called Object F 2nd in the reporter will be sent with identification „PBolt T 2nd‟. The same rule apply to
both the bolt (object) and step data. If the value can be interpreted in exactly the same way in Press and
Tightening the same identifier is used, without the prefix „P‟ in Press.
In tightening the units are Nm and degrees for torque and angle measurements. The units in press are kN
and mm for force and stroke.
Note: The name Spindle No is used in a press system even though it is realy used for the Press No
Table 89 Variable names for Bolt values
Tightening system Press system
Spindle No Spindle No
Op Mode Op Mode
Failing Step No Failing Step No
Program No Program No
Bolt A Thresh T PBolt A Thresh T
Program Strategy PProgram Strategy
Mon A Chan PMon A Chan
Mon T Chan PMon T Chan
Con A Chan PCon A Chan
Con T Chan PCon T Chan
Mon Buf 1A PMon Buf 1A
Mon Buf 1T PMon Buf 1T
Mon Buf 2A PMon Buf 2A
Mon Buf 2T PMon Buf 2T
No of Steps No of Steps
Note: The name Spindle No is used in a press system even though it is realy used for the Press No.
Table 90 Measurement values
Tightening system Press system
Bolt T 2nd PBolt T 2nd
Bolt T 2nd + Bolt T 2nd - PBolt T 2nd + PBolt T 2nd -
Bolt T Cp Bolt T Cpk Bolt T Cam PBolt T Cp PBolt T Cpk PBolt T Cam
Bolt T 2nd Cp Bolt T 2nd Cpk Bolt T 2nd Cam PBolt T 2nd Cp PBolt T 2nd Cpk PBolt T 2nd Cam
Bolt A 2nd PBolt A 2nd
Bolt A 2nd + Bolt A 2nd - PBolt A 2nd + PBolt A 2nd -
Bolt A Cp Bolt A Cpk Bolt A Cam PBolt A Cp PBolt A Cpk PBolt A Cam
PBolt CC 01 T + PBolt CC 01 T -
Bolt CC 01 T + Bolt CC 01 T -
...
...
PBolt CC 40 T + PBolt CC 40 T -
Bolt CC 40 T + Bolt CC 40 T -
Bolt CC 41 + Bolt CC 41 -
Bolt CC 41 + Bolt CC 41 -
...
...
Bolt CC 80 + Bolt CC 80 -
Bolt CC 80 + Bolt CC 80 -
198 (224) Release 1.4
Revision 10
9836 4415 01
Appendix
Step CC 01 T PStep CC 01 T
… …
Step CC 40 T PStep CC 40 T
Step CC 41 Step CC 41
… …
Step CC 80 Step CC 80
Table 93 Variable names for special values in Station data, MID 0106
Name Data Type
Total I
Total OK I
Total NOK I
Free Str S
Free No 1 I
Free No 2 I
Free Str 2 S
Free Str 3 S
Data No Station I
Station QO I
Station SA I
Station AB S
ID Res 1 S
ID Res 2 S
ID Res 3 S
ID Res 4 S
ID Res 5 S
ID Res 6 S
Table 94 Variable names for special values in Bolt data, MID 0107
Name Data Type
Total I
Total OK I
Total NOK I
Total Type I
Total Type OK I
Total Type NOK I
RM Errors E1
Warnings E2
Example:
If a tightening gets the errors TR (bit 5), MTH (bit 23), THM (bit 37) and SS (bit 96), the five integers will
be:
Integer 0 = 32 + 8388608 = 8388640
Integer 1 = 32
Integer 2 = 0
Integer 3 = 1
Integer 4 = 0
And the number sent as error code will be:
00000000000000000001000000000000000000320008388640
PF6000 1.5
PF6000
PM
Product
ID Description Revisions
0001 Communication start 4 4 5 1 5
Communication start 5
0002 acknowledge 4 4 5 2 p
0003 Communication stop 1 1 1 1 1
210 (224) Release 1.4
Revision 10 9836 4415 01
Appendix
PM4000
PF4000
PF3000
PF6000
PM
Product
ID Description Revisions
0004 Command error 1 1 1 1 1
0005 Command accepted 1 1 1 1 1
0010 Parameter set ID upload request 1 1 1 1 1
0011 Parameter set ID upload reply 1 1 1 1 1
Parameter set data upload
0012 request 3 3 - - 4
0013 Parameter set data upload reply 3 3 - - 4
0014 Parameter set selected subscribe 1 1 1 1 1
0015 Parameter set selected 1 1 1 1 1
Parameter set selected
0016 acknowledge 1 1 1 1 1
Parameter set selected
0017 unsubscribe 1 1 1 1 1
0018 Select Parameter set 1 1 1 1 1
0019 Set Parameter set batch size 1 1 - - -
Reset Parameter set batch
0020 counter 1 1 - - -
0021 Lock at batch done subscribe 1 1 - - -
0022 Lock at batch done upload 1 1 - - -
Lock at batch done upload
0023 acknowledge 1 1 - - -
0024 Lock at batch done unsubscribe 1 1 - - -
0025 Download Pset. Toyota Appendix - - - - 2
0030 Job ID upload request 2 2 - - 2
0031 Job ID upload reply 2 2 - - 2
0032 Job data upload request 3 3 3 3 2
0033 Job data upload reply 3 3 3 3 2
9836 4415 01 Release 1.4
Revision 18 211 (224)
Appendix
PM4000
PF4000
PF3000
PF6000
PM
Product
ID Description Revisions
p
0034 Job info subscribe 4 2 - - 4
4
0035 Job info 4 2 - - p
0036 Job info acknowledge 4 2 - - 4
0037 Job info unsubscribe 4 2 - - 4
0038 Select Job 2 2 - - 2
0039 Job restart 2 2 - - 2
0040 Tool data upload request 3 3 1 1 4
4
0041 Tool data upload reply 3 3 1 1 p
0042 Disable tool 1 1 1 1 1
0043 Enable tool 1 1 1 1 1
0044 Disconnect tool request 1 1 - - -
0045 Set calibration value request 1 1 - - 1
0046 Set primary tool request 1 1 - - -
Vehicle ID number download
0050 request 1 1 1 1 1
0051 Vehicle ID number subscribe 2 2 1 1 -
0052 Vehicle ID number 2 2 1 1 -
0053 Vehicle ID number acknowledge 2 2 1 1 -
0054 Vehicle ID number unsubscribe 2 2 1 1 -
6, 6
9 ,
9 9
Last tightening result data 8, 9
0060 subscribe 9 9 - - 7
PM4000
PF4000
PF3000
PF6000
PM
Product
ID Description Revisions
9
9
6,
9
9 6
9, ,
9 9
9 9 7
0061 Last tightening result data 8 9 - - p
6,
9
9 6
8, ,
9 9
Last tightening result data 9 9
0062 acknowledge 9 9 - - 7
6,
9
9 6
8, ,
9 9
Last tightening result data 9 9
0063 unsubscribe 9 9 - - 7
Old tightening result upload
0064 request 6 6 - - -
0065 Old tightening result upload reply 6 6 - - -
0070 Alarm subscribe 1 1 1 1 1
0071 Alarm 1 1 1 1 2
0072 Alarm acknowledge 1 1 1 1 2
0073 Alarm unsubscribe 1 1 1 1 2
PM4000
PF4000
PF3000
PF6000
PM
Product
ID Description Revisions
Alarm acknowledged on
0074 controller 1 1 1 1 2
Alarm acknowledged on
0075 controller acknowledge 1 1 1 1 2
0076 Alarm status 1 1 1 1 -
0077 Alarm status acknowledge 1 1 1 1 -
Acknowledge alarm remotely on
0078 controller 1 1 - - -
0080 Read time upload request 1 1 1 1 1
0081 Read time upload reply 1 1 1 1 1
0082 Set time 1 1 1 1 1
0090 Multi-spindle status subscribe 1 1 1 1 -
0091 Multi-spindle status 1 1 1 1 -
0092 Multi-spindle status acknowledge 1 1 1 1 -
0093 Multi-spindle status unsubscribe 1 1 1 1 -
0100 Multi-spindle result subscribe 1 1 4 1 -
0101 Multi-spindle result 1 1 4 1 -
0102 Multi-spindle result acknowledge 1 1 4 1
0103 Multi-spindle result unsubscribe 1 1 4 1 -
Last PowerMACS tightening
0105 result data subscribe - - 4 - -
Last PowerMACS tightening
0106 result Station data - - 4 - -
Last PowerMACS tightening
0107 result Bolt data - - 4 - -
Last PowerMACS tightening
0108 result data acknowledge - - 4 - -
PM4000
PF4000
PF3000
PF6000
PM
Product
ID Description Revisions
Last PowerMACS tightening
0109 result data unsubscribe - - 4 - -
0110 Display user text on compact 1 1 - - -
0111 Display user text on graph 1 1 - - -
0113 Flash green light on tool 1 1 - - -
0120 Job line control info subscribe 1 1 - - -
0121 Job line control started 1 1 - - -
0122 Job line control alert 1 1 1 - - -
0123 Job line control alert 2 1 1 - - -
0124 Job line control done 1 1 - - -
0125 Job line control info acknowledge 1 1 - - -
0126 Job line control info unsubscribe 1 1 - - -
0127 Abort Job 1 1 - - 1
0128 Job batch increment 1 1 - - 1
0129 Job batch decrement 2 2 - - 1
0130 Job off 1 1 - - -
0131 Set Job line control start 1 1 - - -
0132 Set Job line control alert 1 1 1 - - -
0133 Set Job line control alert 2 1 1 - - -
1
1, ,
9 9
9 9
0140 Execute dynamic Job request 9 9 - - -
0150 Identifier download request 1 1 - - 1
Multiple identifiers work order
0151 subscribe 1 1 - - -
9836 4415 01 Release 1.4
Revision 18 215 (224)
Appendix
PM4000
PF4000
PF3000
PF6000
PM
Product
ID Description Revisions
0152 Multiple identifiers work order 1 1 - - -
Multiple identifiers work order
0153 acknowledge 1 1 - - -
Multiple Identifiers work order
0154 unsubscribe 1 1 -- -
0155 Bypass identifier 1 1 -- -
0156 Reset latest identifier 1 1 -- -
0157 Reset all identifiers 1 1 -- -
1
0200 Set external controlled relays 1 1 - - p
Status external monitored inputs
0210 subscribe 1 1 - - -
0211 Status external monitored inputs 1 1 - - -
Status external monitored inputs
0212 acknowledge 1 1 - - -
Status external monitored inputs
0213 unsubscribe 1 1 - - -
0214 IO device status request 2 2 - - -
0215 IO device status reply 2 2 - - -
0216 Relay function subscribe 1 1 - - 1
0217 Relay function 1 1 - - 1
0218 Relay function acknowledge 1 1 - - 1
0219 Relay function unsubscribe 1 1 - - 1
0220 Digital input function subscribe 1 1 - - 1
0221 Digital input function 1 1 - - 1
Digital input function
0222 acknowledge 1 1 - - 1
0223 Digin function unsubscribe 1 1 - - 1
216 (224) Release 1.4
Revision 10 9836 4415 01
Appendix
PM4000
PF4000
PF3000
PF6000
PM
Product
ID Description Revisions
0224 Set digital input function 1 1 - - 1
0225 Reset digital input function 1 1 - - 1
0240 User data download - - 1 - -
0241 User data subscribe - - 1 - -
0242 User data - - 1 - -
0243 User data acknowledge - - 1 - -
0244 User data unsubscribe - - 1 - -
1
0250 Selector socket info subscribe 1 1 - - P
1
0251 Selector socket info 1 1 - - P
1
0252 Selector socket info acknowledge 1 1 - - P
1
0253 Selector socket info unsubscribe 1 1 - - p
0254 Selector control green lights 1 1 - - -
0255 Selector control red lights 1 1 - - -
0260 Tool Tag ID request 1 1 - - -
0261 Tool Tag ID subscribe 1 1 - - -
0262 Tool Tag ID 1 1 - - -
0263 Tool Tag ID acknowledge 1 1 - -
0264 Tool Tag ID unsubscribe 1 1 - - -
0270 Controller reboot request 1 1 - -
Automatic/Manual mode
0400 subscribe - - 1 1 -
0401 Automatic/Manual mode - - 1 1 -
0402 Automatic/Manual mode - - 1 1 -
9836 4415 01 Release 1.4
Revision 18 217 (224)
Appendix
PM4000
PF4000
PF3000
PF6000
PM
Product
ID Description Revisions
acknowledge
Automatic/Manual mode
0403 unsubscribe - - 1 1 -
0410 AutoDisable settings request 0 0 0 0 -
0411 AutoDisable settings reply 0 0 0 0 -
Open protocol commands
0420 disabled subscribe 1 1 - - -
Open protocol commands
0421 disabled 1 1 - - -
Open protocol commands
0422 disabled acknowledge 1 1 - - -
Open protocol commands
0423 disabled unsubscribe 1 1 - - -
Motor tuning result data
500 subscribe - - - - 1
501 Motor tuning result data - - - - 1
Motor tuning result data
502 acknowledge - - - - 1
Motor tuning result data
503 unsubscribe - - - - 1
504 Motor tuning request - - - - 1
PM4000
PF4000
PF3000
PF6000
PM
Product
ID Description Revisions
unsubscribe -
Keep alive open protocol
9999 communication 0 0 0 0 0