Your videos always help very much. Thank you my friend.
@TohidAlizadeh2 жыл бұрын
Thank you for your nice comment 🙏
@endprg64773 жыл бұрын
can you show possible examples of processing arrays? thank you in advance
@anonimo-bj3qx8 жыл бұрын
Hi Tohid, How can you reference specific bit of an array using a variable. Let say I have an array of 16 bits and I want to use bit 8 of that array. Later on I want to use bit 4 of that array instead of bit 8. How do I add a variable to change what bit I want to use, so that I do not have to change my program rung by rung? Thank You
@TohidAlizadeh8 жыл бұрын
Hi Ano, One way to do it is to use a function from the ACC library, which is called MEM.UnpackArrayOfByte(). Using this function, you can unpack the data inside an array of bytes in to an array of bits, and then access any bit that you need to use. I may make a short video tutorial on this soon. Hope this would help you. Best regards.
@anonimo-bj3qx8 жыл бұрын
Thank You
@waranmahes38443 жыл бұрын
sir thanks for these type of support .can you refer me how to use recipe in codesys
@marvinschonamsgruber54907 жыл бұрын
Hey Tohid, nice Videos! How can I declare an Array Of String which can be used in a "Array Combobox" in the webvisu. I am programming a a Little machine which produces 5 different parts. I want to choose the right part via webvisu, so the different part numbers should be added to the Combobox, which allows me to choose one later. the article numbers look like "C_123456_R" thank you Marvin
@TohidAlizadeh7 жыл бұрын
Hi Marvin, I will prepare a short video tutorial explaining this in the coming days. Stay tuned!
@TohidAlizadeh7 жыл бұрын
Here is what I promised: kzbin.info/www/bejne/maXLnohser-Coas Please let me know if it is what you needed!
@Victor_Sj8 жыл бұрын
Hi, is it possible to use auto declare to asign data types to a variable, and then initialize their values?
@TohidAlizadeh8 жыл бұрын
+Victor Sj Hi, it is possible. You can declare any variable with the auto declare, initialize the variable right away or do it later in the variable declaration area.
@geronimobee43498 жыл бұрын
Hi Tohid, Any way of doing Reject Station example using arrays and bit shift instruction? They are few videos on youtube already, but I would really like to see your approach. Thank You
@TohidAlizadeh8 жыл бұрын
Hi Geronimo, Please provide me more details about the process. Then I will try to do it. Regards, Tohid
@geronimobee43498 жыл бұрын
First thank you for prompt response. I would like to see basic reject station that has trigger photoeye ( product detection), low/high label photoeye ( detects if label is too short (no label) or too long - if either condition is true than reject product) and solenoid reject that will kick off product from conveyor if no label or label too high. So I was thinking that there should be two shift registers. One from trigger pe to low/high label pe and one from low/high label pe to reject solenoid. www.fillers.com/quality-control-inspection-system/#lightbox[8496]/0/ this link is only for reference. First picture on the top has three sensors so lets say one all the way on the left is trigger sensor and other two are high/low label sensors, and there is reject solenoid further down conveyor. I hope I explained it well. Regards, Geronimo
@TohidAlizadeh8 жыл бұрын
Ok, give me few days. I will do it in my earliest convenience.
@geronimobee43498 жыл бұрын
Thank you sir.
@geronimobee43498 жыл бұрын
Hi Tohid, Any hope of seeing this example any time soon? Thank You