Difference between revisions of "DataConnectIT:Trigger"
Jump to navigation
Jump to search
MartinHeide (talk | contribs) (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...") |
MartinHeide (talk | contribs) |
||
(One intermediate revision by the same user not shown) | |||
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. | ||
Line 15: | 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/ | + | ===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
Contents
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 response tag is 1, reset trigger tag
- If response tag is more than 1 an error occurred. See Response list, then reset trigger.
OPC Write device
- Set the key tag value
- Set trigger tag to trigger value (Usually 1)
- Wait for response tag to change.
- If response tag is 1, reset trigger tag
- If response tag is more than 1 an error occurred. See Response list, then reset trigger.
OPC Read/Write device
- Set values in group tags if needed
- Set the key tag value if needed
- Set trigger tag to trigger value (Usually 1)
- Wait for response tag to change.
- If response tag is 1, reset trigger tag
- If response tag is more than 1 an error occurred. See Response list, then reset trigger.
7.2 From File
- Under construction