Stanley Tools trigger event types

Every trigger identifies the trigger event type, which identifies when the trigger will be executed.

The trigger event types are described in the Trigger event type reference. In addition to the standard trigger event types, the Stanley Tools driver makes available additional trigger event types that are associated with tool rundown events, alarm notifications, and relay function settings on a Stanley Tools controller.

When you define a Stanley Tools device, the QPM device type is selected.

  • When defining a QPM device, you also specify whether the device is a single or multi-spindled controller. Based on this information the Stanley Tools driver will subscribe with the controller for either single spindle tightening result messages, which are known in the Open Protocol Specification as MID0061 messages.

Additionally when the Stanley Tools device is started, the Stanley Tools driver will query the Stanley Tools controller to see if there are any jobs defined. If there are, the driver will also subscribe with the controller to receive information about the active job. The job information will be sent to the node whenever a job is selected and whenever a tightening occurs. During the definition of a Stanley Tools device you may also elect to receive Alarm notifications. If so the driver will receive alarm notification message as they occur on the controller. Finally the driver provides the ability to subscribe to specific relays defined on the controller. The driver will be notified when the state changes for a relay, allowing a trigger to be tied to the relay state change. 

Stanley Tools event types

The Stanley Tools category is available in the Trigger Event Type list when defining or editing a trigger. The trigger events associated with the Stanley Tools driver are shown in the following image.

  • The Stanley Controller Alarm event type is used to fire a trigger when an alarm occurs on the Stanley Tools controller.
  • The Stanley Relay Function event is used to associate the state change of a relay defined on the controller to a trigger.
  • The Stanley Tools Event Message event will associate a tightening or job notification to a trigger.

Stanley Tools event types

Stanley Tools Event Message

This example shows a new trigger being defined with the Stanley Tools Event Message trigger event type.

When the Stanley Tools Event Message trigger event type is selected, the Event tab becomes active with parameters that accommodate the Stanley Tools Event Message event. 

Parameter Description
Device Name Select a Stanley Tools device.
Event Message Select one of the available tool rundown messages from the list:
  • MID0061 Last Tightening Result
  • MID0035 Job Info
  • MID0065 Old Tightening Result
  • MID0900 Trace Result

Stanley Controller Alarm

The parameters displayed in the Event tab for a Stanley Tools Controller Alarm event are shown below.

Parameter Description
Device Name Select a Stanley Tools device. This list will contain both Stanley devices and Stanley NutRunner type devices.

Stanley Relay Function

The parameters displayed in the Event tab for a Stanley Tools Relay Function event are shown below.

Parameter Description
Device Name Select a Stanley Tools device.
Relay Number The relay to monitor. The complete list of relays that can be monitored are shown in Relay Function event variables.

Selecting the appropriate Event Message

The Event Message option selected for a trigger will depend upon the configuration of the controller, as well as the actions that you will define in the trigger.

  • QPM controllers support both single-spindle and multi-spindle event messages. Stanley Tools trigger event type triggers interfacing with these types of devices can be used to capture either MID0061 Last Tightening Result event messages.
  • If the controllers have jobs defined and you are interested in tracking tool rundowns at the job level, then the MID0035 Job Info event message should be selected.
  • QPM support relays. The Stanley Relay Function trigger event type is used to fire triggers when the state of a relay changes. 
  • All Stanley Tools controllers will support the Stanley Controller Alarm trigger event type.

Different triggers can be developed to process the different event messages. For example, for a controller that has jobs defined, a trigger could be defined to execute upon receipt of the MID0035 Job Info event message and a second trigger defined to execute upon receipt of the MID0061 Last Tightening Result event message. 

Each event message option contains the data that is unique to the event message it represents. These data items are available to the trigger as trigger event variables. The following sections provide the details of the event variables specific to each Stanley Tools event.