Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated with some new information

...

PLC types supported: PF4000, PF6000 and PF6000PF8

Protocol supported: Open Protocol from Atlas Copco


...

Channel Configuration

Protocol Options

Model: Select the model of your tool, it will impact in how the messages will be read. The options are:

  • PF4000
  • PF6000
  • PF8

Settings

AcceptUnsolicited = true

Note: If you have more than one channel, each must use a different port for each one.

...

Node Configuration

Station syntax: <IP Address>;<Port>

...

The possible MID values, are presented in the table below:

TagNameNode AddressDataTypeAccessTypeDescription
COMM_STARTPF4000_1COMM_STARTNativeReadStart Communication
KEEP_ALIVEPF4000_1KEEP_ALIVENativeReadKeep Alive to mantain comm online
LTR_REPLYPF4000_1LTR_REPLYNativeReadIt returns a detailed string containing information about the equipment.
LTR_PSETNAMEPF4000_1LTR_PSETNAMENativeReadProject name.
LTR_TIGHTSTATPF4000_1LTR_TIGHTSTATNativeReadTorque status.
LTR_TIMEPF4000_1LTR_TIMENativeReadDate and time the torque was done.
LTR_TORQUEPF4000_1LTR_TORQUENativeReadTorque value.
MID_ALARMPF4000_1MID_ALARMNativeReadAn alarm message indicating possible errors.
SELECT_PARAMETER_SETPF4000_1SELECT_PARAMETER_SETNativeWriteLoad a new program to the torquetool. Uses the ID of the program (Three ASCII characters, range 000-999).
SELECT_JOBPF4000_1SELECT_JOBNativeWriteLoad a new program to the torquetool. Uses the ID of the program (Four ASCII characters, range: 0000-9999).

IDENTIFIER_DOWNLOAD_REQUEST

PF4000_1

IDENTIFIER_DOWNLOAD_REQUEST

NativeWriteLoad a new program to the torquetool. Uses the name of the program (Max 25 ASCII characters).


At least one LTR_<Command> and the MID_ALARM must be configured. <Command> can be any of the commands listed above.


...

Access Types Configuration

...

To maintain an active connection with the tool, this protocol requires sending a keep-alive message every X seconds (7 seconds is recommended). If no response is received within 15 seconds, the connection will automatically be closed. As such, the use of "KEEP_ALIVE" is also mandatory.

Subscription

For all other events, a subscription will be sent based on the configuration you specified in the Points table, targeting the corresponding MID. When the event occurs—such as a torque being applied by the tool—you will receive an unsolicited message with the relevant data.

Flow

All the logic for sending the "COMM_START" message first, then the subscription, and continuously sending "KEEP_ALIVE" messages is already handled by the protocol.
You don’t need to worry about implementing this logic yourself—just make sure these points are defined in the table.


Monitoring Communication Status

For monitoring if the connection is great in real time, you can check the quality of the "COMM_START" tag, it should be 192 if everything is fine, any other value indicate an error in communication (check the TraceWindow for logs, refeer to Troubleshoot section).


...

Troubleshoot

The status of the driver's execution can be observed through the diagnostic tools, which are:

...