What is the difference between triggers and procedures?

A transaction is an event detected by the EP controller and logged for reporting to the host.

The Mercury definition of a trigger is the occurrence of a specified transaction in the system. Triggers execute to invoke procedures.

The definition of procedures is a sequence of one or more actions performed when the procedure is called upon to execute. Each action represents a control command such as relay control or door unlock.