Skip to Content
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 examplesConnection requirements
Atlas Copco tightening controllers supporting Open ProtocolEnable the corresponding Open Protocol service and select MID, revision, subscriptions and commands supported by the controller.

Controller service and tightening subscriptions

  1. 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.
  2. 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=1 and compare the controller list.
  3. 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.
  4. 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 100 again. 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 typePre-configuration check
TCP ClientConfirm 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

SettingDescription
Login RevisionDefault 1; range 0–999. Revision of the MID 0001 login message.
Acknowledge All Controller MessagesDisabled by default. Ignore No Ack Flag and acknowledge all unsolicited messages with a configured acknowledgement mapping.
Custom AcknowledgementsEnter unsolicitedMID:acknowledgementMID pairs, separated by commas or semicolons.

Running parameters

SettingDescription
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 EnabledEnabled 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 MIDStructure and supported revision
0011, 0013, 0015Parameter set IDs, parameter set, selection notification; 001
0031Job IDs; 001, 002
0033Job and program items; 001
0035Job status and batch counts; 001, 002
0041Tool identity, calibration, and counts; 001, 002
0052Vehicle identifier; 001
0061Tightening result, status, torque, angle, batch, and result ID; 001
0071, 0074, 0076Alarm, 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

MethodPurposeParameters
ExchangeMessageAsyncExchange Open Protocol messagesmid,revision,responseMid,stationId,spindleId,data
ReadParameterSetIdsAsyncRead parameter set IDNo parameters
ReadParameterSetAsyncRead parameter setParameter set ID
SelectParameterSetAsyncSelect parameter setParameter set ID
ReadJobIdsAsyncRead Job IDRevision number
ReadJobAsyncRead JobJob ID
SelectJobAsyncSelect JobJob ID, revision number
ReadToolAsyncRead tool dataRevision number
SetToolEnabledAsyncSet tool enabled statusEnabled status
ReadControllerTimeAsyncRead controller timeNo parameters
SetControllerTimeAsyncSet controller timeTime
SetTighteningResultSubscriptionAsyncSet tightening result subscriptionEnable status, revision number
SetAlarmSubscriptionAsyncSet alarm subscriptionEnabled status
AcknowledgeAlarmAsyncRemote acknowledge alarmNo 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.

Open Protocol: Parameter sets and Jobs

Open Protocol: Tool and clock

Open Protocol: Protocol subscriptions

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

FunctionPurpose
Read parameter sets and jobsQuery IDs and details without changing controller configuration.
Select parameter set or jobChange the active controller selection. Treat as a production control operation.
Read tool and controller timeView tool data and the controller clock.
Set tool or controller timeChange tool state or controller time. Confirm the impact before execution.
Tightening and alarm subscriptionsEnable or disable active messages from the controller.
Acknowledge alarmRemotely acknowledge the current alarm.

Verify the configuration

  1. Read the parameter-set and Job ID lists and compare them with the controller configuration.
  2. Read one known parameter set, Job, tool record, and controller time. Check the revision and returned values.
  3. Enable a test tightening-result subscription, run one approved test piece, and confirm the active MID 0061 message is received.
  4. Run selection, tool-state, time, and alarm-confirmation methods only when the site procedure allows them.
  5. 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.