| TriggeredScraperImpl |
replaces the old Scraper that only could do scheduled scraping jobs
Triggers have been introduced, so that in configuration "scrapeTime" has been exchanged by "triggerConfig"
Some example:
- 200ms scheduling is now performed by "triggerConfig: (SCHEDULED,200)" in scraper-configuration
- a triggered S7 variable can be used as follows:
"triggerConfig: (S7_TRIGGER_VAR,10,(%M0.3:BOOL)==(true))" meaning that Boolean in Marker-Block in Byte-Offset 0, Bit-Offset 3 is scanned every 10ms, when trigger has a rising-edge the acquirement of data-block is triggered
the trigger variable must be a valid address as defined with PLC4X-S7-Driver
right now boolean variables as well as numeric variables could be used as data-types
available comparators are ==,!= for all data-types and >,>=,<,<= for numeric data-types
|