On this page
Open Protocol
Open Protocol exchanges Atlas Copco Open Protocol messages for tightening results, commands, and active notifications.
Compatible devices and models
| Device series / model examples | Connection requirements |
|---|---|
| Atlas Copco tightening controllers supporting Open Protocol | Enable the corresponding Open Protocol service and select MID, revision, subscriptions and commands supported by the controller. |
Controller service and tightening subscriptions
- Enable Open Protocol in the controller engineering or communication settings. Record TCP port, supported revisions, station and spindle IDs. A connected socket still needs MID0001 login.
- Create a TCP client channel, select this plugin and match Login revision. Read parameter-set IDs with String or Object address
mid=10;response=11;revision=1and compare the controller list. - Enable tightening-result subscription, then create Object address
subscribe=61;revision=1;station=1;spindle=1. This selects incoming MID0061, not a poll sending MID0061 each cycle. - Produce a new controller result and compare result ID, status, torque and angle. Object torque is already converted from hundredths to N·m; do not divide by
100again. String retains raw data-area text.
Timeouts and acknowledgements
Exchange timeout waits for the matching response; fragment timeout waits for a complete packet. Default heartbeat sends MID9999 every 10000 ms, without generating tightening results.
Normal acknowledgement follows No Ack Flag and known mappings. Enable Acknowledge all only when required. Private mappings use incomingMID:ackMID; do not substitute arbitrary response MIDs. MID0005 means command accepted; inspect controller feedback for the resulting action.
Open the plugin
Enter “Development Configuration → Collection Configuration”, create a device and select “Open Protocol” in “Device Plugin”.
Supported channels and data types
| Channel type | Pre-configuration check |
|---|---|
| TCP Client | Confirm network reachability of the device IP, port, and gateway to the device. |
Optional data types: String and Object. String retains the message data area; Object provides a read-only structure from the layouts below.
Plugin properties
Protocol parameters
| Setting | Description |
|---|---|
| Login Revision | Default 1; range 0–999. Revision of the MID 0001 login message. |
| Acknowledge All Controller Messages | Disabled by default. Ignore No Ack Flag and acknowledge all unsolicited messages with a configured acknowledgement mapping. |
| Custom Acknowledgements | Enter unsolicitedMID:acknowledgementMID pairs, separated by commas or semicolons. |
Running parameters
| Setting | Description |
|---|---|
| Transaction Timeout (ms) | Default 5000; range 1–65535. Maximum wait for a matching transaction response. |
| Fragment Receive Timeout (ms) | Default 5000; range 1–2147483647. Maximum wait for an incomplete network message to be completed. |
| Heartbeat Enabled | Enabled by default. Send MID 9999 heartbeat messages periodically. |
| Heartbeat Interval (ms) | Default 10000; range 1–2147483647. Applies when heartbeats are enabled. |
Address rules
- Address Description
- mid=10;response=11;revision=1 Poll parameter set ID list
- mid=18;response=accept;data=001 sends command and waits for MID 0005
- mid=80;response=81;station=1;spindle=2 Q&A with workstation and spindle
- subscribe=61 subscribe controller active MID 0061
Structured values
Choose Object and keep the polling or subscription address, for example mid=32;response=33;revision=1;data=04 or subscribe=61;revision=1;station=1;spindle=2. The value contains Mid, Revision, StationId, SpindleId, and Data. Variables sharing one read source use the same acquisition result.
| Response MID | Structure and supported revision |
|---|---|
| 0011, 0013, 0015 | Parameter set IDs, parameter set, selection notification; 001 |
| 0031 | Job IDs; 001, 002 |
| 0033 | Job and program items; 001 |
| 0035 | Job status and batch counts; 001, 002 |
| 0041 | Tool identity, calibration, and counts; 001, 002 |
| 0052 | Vehicle identifier; 001 |
| 0061 | Tightening result, status, torque, angle, batch, and result ID; 001 |
| 0071, 0074, 0076 | Alarm, alarm acknowledgement, alarm status; 001 |
Blank or 000 revision selects the initial 001 layout while retaining the original revision in the value. Blank station and spindle fields match identity 1 and remain null in the structure. Explicit identities filter subscriptions, and transaction responses must match the request identity.
Torque uses decimal N·m converted from protocol hundredths; angles use degrees. Controller timestamps carry no inferred time zone. Alarm acknowledgement is separate from recovery. Repeated unsolicited messages are acknowledged and variable updates use the normal change comparison. Unknown revisions, malformed fields, and trailing data fail structured reads; use a separate String variable or raw exchange to inspect their original data.
Special methods
| Method | Purpose | Parameters |
|---|---|---|
| ExchangeMessageAsync | Exchange Open Protocol messages | mid,revision,responseMid,stationId,spindleId,data |
| ReadParameterSetIdsAsync | Read parameter set ID | No parameters |
| ReadParameterSetAsync | Read parameter set | Parameter set ID |
| SelectParameterSetAsync | Select parameter set | Parameter set ID |
| ReadJobIdsAsync | Read Job ID | Revision number |
| ReadJobAsync | Read Job | Job ID |
| SelectJobAsync | Select Job | Job ID, revision number |
| ReadToolAsync | Read tool data | Revision number |
| SetToolEnabledAsync | Set tool enabled status | Enabled status |
| ReadControllerTimeAsync | Read controller time | No parameters |
| SetControllerTimeAsync | Set controller time | Time |
| SetTighteningResultSubscriptionAsync | Set tightening result subscription | Enable status, revision number |
| SetAlarmSubscriptionAsync | Set alarm subscription | Enabled status |
| AcknowledgeAlarmAsync | Remote acknowledge alarm | No parameters |
Write, start/stop, reset, load, delete or control methods will change the status of field devices. Before execution, confirm that the equipment is in an operable state and prepare for stop or rollback measures.
Device debug
Enter “Development Configuration → Collection Configuration”, select the current device then open “Protocol Debug” at the top of the workspace.
Dedicated debugging page
The protocol debug page contains parameter-set and Job operations, tool and clock operations, and subscription controls.



