DataConnectIT:Trigger

From Nolek Wiki
Jump to navigation Jump to search

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