Screen selection via the controller is as follows. At the end of this entry is a free download of a sample program.
||Create a tag in ProTool and connect it to the controller. In this example the tag "Bildanwahl_1" (screen selection).
||Go to the "Functions" tab and select the function "Select_Screen_Variable".|
||As the parameter for "Tag with screen number:" you specify the tag you created in Point 1 - in this example "Bildanwahl_1".
||Go to the "Options" tab and set the tag to "Read continuously".|
If there is a change of values on the controller side in the "Bildnummer_1" (picture number) tag, the function "Select_Screen_Variable" is executed.
Depending on the preset picture number there is a change to the picture configured.
Take the corresponding picture number from the ProTool configuration.
Via the "VAT_1" variables table you can simulate the selection of pages.
You can define/edit the picture number in the picture properties.
The attached download contains the archived STEP 7 project and integrated ProTool project, along with the functions described above.
Attachment1: Project_1.zip ( 871 KB )
Runnability and test environment:
The example can be used on all the CPU types of SIMATIC S7-300, S7-400 and WinAC.
The following table lists the components that have been used to create this entry and verify the functions described.
Table 1: Creation environment of the download attached
||Product and version designation|
|PC operating system
||Microsoft Windows XP SP2|
||STEP 7 V5.3 SP3|
||ProTool V6.0 SP3|
||MP 370 Touch 12"|
||S7 CPU 316-2DP|