OpenProtocol W7 7.0
OpenProtocol W7 7.0
OpenProtocol W7 7.0
PowerFocus
Open Protocol 7.0
Version 34 / 20th March 2007
1. REVISIONS .............................................................................................................................................................5
2. TERMINOLOGY ....................................................................................................................................................6
5. COMMUNICATION ............................................................................................................................................16
5.1 REQUEST / RESPONSE TELEGRAM .......................................................................................................................16
5.2 EVENT TELEGRAM .............................................................................................................................................17
5.3 COMMUNICATION TELEGRAM .............................................................................................................................19
5.3.1 Communication start (MID = 0001) ..........................................................................................................19
5.3.2 Communication start acknowledge (MID = 0002) ....................................................................................19
5.3.3 Communication stop (MID = 0003)...........................................................................................................21
5.4 REQUEST ANSWER ..............................................................................................................................................22
5.4.1 Command error (MID = 0004)..................................................................................................................22
5.4.2 Command accepted (MID = 0005) ............................................................................................................24
5.5 PARAMETER SET TELEGRAMS .............................................................................................................................25
5.5.1 Parameter set number upload request (MID = 0010) ...............................................................................25
5.5.2 Parameter set numbers upload reply (MID = 0011) .................................................................................25
5.5.3 Parameter set data upload request (MID = 0012) ...................................................................................26
5.5.4 Parameter set data upload reply (MID = 0013)........................................................................................27
5.5.5 Parameter set “selected” subscribe (MID = 0014)...................................................................................28
5.5.6 Parameter set selected (MID = 0015) .......................................................................................................28
5.5.7 Parameter set selected acknowledge (MID = 0016)..................................................................................28
5.5.8 Parameter set “selected” unsubscribe (MID = 0017)...............................................................................29
5.5.9 Select Parameter set (MID = 0018)...........................................................................................................29
5.5.10 Set Parameter Set batch size (MID = 0019) ............................................................................................30
5.5.11 Reset Parameter Set batch counter (MID = 0020) ..................................................................................30
5.6 JOB TELEGRAM ...................................................................................................................................................31
5.6.1 Job numbers upload request (MID = 0030) ..............................................................................................31
5.6.2 Job numbers upload reply (MID = 0031)..................................................................................................31
5.6.3 Job data upload request (MID = 0032) .....................................................................................................32
5.6.4 Job data upload reply (MID = 0033) ........................................................................................................33
5.6.5 Job “info” subscribe (MID =0034) ...........................................................................................................34
5.6.6 Job “info” (MID = 0035) ..........................................................................................................................35
5.6.7 Job “info” acknowledge (MID = 0036) ....................................................................................................35
5.6.8 Job “info” unsubscribe (MID = 0037) ......................................................................................................36
5.6.9 Select Job in POWER FOCUS (MID = 0038) ...........................................................................................37
5.6.10 Job restart (MID = 0039) ........................................................................................................................37
5.7 TOOL TELEGRAM ................................................................................................................................................38
5.7.1 Tool data upload request (MID = 0040) ...................................................................................................38
5.7.2 Tool data upload (MID = 0041) ................................................................................................................38
5.7.3 Disable tool (MID = 0042) ........................................................................................................................40
5.7.4 Enable tool (MID = 0043) .........................................................................................................................40
5.7.5 Disconnect tool request (MID = 0044)......................................................................................................40
5.7.6 Set calibration value request (MID = 0045)..............................................................................................41
5.8 VIN TELEGRAM ..................................................................................................................................................42
5.8.1 Vehicle Id Number download request (MID = 0050) retired ....................................................................42
Page 2(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Page 3(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Page 4(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
1. Revisions
Rev. Date Revised by Detailed description
1 June 28, 2001 LM Initial revision
2 Sept 12, 2001 LM Job MIDs added
3 Sept 14, 2001 LM Serial communication
4 Nov 2, 2001 LM MID 0019, 0020, 0038 added
5 Nov 23, 2001 LM MID 34, 35, 36, 37 changed
6 Dec 14, 2001 LM Added time stamp in MID 35
7 Jan 14, 2002 LM MID 90, 91, 92, 93 added
8 Feb 12, 2002 LM Answer to MID 003
9 Feb 15, 2002 LM Serial communication with 3964R handshake
10 Feb 19, 2002 LM New MID 100, 101, 102, 103
11 Mar 22, 2002 LM MID 41 corrected
12 Aug 05, 2002 LM MID 113 added
13 Aug 17, 2002 LM MID 110, 111, 120-129, 200 added
14 Feb 5, 2003 AM MID 33 defined (job data upload reply)
Added MID 214, 215 (IO device status)
5.5.5, 5.5.6 updated
Header added to document
Minor errors corrected
15 Feb 10, 2003 LM MID revision introduced
New revision of MID 61, 65
16 May 11, 2003 LM Several client session allowed at the same time (max
5).
New feature MID 64, possible to get the last tightening
result by requesting tightening Id zero.
New error code “client already connected”
17 June 09, 2003 LM MID 300, 301 added
18 August 10, 2003 LM MID 130 job off added, MID 44 added
19 September LM New MID revision for MID 61, 65,
19,2003 New MID revision for MID2
I/O tables updated
20 Mars 10, 2004 LM MID 78 added
21 June 10, 2004 LM Ack flag introduced in header.
Added support for Multiple Identifiers
MID.
New MID revision for MID 61, 65 with multiple result
identifier part.
Serial cable loss detection explained
22 Oct 24, 2004 LM MID 61 revision 5 added
MID 61 light (less than 128 bytes), MID revision 999
I/O tables updated
23 Feb 24, 2005 LM Strategy field updated in MID 61 and 65 (Home
position added).
24 Aug 2, 2005 LM Minor corrections
25 Sept 16, 2005 LM MID 45 added
26 Jan 24, 2006 LM Manual discrepancies fixed
Description of MID 130 Job Off was inverted
MID 61 rev 3 Torque values unit corrected wrong
index
27 Jan 30, 2006 MLN Chapter 5.1.18, Open protocol commands disabled,
MID 420-423
Command error codes 92-94.
Page 5(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
The PowerFocus Open Protocol 7.0 version 34, dated 20th of March
2007, is compatible with the PowerFocus SW-versions 7.0 and later.
2. Terminology
Subscribe :
Unsubscribe :
MID:
Message Id of the telegram
Page 6(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
3.1 Communication
The POWER FOCUS open protocol can be run using Ethernet or serial communication. The
POWER FOCUS open protocol is a FULL DUPLEX protocol, this means that data can be
exchanged between the POWER FOCUS and its partner in both direction simultaneously. In
FULL DUPLEX operation, therefore, data can be sent and received at the same time. Every
communication partner must be able to operate a send and receive facility simultaneously.
The station computer connects itself to the torque controller, and the torque controller accepts
the connection. The torque controller is the server and the station computer the client.
The torque controller can accepts up to 5 connections at a time.
The protocol used is TCP/IP. The port used for the communication is 4545.
The serial communication is available both on serial 1 and 2 of the POWER FOCUS,
When running serial communication, all the messages exchanged between the POWER
FOCUS and the station computer are the same as for Ethernet communication BUT must be
encapsulated between STX (ASCII 0x02) and ETX (ASCII 0x03).
Furthermore all the messages sent from the station computer to the POWER FOCUS must
be stamped with a tag before the STX character. The tag is constituted with 4 ASCII
characters following each other : BEL (ASCII 0x07) HT (ASCII 0x09) BEL (ASCII 0x07) HT
(ASCII 0x09).
In order to detect RS232 cable disconnection the POWER FOCUS has a communication
timeout equal to 15s i.e. if no message has been exchanged between the integrator and the
POWER FOCUS since the last 15s, the POWER FOCUS considers the connection as lost and
close it.
In order to keep the communication alive the integrator must send a keep alive to the POWER
FOCUS with a time interval lower than 15s.
Notice:
An inactivity timeout is suggested to integrator i.e. if no message has been exchanged during
the last 5s or 10s, send a keep alive.
The protocol is the same as the ASCII serial open protocol (see upper “Serial ASCII protocol on
serial 2 or serial 1) but all messages exchanged between the POWER FOCUS and the
integrator is transferred within the telegram frame in accordance with Procedure 3964R.
The Procedure 3964R is a transfer protocol between two systems A and B. Every time one of
the systems wants to send something the following procedure is initiated:
Page 7(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
The protocol 3964R allows reliable data transfer by virtue of the fact that the receiver must first
signal to the transmitter that it is ready to receive (connection setup) and then after data
interchange must acknowledge correct reception. Data integrity is insured by an additional
block check character BCC.
The block check control is the EXORing of all the transmitted data bytes. The generation
begins with the first byte of the telegram and ends after characters DLE (ASCII 0x10 Data Link
Escape) and ETX (ASCII 0x03 End of Text).
STX
Acknowledgment
timeout 2s DLE
”Command start ack” followed STX00570002 Data /0 ETX DLE ETX BCC
with DLE, ETX, BCC
DLE
Page 8(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
STX
Acknowledgment
timeout 2s
”Command start ” followed with DLE
DLE, ETX, BCC
DLE
The POWER FOCUS sends the control character STX (ASCII 0x02 Start of Text) to setup the
connection and waits for an acknowledgment for 2s (acknowledgment timeout = 2s). If the
integrator responds with the acknowledge character DLE the POWER FOCUS 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, it means that the connection setup procedure has failed. The connection
setup procedure is aborted after a total of 6 unsuccessful attempts.
If the connection setup is successful, the POWER FOCUS sends the Open Protocol serial
command followed by the characters DLE, ETX and BCC as end identifier. The integrator
monitors the incoming time between two characters. The interval between two characters may
not exceed the character delay timeout =100 ms.
The POWER FOCUS then waits for an acknowledgement character from the integrator. If the
integrator sends the control character DLE within the acknowledgment delay time, the open
protocol telegram has been accepted error free.
If the integrator responds with control character NAK or any other character (apart from DLE),
or if the acknowledgment delay time elapses with no answer the transmission is aborted and
the POWER FOCUS starts a new connection setup with character STX. The procedure is
aborted and the POWER FOCUS sends a NAK to the integrator after a total of 6 unsuccessful
attempts.
If the integrator sends a NAK during transmission, the POWER FOCUS 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 a STX from the POWER FOCUS in idle state, it answers with DLE. If it
receives any other character any STX in Idle state it waits for the character delay time to elapse
and then sends a NAK.
Page 9(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
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 POWER FOCUS.
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 POWER FOCUS. If the BCC is not correct a NAK
is sent to the POWER FOCUS. A retry is then awaited. If it is not possible to receive the
telegram with error free BCC after 6 attempts, the integrator aborts the reception.
What was described above can be applied to the case where the integrator is the sender and
the POWER FOCUS the receiver.
In order to be able to detect serial cable loss, the tightening controller has a communication
timer. This timer (15 s) is reset every time it sends or receives a message on the serial line.
If no messages have been exchanged since 15 seconds, the connection is assumed to be lost
and the tightening controller close the connection. This strategy to detect cable loss implies that
the client application sends a keep alive before the timer in the tightening controller expires.
3.1.2.4 Serial cable loss detection OFF, keep alive not needed
In option, it is possible to get rid of the need of sending keep alive to the tightening controller. In
this case the controller will not be able to detect the loss of serial connection or serial cable.
But this possibility may be useful to reduce the load on certain serial devices (PLC, printers …)
which have difficulties to cope with full duplex traffic.
To get rid of the need of sending keep alive using serial connection, uncheck C452 Serial cable
loss detection.
Special Note:
In some cases, after communication lost, the tightening controller may answer to a
“Communication start” with a “Command Error (MID = 0004) / client already connected”.
This case, must be handled by the client application and may not be considered as a failure.
Page 10(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
3.3 Header
Table 1
Part Bytes Comment
Length 4 The header always contains the length of the telegram. The length is
four ASCII digits long (‘0’…’9’) specifying a range of 0000 to 9999.
The length is the length of the header plus the data field exclusive the
NULL termination.
MID 4 The MID is four byte long and is specified by four ASCII digits
(‘0’…’9’). The MID describes how to interpret the sent telegram.
Revision 3 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 where
several versions are available for the same MID. Using the
revision number the station computer 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 station
computer is interested in the initial revision (revision 1) of the
MID, it can send three spaces as MID revision or 001.
No Ack Flag 1 ONLY FOR SUBSCRIPTIONS 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” telegram sent by the torque
controller (reliable mode).
If set, the torque controller will only push out the information
required without waiting for a receive acknowledgement from
the subscriber (unreliable mode).
Spare 8 Reserved space in the header for future use.
Special Note:
The Length and MID are padded on the left with zeroes (ASCII 0x30).
Page 11(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Each parameter is represented with the following structure (if nothing else is mentioned):
Id Parameter Value
If the Parameter value is only specified by ASCII digits the parameter value is padded on the
left with the ASCII characters ‘0’.
If the Parameter value is specified by ASCII characters (taken between 0x20 and 0x7F Hex),
the parameter value is padded on the right with space <SPC> (ASCII character 0x20 Hex).
Special Notes:
The data field of each message is subject to future modifications, new parameters may be
added and by the way the length of the data field could increase.
All the telegrams are NULL terminated. The NULL termination is not included in the message
length.
Page 12(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
4. Available Messages
Table 2
MID Description
0001 Communication start
0002 Communication start acknowledge
0003 Communication stop
0004 Command error
0005 Command accepted
0010 Parameter set numbers upload request
0011 Parameter set numbers upload reply
0012 Parameter set data upload request
0013 Parameter set data upload reply
0014 Parameter set “selected” subscribe
0015 Parameter set “selected”
0016 Parameter set “selected” acknowledge
0017 Parameter set “selected” unsubscribe
0018 Select Parameter set
0019 Set Parameter set batch size
0020 Reset Parameter set batch size
0030 Job numbers upload request
0031 Job numbers upload reply
0032 Job data upload request
0033 Job data upload reply
0034 Job “info” subscribe
0035 Job “info”
0036 Job “info” acknowledge
0037 Job “info” unsubscribe”
0038 Select Job
0039 Job restart
0040 Tool data upload request
0041 Tool data upload reply
0042 Disable tool
0043 Enable tool
0044 Disconnect tool
0045 Set calibration value request
0050 Vehicle Id Number download request
0051 Vehicle Id Number upload subscribe
0052 Vehicle Id Number upload
0053 Vehicle Id Number upload acknowledge
0054 Vehicle Id Number upload unsubscribe
0060 Last tightening result data subscribe
0061 Last tightening result data upload
0062 Last tightening result data acknowledge
0063 Last tightening result data unsubscribe
0064 Old tightening result upload request
0065 Old tightening result reply
0070 Alarm subscribe
0071 Alarm Upload
0072 Alarm Upload acknowledge
Page 13(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Page 14(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Special Note:
Before any changes made in the MID list all concerned parties must be contacted.
Page 15(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
5. Communication
The protocol can be split in two parts a “Request / Response” part, and an “Event” part which
could be describe as follow.
The station computer sends a command to the torque controller (select Pset …). The torque
controller will always answer to this command with a positive or a negative reply (Command
accepted or Command Error).
If no answer to the request is received before the response timeout, the station computer
should re-send the request up to three times. After three times, the connection is considered as
lost and a new connection must be established.
Table 3
Page 16(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
The torque controller can spontaneously send telegrams to the station computer after an event
(such as a rundown, an alarm …) for that event telegrams are used. This services are only
enabled by the torque controller after a request (subscription) from the station computer.
Table 4
MID Event telegram
0015 Parameter set “selected”
0035 Job “info”
0052 Vehicle Id Number upload
0061 Last tightening result data upload
0071 Alarm Upload
0074 Alarm Acknowledged on torque controller
0076 Alarm Status
0091 Multi spindle status upload
0092 Multi spindle result upload
0121 Job line control started
0122 Job line control alert 1
0123 Job line control alert 2
0124 Job line control done
0152 Multiple Identifiers work order upload
0211 Status “external monitored inputs” upload
0217 Relay function upload
0401 Automatic/Manual mode upload
0421 Open protocol commands disabled upload
The subscription is made with the Request / Response telegram. The subscription can be
cancelled at any time by the station computer by sending an unsubscribe telegram.
Table 5
MID Event telegram subscribe / unsubscribe from the Station computer
0014 Parameter set “selected” subscribe
0017 Parameter set “selected” unsubscribe
0034 Job “info” subscribe
0037 Job “info” unsubscribe”
0051 Vehicle Id Number upload subscribe
0054 Vehicle Id Number upload unsubscribe
0060 Last tightening result data subscribe
0063 Last tightening result data unsubscribe
0070 Alarm subscribe
0073 Alarm Unsubscribe
0090 Multi spindle status subscribe
0093 Multi spindle status unsubscribe
0100 Multi spindle result subscribe
0101 Multi spindle result unsubscribe
0120 Job line control info subscribe
0126 Job line control info unsubscribe
0151 Multiple Identifiers work order upload subscribe
0154 Multiple Identifiers work order upload unsubscribe
Page 17(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
The station computer should acknowledge the event telegrams by sending the corresponding
acknowledge MID (see Table 6). If no acknowledge is received before the response timeout the
torque controller will re-send the telegram up to three times. After three times the torque
controller will consider the connection as lost.
Table 6
Page 18(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Enables the command link. The torque controller will not respond to any other commands
before this. The torque controller answers with a command error “Already connected” if the link
has already been enabled.
When accepting the communication the torque controller sends as reply, a Communication
start acknowledge. This message contains some basic information about the torque controller
which accept the connection (cluster number, channel number, torque controller Name)
The length of MID 2 revision 1 is 57 bytes (37 bytes of data + 20 bytes header).
The length of MID 2 revision 2 is 62 bytes (42 bytes of data + 20 bytes header).
The length of MID 2 revision 3 is 125 bytes (105 bytes of data + 20 bytes header).
Page 19(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Possible answers No
Example revision 1:
Page 20(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Disables the command link. The torque controller will stop to respond to any commands (except
for “Communication start” MID = 0001) after receiving this command.
Page 21(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
This message is used by the torque controller when a request for one reason could not have
been performed. The data field contains the message Id of the telegram request that failed as
well as an error code.
Error Error code (“00”..”99”), two bytes. See Error! Reference source not
found..
Page 22(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Table 10
Error Description
“01” Invalid data.
“02” Pset number not present
“03” Pset can not be set.
“04” Pset not running
“06” VIN upload subscription already exists
“07” VIN upload subscription does not exists
“08” VIN input source not granted
“09” Last tightening result subscription already exists
“10” Last tightening result subscription does not exist
“11” Alarm subscription already exists
“12” Alarm subscription does not exist
“13” Parameter set selection subscription already exists
“14” Parameter set selection subscription does not exist
“15” Tightening Id requested not found
“16” Connection rejected protocol busy
“17” Job number 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
“30” Controller is not a sync Master
“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 number
“58” No alarm present
“59” Tool currently in use
“60” No histogram available
“70” Calibration failed
“80” Reserved
“81” Reserved
“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
“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
Page 23(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Example:
The request Select Pset (MID = 0018) failed, the Pset number was not present in the torque
controller.
This message is used by the torque controller to confirm that the last request sent by the
station computer was accepted. The data field contains the MID of the request accepted.
Example:
Page 24(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
A request for all the valid Parameter set number of the torque controller. The result of this
command will be the transmission of all the valid Pset number of the torque controller
(Parameter set numbers upload reply MID = 0011)
The transmission of all the valid Pset numbers of the torque controller. The data field contains
the number of valid pset currently present in the torque controller, and the number of each Pset
present.
Nbr of valid Pset : number of pset present in the torque controller specified by 3 bytes
(max 999).
Each Pset number is three byte long and is specified by three ASCII digits (‘0’….’9’).
Possible answers No
Example :
Page 25(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Pset Number Parameter set number, is three byte long and is specified by three ASCII
digits (‘0’….’9’)..
Example :
Page 26(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Table 11
Parameter Id Bytes Comment
Pset id 01 3 ASCII digits. Range 0-999
Pset name 02 25 ASCII character Fill with SPC if Pset Name size < 25
Rotation direction 03 1 ASCII digit 1. CW
2. CCW
Batch size 04 2 ASCII digit Range 0-99
Torque min 05 6 ASCII digits The torque min limit is multiplied by 100 and sent
as an integer (2 decimals truncated).
Torque max 06 6 ASCII digits The torque max limit is multiplied by 100 and sent
as an integer (2 decimals truncated
Torque final target 07 6 ASCII digits The torque final target is multiplied by 100 and
sent as an integer (2 decimals truncated).
Angle min 08 5 ASCII digits The angle min value has a specified range
between 0 and 99999.
Angle max 09 5 ASCII digits The angle max value is five byte long and is
specified by five ASCII digits (‘0’….’9’).
Final Angle Target 10 5 ASCII digits The target angle has a specified range between 0
and 99999. The target angle is specified in
degrees.
Possible answers No
Example :
Page 27(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
A subscription for the Pset selection. A message (Parameter set selected MID = 0015) is sent
to the station computer each time a new Pset is selected. Note that the message as well is sent
after the answer (Command accepted MID = 0005) is sent, as an immediate response to the
subscribe message.
Example:
Possible answers No
Page 28(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Pset Number Parameter set number represented by 3 ASCII digits (range 000 to 999).
Page 29(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
This telegram gives the possibility to set the batch size of a parameter set in run time.
Pset Number Parameter set number represented by 3 ASCII digits (range 000 to 999).
Batch Size Size of the parameter set batch represented by 2 ASCII digits
(range 00-99)
This telegram gives the possibility to reset the batch counter of the running parameter set in
run time.
Pset Number Parameter set number represented by 3 ASCII digits (range 000 to 999).
Page 30(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
A request for all the valid Job numbers of the POWER FOCUS. The result of this command will
be the transmission of all the valid Job numbers of the POWER FOCUS (Job numbers upload
reply
MID = 0031)
The transmission of all the valid Job numbers of the POWER FOCUS
Each Job number is two bytes long and is specified by three Ascii digits (‘0’….’9’). Range
(‘00’…’99’).
Possible answers No
Example :
Page 31(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Request to upload the data from a specific Job from the POWER FOCUS.
Job Nbr Job Nbr is two bytes long and is specified by two Ascii digits (‘0’….’9’)
Example :
00220032 01
Page 32(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
The job data reply is sent as a reply to the Job data request (MID = 0032).
Table 12
Parameter Id Bytes Comment
Job number 01 2 The job number (JobId) is specified by two ASCII characters. Range 0-99
Job name 02 25 Job name
Forced order 03 1 One ASCII character
0 – free order
1 – forced order
2 – free and forced
Maxtime for first 04 4 0-9999 seconds defined by four ASCII characters
tightening 0 = not used
Maxtime to complete job 05 5 0-99999 seconds defined by five ASCII characters
0 = not used
Job batch mode/ 06 1 The job batch mode is the way to count the bolt in a job; only the OK or both OK
batch count type and NOK.
One ASCII character
0 -> only the OK bolts are counted
1 -> both the OK and NOK bolts are counted
Lock at job done 07 1 One ASCII character
0 – No
1 – Yes
Use line control 08 1 One ASCII character
0 – No
1 – Yes
Repeat job 09 1 One ASCII character
0 – No
1 – Yes
Tool loosening 10 1 Tool loosening. One ASCII character.
0 – Enable
1 – Disable
2 – Enable only on NOK tightening
Reserved 11 1 Reserved for job repair. One ASCII character.
0–E
1–G
Number of psets 12 2 The number of psets in the job list, defined by two ASCII characters
Job list 13 N x 12 A list with up to 30 Psets where each Pset is defined by a number of parameters
separated by “:” and terminated by “;” (12 bytes) according to:
[PF-id]:[Type-ID]:[AutoValue]:[BatchSize];
Ex: 15:011:0:22;
Possible answers No
Page 33(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
A subscription for the Job “info”. A message is sent to the station computer when a new Job is
selected (Job “info” MID = 0035)) and after each rundown performed during the job.
Page 34(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
The job info subscriber will receive a job info telegram after a job has been selected and after
each rundown performed in the job. The job info consists of the number of the currently running
job, the job status, the job batch mode, the job batch size and the job batch counter.
Table 13
Parameter Id Bytes Comment
Job number 01 2 The job number is specified by 2 ASCII characters Range 0-99
Job status 02 1 The job batch status is specified by one ASCII character.
0 job batch not completed / 1 job batch OK / 2 job batch NOK.
Job batch mode 03 1 The job batch mode is the way to count the bolt in a job only the OK or both OK
and NOK.
The job batch mode is specified by one ASCII character
0 -> only the OK bolts are counted
1 -> both the OK and NOK bolts are counted
Job batch size 04 4 This parameter gives the total number of tightening in the job. The job batch size
is four byte long specifying a range of 0000 to 9999.
Job batch counter 05 4 This parameter gives the current value of the job batch counter. The job is
completed when the job batch counter is equal to the Job batch size. The job
batch counter is four byte long specifying a range of 0000 to 9999.
Time stamp 06 19 Time stamp for the job info sent to the control station. The time stamp is 19 byte
long and is specified by 19 ASCII characters (YYYY-MM-DD:HH:MM:SS).
Example:
00630035 0101020030040008050003062001-12-01:20:12:45
Possible answers No
Page 35(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Page 36(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Sent by Integrator
Sent by Integrator
Example:
00220039 01
Page 37(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
A request for some data stored in the tool. The result of this command will be the transmission
of the tool data.
The length of MID 41 revision 1 is 81 bytes (61 bytes of data + 20 bytes header).
The length of MID 41 revision 2 is 156 bytes (136 bytes of data + 20 bytes header).
Page 38(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Page 39(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Disable tool
Enable tool
This command is sent by the station computer in order to request the possibility to unmount the
tool on the torque controller. The command will be rejected if the tool is currently used.
When the command is accepted the worker can loose the tool and replace it (hot swap).
Page 40(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
This command is sent by the station computer in order to request to set the calibration value of
the tool.
Table 16
Page 41(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Used by the station computer to send a VIN number to the torque controller.
The VIN number is represented by max 25 ASCII characters. If the VIN number length is lower
than 25 characters, the VIN number field is filled with space SPC
This telegram is used by the station computer to set a subscription for the current identifiers of
the tightening result. The tightening result can be stamped with up to four identifiers:
- VIN number
- Identifier result part A
- Identifier result part B
- Identifier result part C
Those identifiers could have been received by the torque controller from several input sources
(serial, Ethernet, field bus…).
In the revision 1 of the MID only the VIN number is transmitted. In revision 2, all four possible
identifiers are transmitted.
Page 42(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Transmission of the current identifiers of the tightening by the torque controller to the
subscriber.
The tightening result can be stamped with up to four identifiers:
The length of MID 52 revision 1 is 45 bytes (25 bytes of data + 20 bytes header).
The length of MID 52 revision 2 is 128 bytes (108 bytes of data + 20 bytes header).
Those identifiers could have been received by the torque controller from several input sources
(serial, Ethernet, field bus…).
Page 43(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Possible answers No
Reset the subscription for the barcode (VIN) received by the torque controller.
Page 44(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Set the subscription for the rundowns result. The result of this command will be the
transmission of the rundown result after the tightening is performed (push function). The MID
revision in the header is used to subscribe to different revisions of MID = 0061.
Upload last tightening result. Six revisions are available for this MID.
The six revisions are presented in the following tables :
The length of MID 61 revision 1 is 231 bytes (211 bytes of data + 20 bytes header).
The length of MID 61 revision 2 is 385 bytes (365 bytes of data + 20 bytes header).
The length of MID 61 revision 3 is 419 bytes (399 bytes of data + 20 bytes header).
The length of MID 61 revision 4 is 500 bytes (480 bytes of data + 20 bytes header).
The length of MID 61 revision 5 is 505 bytes (485 bytes of data + 20 bytes header).
The MID 61 revision 999 is 121 bytes (101 bytes of data + 20 bytes header).
Page 45(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Page 46(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Page 47(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Page 48(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Page 49(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Special Note :
The identifier result parts will only be set if the multiple identifier option has been activated in
the torque controller.
Page 50(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Special Note :
The MID 61 light revision 999 is intended to be used by station computers with limited receiving
capability (small receive buffer). In order to limit the size of the MID 61 as much as possible the
parameter Ids usually sent in the telegram have been removed.
Page 51(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Possible answers No
Reset the last tightening result subscription for the rundowns result.
Page 52(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
This telegram is a request to upload a special rundown result from the torque controller. The
result wanted is specified by its unique Id (tightening Id). This telegram can be useful after
a failure of the network in order to retrieve the missing result during the communication
interruption (the station computer can see the missing results by always comparing the last
tightening ids of the two last received rundowns packets (parameter 23 in the result telegram).
Requesting tightening Id zero is the same as requesting the latest rundown performed.
Page 53(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Old tightening upload. Four revisions are available for this MID.
The four revisions are presented in the following tables :
The length of MID 65 revision 1 is 118 bytes (98 bytes of data + 20 bytes header).
The length of MID 65 revision 2 is 226 bytes (206 bytes of data + 20 bytes header).
The length of MID 65 revision 3 is 233 bytes (213 bytes of data + 20 bytes header).
The length of MID 65 revision 4 is 314 bytes (294 bytes of data + 20 bytes header).
Possible answers No
Page 54(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Page 55(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Page 56(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Special Note :
The identifier result parts will only be set if the multiple identifier option has been activated in
the torque controller.
Possible answers No
Example revision 1:
Page 57(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
A subscription for the alarms that can pop up on the torque controller
An alarm has popped up on the torque controller. The current alarm is uploaded by the torque
controller to the station computer.
Table 29
Possible answers No
Example:
20 bytes 23 bytes
Page 58(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Possible answers No
This telegram is sent by the torque controller to inform the station computer that the current
alarm has been acknowledged.
Example:
Page 59(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Possible answers No
The alarm status is sent after an accepted subscription for the torque controller alarms.
The aim of the alarm status is to eventually inform the station computer that an alarm is
currently active on the controller at connection.
Table 30
Example:
20 bytes 23 bytes
Page 60(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Possible answers No
The station computer can remotely acknowledge the current alarm on the torque controller by
sending MID 78. If no alarm is currently active when the torque controller receives the
command, the command will be rejected with a “Command Error, No alarm present”.
Page 61(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Possible answers No
Page 62(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
A subscription for the multi spindle status (synch application). The subscription can only be
addressed to a sync Master.
The multi spindle status is sent from the “sync master” to the station computer after each sync
tightening. The multiple status contains the common status of the multiple as well as the
individual status of each spindle (in the sync list order).
Table 31
Page 63(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Example:
Multiple status for two spindles. Common status OK, spindle 1 OK, spindle 2 OK.
20 bytes 47 bytes
Possible answers No
Page 64(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
A subscription for the multi spindle status (synch application). The subscription can only be
addressed to a sync Master.
The multi spindle result is sent from the “sync master” to the station computer after each sync
tightening. The multiple spindle result contains the common status of the multiple as well as the
tightening result of each spindle (torque and angle) of each spindle (in the sync list order).
Page 65(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Table 32
Pset number 04 3 This is the pset number that is run (psetId). The pset number is three byte long specifying
a range of 000 to 999 and is specified by three ASCII digits (‘0’….’9’).
Batch Size 05 4 This parameter gives the total number of tightening in the batch. The batch size is four
byte long specifying a range of 0000 to 9999.
Batch counter 06 4 The batch counter number is four byte long specifying a range of 0000 to 9999 and is
specified by four ASCII digits (‘0’….’9’).
Page 66(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Possible answers No
Page 67(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
By sending this telegram the integrator can display a text on the compact display. The text must
be maximum 4 bytes long (if the text is less than 4 characters or digits long pad with space
SPC 0x20).
The character that can be displayed are limited due to hardware of the compact display.
Each character must fit in seven segments :
1 7 3
6 4
This means for example that it is not possible to display a M on the compact display.
The text will be displayed until next tightening, new Pset or Job selection, or event code.
By sending this telegram the integrator can display a text on the graphic display. The user can
furthermore set the time for the text to be displayed and if the text should be acknowledged by
the operator or not.
The text is divided into four lines with 25 ASCII characters each.
The first line is the text header and is in upper character.
If a line is shorter than 25 characters it must be padded with blanks (SPC 0x20) on the right.
Page 68(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Table 33
By sending this telegram the integrator can make the green light on the tool flash. The light on
the tool will flash until the operator push the tool trigger.
Page 69(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
A subscription for the for the job line control information. A telegram is sent to the integrator
when the Job line control is started, for alert level 1 (80 %), for alert level 2 or when the job is
finished before the alert level 2 (Job line control done).
This telegram tells the integrator that Job Line control start has been set in the POWER
FOCUS.
This telegram tells the integrator that the car has reached 80% of the station and that the Job
line control alert 1 is set in the POWER FOCUS.
Page 70(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
This telegram tells the integrator that the Job line control alert 2 is set in the POWER FOCUS.
This telegram tells the integrator that the job has been completed before the alert level 2 was
reached.
Acknowledge for Job line control info telegrams MID 0121, 0122, 0123, 0124.
Possible answers No
Page 71(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Page 72(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Page 73(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Set the torque controller computer in job off mode or reset the job off mode.
Job Off status Job off status is one byte long and is specified by one ASCII digit
0 = set job off, 1 = reset job off
Page 74(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
The station computer requests a dynamical job to be executed i.e. the job sent from the station
computer is immediately executed (if possible) by the torque controller but not saved in the
memory. A dynamical job lifetime is the time for the job to be executed. If the torque controller
is powered off before the completion of the job, the dynamical job is lost.
Do note the limitation when sending this message on a serial connection due to the size of the
read buffer (256 bytes) in the torque controller. In such case the number of psets in the job list
is limited.
Page 75(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Table 34
Page 76(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Used by the station computer to send an identifier to the torque controller. The identifier could
be or can include a VIN number or a result part number.
The identifier number is represented by max 100 ASCII characters. The length of the telegram is
the sum of the header length and the identifier length.
This telegram is used by the station computer to set a subscription for the identifiers received
and accepted by the torque controller during the identifier work order. Those identifiers could
have been received by the torque controller from several input sources (serial, Ethernet, field
bus…).
Page 77(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Transmission of the identifier work order status by the torque controller to the subscriber.
The identifier work order contains the status of the max four identifiers parts that could be
present in a work order.
Table 35
Possible answers Multiple identifiers work order upload acknowledge (MID = 0153)
Page 78(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Possible answers No
Page 79(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
This telegram is used by the station computer to bypass the next identifier expected in the work
order.
This telegram is used by the station computer to reset the latest identifier or bypassed identifier
in the work order.
This telegram is used by the station computer to reset all the identifiers in the current work
order.
Page 80(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
By using this telegram the station computer can control 10 relays (external control relays). The
station can set, reset the relays and make them flashing.
Table 36
Parameter Bytes Comment
Status relay 1 1 Set the status for relay 1. The relay status is one byte long and specified by 1
ASCII digits range 0-3.
0 = Off, 1 = On (fast), 2 = Flashing, 3 = Do not care (keep the same status)
Status relay 2 1 Set the status for relay 2. The relay status is one byte long and specified by 1
ASCII digits range 0-3.
0 = Off, 1 = On (fast), 2 = Flashing, 3 = Do not care (keep the same status)
Status relay 3 1 Set the status for relay 3. The relay status is one byte long and specified by 1
ASCII digits range 0-3.
0 = Off, 1 = On (fast), 2 = Flashing, 3 = Do not care (keep the same status)
Status relay 4 1 Set the status for relay 4. The relay status is one byte long and specified by 1
ASCII digits range 0-3.
0 = Off, 1 = On (fast), 2 = Flashing, 3 = Do not care (keep the same status)
Status relay 5 1 Set the status for relay 5. The relay status is one byte long and specified by 1
ASCII digits range 0-3.
0 = Off, 1 = On (fast), 2 = Flashing, 3 = Do not care (keep the same status)
Status relay 6 1 Set the status for relay 6. The relay status is one byte long and specified by 1
ASCII digits range 0-3.
0 = Off, 1 = On (fast), 2 = Flashing, 3 = Do not care (keep the same status)
Status relay 7 1 Set the status for relay 7. The relay status is one byte long and specified by 1
ASCII digits range 0-3.
0 = Off, 1 = On (fast), 2 = Flashing, 3 = Do not care (keep the same status)
Status relay 8 1 Set the status for relay 8. The relay status is one byte long and specified by 1
ASCII digits range 0-3.
0 = Off, 1 = On (fast), 2 = Flashing, 3 = Do not care (keep the same status)
Status relay 9 1 Set the status for relay 9. The relay status is one byte long and specified by 1
ASCII digits range 0-3.
0 = Off, 1 = On (fast), 2 = Flashing, 3 = Do not care (keep the same status)
Status relay 10 1 Set the status for relay 10. The relay status is one byte long and specified by 1
ASCII digits range 0-3.
0 = Off, 1 = On (fast), 2 = Flashing, 3 = Do not care (keep the same status)
Example:
20 bytes 10 bytes
Reset relay 1, set relay 2, reset relay 3, flash relay 4, keep relay 5 as it is ….
Page 81(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
By using this telegram the station computer can set a subscription to monitor the status for the
8 “external monitored digital inputs”. After the subscription the station will receive a telegram
every time the status of at least one of the 8 inputs has changed.
Status for the 8 “external monitored digital inputs”. This telegram is sent to the subscriber every
time the status of at least one of the 8 inputs has changed.
Possible answers Status “external monitored inputs” upload acknowledge (MID = 212)
Table 37
Parameter Bytes Comment
Status DIG/IN 1 1 The DIG/IN status is one byte long and specified by 1 ASCII digits range 0-1.
0 = Off, 1 = On
Status DIG/IN 2 1 The DIG/IN status is one byte long and specified by 1 ASCII digits range 0-1.
0 = Off, 1 = On
Status DIG/IN 3 1 The DIG/IN status is one byte long and specified by 1 ASCII digits range 0-1.
0 = Off, 1 = On
Status DIG/IN 4 1 The DIG/IN status is one byte long and specified by 1 ASCII digits range 0-1.
0 = Off, 1 = On
Status DIG/IN 5 1 The DIG/IN status is one byte long and specified by 1 ASCII digits range 0-1.
0 = Off, 1 = On
Status DIG/IN 6 1 The DIG/IN status is one byte long and specified by 1 ASCII digits range 0-1.
0 = Off, 1 = On
Status DIG/IN 7 1 The DIG/IN status is one byte long and specified by 1 ASCII digits range 0-1.
0 = Off, 1 = On
Status DIG/IN 8 1 The DIG/IN status is one byte long and specified by 1 ASCII digits range 0-1.
0 = Off, 1 = On
Page 82(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Example:
20 bytes 8 bytes
Possible answers No
Page 83(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Request for the status of the relays and digital inputs at a device, e.g. an I/O expander. The
device is specified by a device number with two ASCII characters (00-15). Device number 0
denotes the internal device and 1 to 15 the I/O expanders.
Page 84(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
This message is sent as an answer to the IO device status request (MID = 00214).
MID 0215 revision 1, should only be used to get the status of IO devices with max 8
relays/digital inputs.
For external I/O devices each list contain up to 8 relays/digital inputs. For the internal device the
lists contain up to 4 relays/digital inputs and the remaining 4 will be empty.
The length of MID 0215 revision 1 is 92 bytes (72 bytes of data + 20 bytes header).
MID 0215 revision 2, can be used to get the status of all types of IO devices with up to 48
relays/digital inputs.
Possible answers No
Example:
For I/O device 8, relays 11, 22, 33, 44 are reset and 55, 66, 77, 88 are set and digital inputs 11,
22, 33, 44 are high and 55, 66, 77, 88 are low.
20 bytes 72 bytes
Page 85(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
See Table 40,Table 41 for how to interpret the relay numbers and digital input numbers i.e.
what function they map to, e.g. relay number 2 denotes OK.
Table 40
Relay number Relay function Tracking event
00 Off
01 OK
02 NOK
03 Low
04 High
05 Low Torque
06 High Torque
07 Low angle
08 High angle
09 Cycle complete
10 Alarm Yes
11 Batch NxOK Yes
12 Job OK Yes
13 Job NOK Yes
14 Job running Yes
15 Reserved Yes
16 Reserved Yes
17 Not used
18 POWER FOCUS ready Yes
19 Tool ready Yes
20 Tool start switch Yes
21 Dir. switch = CW Yes
22 Dir. switch = CCW Yes
23 Tightening direction CCW Yes
24 Tool tightening Yes
25 Tool loosening Yes
26 Tool running Yes
27 Tool running CW Yes
28 Tool running CCW Yes
29 Statistic alarm Yes
30 Tool locked Yes
31 Received identifier
32 Running pset bit 0 Yes
33 Running pset bit 1 Yes
34 Running pset bit 2 Yes
35 Running pset bit 3 Yes
36 Running job bit 0 Yes
37 Running job bit 1 Yes
38 Running job bit 2 Yes
39 Running job bit 3 Yes
40 Not used
41 Not used
42 Not used
43 Not used
44 Line control OK
45 Line control alert 1
46 Line control alert 2
47 Service indicator Yes
48 Fieldbus relay 1 Yes
49 Fieldbus relay 2 Yes
50 Fieldbus relay 3 Yes
51 Fieldbus relay 4 Yes
52 Tool red light Yes
53 Tool green light Yes
54 Tool yellow light Yes
55 Reserved Yes
56 Reserved Yes
57 Reserved Yes
58 Reserved Yes
Page 86(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Page 87(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Page 88(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Page 89(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Table 41
DigIN number DigIN function
00 Off
01 Reset batch
02 Unlock tool
03 Tool disable n.o.
04 Tool disable n.c.
05 Tool tightening disable
06 Tool loosening disable
07 Remote start puls
08 Remote start cont.
09 Tool start loosening
10 Batch increment
11 Bypass pset
12 Abort job
13 Job off
14 Pset toggle
15 Reset relays
16 Pset select bit 0
17 Pset select bit 1
18 Pset select bit 2
19 Pset select bit 3
20 Job select bit 0
21 Job select bit 1
22 Job select bit 2
23 Job select bit 3
24 Reserved
25 Reserved
26 Reserved
27 Reserved
28 Line control start
29 Line control alert 1
30 Line control alert 2
31 Ack error message
32 Fieldbus digin 1
33 Fieldbus digin 2
34 Fieldbus digin 3
35 Fieldbus digin 4
36 Flash tool green light
37 Reserved
38 Reserved
39 Reserved
40 Reserved
41 Reserved
42 Reserved
43 Reserved
44 Reserved
45 Pset select bit 4
46 Pset select bit 5
47 Pset select bit 6
48 Pset select bit 7
49 Job select bit 4
50 Job select bit 5
51 Job select bit 6
52 Job select bit 7
53 Batch decrement
54 Job restart
55 End of cycle
56 Reserved
57 Reserved
58 Reserved
59 Reserved
60 Reserved
61 Reserved
62 Click wrench 1
63 Click wrench 2
64 Click wrench 3
65 Click wrench 4
66 ID Card
Page 90(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Page 91(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Subscribe for one single relay function. The data field consists of three ASCII digits, the relay
number, which corresponds to the specific relay function. The relay numbers can be found in
Table 40 above. At a subscription of a tracking event (Table 40), MID 217 “Relay function
upload” immediately returns the current relay status to the subscriber.
MID 216 can only subscribe for one single relay function at a time, but still, Open protocol
supports keeping several relay function subscriptions simultaneously.
Page 92(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Upload of one specific relay function’s status. The data field consists of 4 bytes specified below:
For tracking event functions (see Table 40 above) MID 217, Relay function upload, is sent each
time the relay’s status is changed. For relay functions which are not tracking events, the upload
is sent only when the relay is set high, i.e. the data field “Relay function status” will always be 1
for such functions.
Possible answers No
Page 93(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Unsubscribe for a single relay functions. The data field consists of three ASCII digits, the relay
number, which corresponds to the specific relay function. The relay numbers can be found in
Table 40 above.
Page 94(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Request to upload an histogram from the torque controller for a certain parameter set.
The histogram is calculated with all the rundown results currently present in the torque
controller’s memory and within the statistic acceptance window (statistic min and max limits)
for the requested parameter set.
Table 42
Example :
Page 95(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Histogram upload reply for the requested parameter set and for the requested histogram type.
The histogram uploaded is made of 9 bars see picture below:
Table 43
Parameter Id Bytes Comment
Pset number 01 3 ASCII digits. Range 0-999, the Pset number of the requested
histogram
Histogram type 02 2 ASCII digits Histogram type is two bytes long and is specified by
two ASCII digits (‘0’….’9’).
00. Torque
01. Angle
02. Current
03. Prevail torque
04. Self Tap
05. Rundown angle
Sigma histogram 03 6 ASCII digits Sigma for all the rundown results (within the statistic
acceptance window) currently present in the memory
for the parameter set requested. Sigma is multiplied
by 100 and sent as an integer (2 decimals truncated).
Sigma is six byte long and is specified by six ASCII
digits (‘0’….’9’, ‘.’).
Mean value histogram 04 6 ASCII digits The mean value for all the rundown results (within the
(X-bar) statistic acceptance window) currently present in the
memory for the parameter set requested. The mean
value is multiplied by 100 and sent as an integer (2
decimals truncated). Mean value is six byte long and
is specified by six ASCII digits (‘0’….’9’, ‘.’).
Class range 05 6 ASCII digits The class range is equal to 6 sigma / 9.’
The is multiplied by 100 and sent as an integer (2
decimals truncated). Mean value is six byte long and
is specified by six ASCII digits (‘0’….’9’, ‘.’).
Bar 1 06 4 ASCII digits Number of rundown in bar 1, four bytes long and
specified as four ASCII digits (‘0’….’9’, ‘.’).
Bar 2 07 4 ASCII digits Number of rundown in bar 2, four bytes long and
specified as four ASCII digits (‘0’….’9’, ‘.’).
Bar 3 08 4 ASCII digits Number of rundown in bar 3, four bytes long and
specified as four ASCII digits (‘0’….’9’, ‘.’).
Bar 4 09 4 ASCII digits Number of rundown in bar 4, four bytes long and
specified as four ASCII digits (‘0’….’9’, ‘.’).
Bar 5 10 4 ASCII digits Number of rundown in bar 5, four bytes long and
specified as four ASCII digits (‘0’….’9’, ‘.’).
Bar 6 11 4 ASCII digits Number of rundown in bar 6, four bytes long and
specified as four ASCII digits (‘0’….’9’, ‘.’).
Bar 7 12 4 ASCII digits Number of rundown in bar 7, four bytes long and
specified as four ASCII digits (‘0’….’9’, ‘.’).
Bar 8 13 4 ASCII digits Number of rundown in bar 8, four bytes long and
specified as four ASCII digits (‘0’….’9’, ‘.’).
Bar 9 14 4 ASCII digits Number of rundown in bar 9, four bytes long and
specified as four ASCII digits (‘0’….’9’, ‘.’).
Page 96(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
A subscription for Automatic/Manual mode. A message is sent to the station computer when the
mode changes (Automatic/Manual mode upload MID = 0401).
After a successful subscription the message Automatic/Manual mode upload MID = 0401 with
the current mode status is sent to the station computer.
The Manual/Automatic mode is one ASCII digit (‘0’….’9’) that represents the operation mode.
‘0’ = Automatic mode
‘1’ = Manual mode
Possible answers No
Page 97(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Information about the setting of AutoDisable in the Torque Controller. Also contains information
about the currently running batch.
The Auto Disable setting is two ASCII digits (‘00’….’99’) that corresponds to the setting of “OKs
to disable station” in PowerMACS.
If the value is 0 the function “OKs to disable station” is not used.
Current Batch is two ASCII digits (‘00’….’99’) that represents the number of OK cycles that
have been run in the current batch. If the value is 0 no batch is running at the moment.
Page 98(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
When the “Open protocol commands disable” digital input is active, the station computer is
disabled from sending command telegrams to the torque controller. If a command telegram is
sent anyway, the torque controller answers by sending Command Error (MID 0004) “Open
protocol commands disabled” (Error 92). All open protocol commands can be found in the table
below.
Table 44 Open protocol commands
Page 99(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Set the subscription for the “open protocol commands disable” digital input. This command will
result in transmission of the open protocol commands disable input status. When a subscription
is set the “open protocol commands disable” digital input status is once uploaded (MID 0421)
automatically. Thereafter, the status is uploaded each time the digital input status changes
(push function).
Upload the status of the “open protocol commands disable” digital input. The data upload
consists of one byte delivering the digital input status. The status is uploaded each time the
“open protocol commands disable” digital input changes (push function).
Possible answers No
Page 100(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Reset the subscription for “open protocol commands disable” digital input.
Page 101(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
Notice:
An inactivity timeout is suggested to integrator i.e. if no message has been exchanged (sent or
received) during the last 10s, send a keep alive.
Page 102(103)
th
Power Focus Open Protocol 7.0 User Manual Version 34 / 20 March 2006
The following chapter describes how the integrator should proceed to establish a session with
the POWER FOCUS and set its subscriptions.
Tightening
performed
Tightening
performed
…..
Page 103(103)