Difference between revisions of "DataConnectIT:Trigger"

From Nolek Wiki
Jump to navigation Jump to search
(Created page with "=7. Trigger logic= ==7.1 From PLC== ===OPC Read device=== # Set values in group tags # Set trigger tag to trigger value (Usually 1) # Wait for response tag to change. # If re...")
 
Line 10: Line 10:
  
 
===OPC Write device===
 
===OPC Write device===
 +
# Set the key tag value
 
# Set trigger tag to trigger value (Usually 1)
 
# Set trigger tag to trigger value (Usually 1)
 
# Wait for response tag to change.
 
# Wait for response tag to change.

Revision as of 15:16, 20 November 2019

7. Trigger logic

7.1 From PLC

OPC Read device

  1. Set values in group tags
  2. Set trigger tag to trigger value (Usually 1)
  3. Wait for response tag to change.
  4. If response tag is 1, reset trigger tag
  5. If response tag is more than 1 an error occurred. See Response list, then reset trigger.

OPC Write device

  1. Set the key tag value
  2. Set trigger tag to trigger value (Usually 1)
  3. Wait for response tag to change.
  4. If response tag is 1, reset trigger tag
  5. If response tag is more than 1 an error occurred. See Response list, then reset trigger.

OPC Read/Wriet device

  1. Set values in group tags if needed
  2. Set trigger tag to trigger value (Usually 1)
  3. Wait for response tag to change.
  4. If response tag is 1, reset trigger tag
  5. If response tag is more than 1 an error occurred. See Response list, then reset trigger.

7.2 From File

  • Under construction