5/14/2016 6:49 PM | |
Posts: 5225 Rating: (1195)
|
Hi Andrew. Do you have your answer yet? The full set of events that is available is shown in the picture. Normally I use the "Release" one to switch a bit ON and then the PLC switches it OFF when it is used. With the LOGO you might want something else. Here you can have the "Press" event switch the bit ON and have "Release" even switch the bit OFF. That means that the memory bit will be ON for as long as the user press down the button. Now to the heart of what you asked about.. These functions shown above will manipulate the bits. The ones marked with "....BitInTag" will manipulate a bit inside a byte / word / dword. "Invert" changes the state of the bit to the opposite to what it is now. "Set" for switching ON. "Reset" for switching OFF. "SetBitWhileKeyPressed" will be an alternative to what I suggested earlier. This is placed in "Press" event and nothing is needed in "Release" event. A little late or still helpful? As (trivial) exit note... w |
5/14/2016 8:21 PM | |
Posts: 200 Rating: (6) |
hi thanks for your reply i will take this to the workshop and give a go thanks andrew |
5/16/2016 11:25 PM | |
Posts: 200 Rating: (6) |
thanks for the reply where will i find the wizard |
Follow us on