2/5/2017 10:51 AM | |
Joined: 9/23/2005 Last visit: 8/27/2024 Posts: 4347 Rating:
|
“Simple Samples” are small projects that demonstrate simple features. The target is give a quick overview about the theme and be used as start point for related discussions. Follow there are a short description and the configuration main steps. Description: One of news of TIA V14 is the possibility toread the controller check sum by calling the GetChecksum block. In this example, the Checksum is read in Block_1 and save in a 8 byte array. Additional networks are built a logic to memorize a preset check sum and compare it with the actual. The process simulation could be done in Main OB: In Running, modify “setAsOriginal” to true and after that to false, to memorize the actual Checksum as original. For test proposes, for example, it is possible to change the open contact on network 1 of Main OB to see that the checksum as changed and the Block_1 output was reset. Change the alteration back, the Block_1 came back to true. Tips: The staticOriginalChecksum Block_1 variable was set as retentive. So a power off / power on will not change the block behavior. Requirements: TIA V14. Project: Archived program, compressed (zip) AttachmentProject1.zip (597 Downloads) |
Denilson Pegaia |
|
This contribution was helpful to
2 thankful Users |
Follow us on