This Guide is made on Codesys SP20 and using the 2.0.9.0 Application SW.
First please follow the guide: How To setup WebVisu in an iE-250 PLC.
1. Navigate to the Hotkeys tab.
Application ->Visualization Manager -> Default Hotkeys.
2. Define the button and action
Click on Key and locate the iE-section. You can use all the keys on the front. Please also note that the navigation keys are still also functional.
Next assign a Action Type and a Action.
You can now use the iE-250 buttons in your Codesys program.