You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All plugins should be checked to support all useful event listener according to action strings supported by a plugin.
Example: DigitalOut:
Input port Description
action [string]: The plugin reacts to incoming action strings starting with "@gpio:" and a command. Valid commands are "set", "clear", "toggle" and "press". The command has to be followed by a comma and the port number, for example: "@gpio:set,1" or "@gpio:toggle,2". The "press"-command toggles the given output port two times with a delay of 500 milliseconds. The following examples illustrate the available action strings:
"@digitalout:set,1": Pin 1 of the GPIO CIM will be set
"@digitalout:clear,2":Pin 2 of the GPIO CIM will be cleared
"@digitalout:toggle,1": Pin 1 of the GPIO CIM will be changed
"@digitalout:press,4": Pin 4 of the GPIO CIM will be cleared and after 500ms it will be set again
Event Listener Description
setOutput1 to setOutput5: an incoming event on these ports will cause the corresponding output port on the CIM to go to the high level.
clearOutput1 to clearOutput5: an incoming event on these ports will cause the corresponding output port on the CIM to go to the low level.
There are no event listener for "toggle" and "press"
Event listeners should be preferred instead of action strings because they are easier to program and keep the model simpel.
The text was updated successfully, but these errors were encountered:
All plugins should be checked to support all useful event listener according to action strings supported by a plugin.
Example: DigitalOut:
Input port Description
action [string]: The plugin reacts to incoming action strings starting with "@gpio:" and a command. Valid commands are "set", "clear", "toggle" and "press". The command has to be followed by a comma and the port number, for example: "@gpio:set,1" or "@gpio:toggle,2". The "press"-command toggles the given output port two times with a delay of 500 milliseconds. The following examples illustrate the available action strings:
"@digitalout:set,1": Pin 1 of the GPIO CIM will be set
"@digitalout:clear,2":Pin 2 of the GPIO CIM will be cleared
"@digitalout:toggle,1": Pin 1 of the GPIO CIM will be changed
"@digitalout:press,4": Pin 4 of the GPIO CIM will be cleared and after 500ms it will be set again
Event Listener Description
setOutput1 to setOutput5: an incoming event on these ports will cause the corresponding output port on the CIM to go to the high level.
clearOutput1 to clearOutput5: an incoming event on these ports will cause the corresponding output port on the CIM to go to the low level.
There are no event listener for "toggle" and "press"
Event listeners should be preferred instead of action strings because they are easier to program and keep the model simpel.
The text was updated successfully, but these errors were encountered: