Difference between revisions of "DataConnectIT:Trigger"

From Nolek Wiki
Jump to navigation Jump to search
 
Line 16: Line 16:
 
# If response tag is more than 1 an error occurred. See [[DataConnectIT:Appendix|Response list]], then reset trigger.
 
# If response tag is more than 1 an error occurred. See [[DataConnectIT:Appendix|Response list]], then reset trigger.
  
===OPC Read/Wriet device===
+
===OPC Read/Write device===
 
# Set values in group tags if needed
 
# Set values in group tags if needed
 +
# Set the key tag value if needed
 
# 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.

Latest 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/Write device

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

7.2 From File

  • Under construction