Check out the list of all tutorial videos on the C-More Micro HMI at this link:
The Increment/Decrement object provides a convenient way for the users to bump parameters up and down by a fixed amount without actually having to enter the numbers themselves. This example is set to change the data by 10’s. When I click the Up Arrow, it increments this TAG by 10’s. Remember that this is just updating a TAG which is probably located on a PLC in the system its then up to the PLC to respond to that Tag and do something about it. This is great when you have an application that requires discrete stepped changes in parameters. Maybe you want to increase the quantity of a product in increments of 10’s for example. Let’s look at how to set this up. Double click or drag the Increment/Decrement object onto the screen. Or, if you see one you like down here on the parts list, you can drag that directly onto the screen too. All of the formatting options are covered in the “How To Use Common Object Features” video, so we will just cover the unique features here. For this object you can use TWO function keys – one to increment and one to decrement. Let’s assign a tag for this button to modify … we’ll use this Increment/Decrement TAG, and say OK. Adjust the size, move it to where we want it. Simulate it. Save the project and up pops our simulator with our new increment decrement object. Now if we press the up arrow, it increments by 1, decrement, decrements by 1. F1 increments by 1, F2 decrements by 1. One final feature to look at is the TYPE. This only applies when you select Object Style 1. We were using object style 2 which has two arrows, one for up and one for down. Object Style 1 is a single button. So you have to pick the type right here – is it an increment button or a decrement button? Let’s make it an increment button and of course we can assign the value we want to increment it by. So now this button will function as an increment only button and will do it in increments of 20. We can try that real quick .. so each time we press this button, this TAG will be incremented by 20. And since F1 was still defined, that will also increment by 20. F2 has no effect because this is strictly an increment button. That’s it for this video – be sure to check out all of the other videos in this series. And as always, please send us any topics you would like to see covered – or - any other comments for that matter – we appreciate the feedback!