Debugging notes
First read the parameter set, job, tool and controller time; you must confirm twice before selecting parameter set/job, setting tool, subscription, time change and alarm confirmation.
Functions
| Function | Purpose |
|---|---|
| Read parameter sets and jobs | Query IDs and details without changing controller configuration. |
| Select parameter set or job | Change the active controller selection. Treat as a production control operation. |
| Read tool and controller time | View tool data and the controller clock. |
| Set tool or controller time | Change tool state or controller time. Confirm the impact before execution. |
| Tightening and alarm subscriptions | Enable or disable active messages from the controller. |
| Acknowledge alarm | Remotely acknowledge the current alarm. |
Verify the configuration
- Read the parameter-set and Job ID lists and compare them with the controller configuration.
- Read one known parameter set, Job, tool record, and controller time. Check the revision and returned values.
- Enable a test tightening-result subscription, run one approved test piece, and confirm the active MID 0061 message is received.
- Run selection, tool-state, time, and alarm-confirmation methods only when the site procedure allows them.
- For a custom exchange, check the request MID, expected response MID, revision, station, spindle, and data fields together.
Troubleshooting
- All queries fail: Check TCP address, port, login revision, and whether the controller accepts the Open Protocol login.
- The controller rejects a command: Check request MID, expected response MID, revision, and data fields; read the rejection reason.
- Active results do not update a variable: Confirm the corresponding subscription and the all-message or custom acknowledgement setting.
- The connection drops repeatedly: Check heartbeat, heartbeat interval, fragment timeout, and session errors in the device log.
- A special method fails: Check method parameters and permissions, and confirm that the device state allows the operation.
Related links
- Collection configuration: View channel, device and common variable configuration.
- Plugin Index: Find other collection or data-forward plugins.