You need to use the SHR and SHL operators in ladder logic as a box. Similarly, TON could be used as a box.
7 ปีที่แล้ว +1
Hi, I'm creating a 32x8 scrolling text display visualisation in codesys. So far I have done that I can scroll one letter on the screen but I reach a wall if I try to display a complete word. It's a bit complicated. On arduino, it seems really easy but on PLC and ST code i reach a wall. There is really not much information about this scrolling text on PLCs. Any hints or thoughts I might use? I'm using 8 dword variables and move them with SHL and SHR functions.
Would it be possible to be performing the bit array displacement?
Hi Tohid,
Any way of doing similar video using ladder logic?
Thank You
Hi Ano,
It is possible to use SHR and SHL in Ladder logic. I may prepare a short video on this soon. Stay tuned!
Regards,
Tohid
@@TohidAlizadeh did you make a video on using ladder logic?
Any way of doing similar video using ladder logic?
You need to use the SHR and SHL operators in ladder logic as a box. Similarly, TON could be used as a box.
Hi, I'm creating a 32x8 scrolling text display visualisation in codesys. So far I have done that I can scroll one letter on the screen but I reach a wall if I try to display a complete word. It's a bit complicated. On arduino, it seems really easy but on PLC and ST code i reach a wall. There is really not much information about this scrolling text on PLCs. Any hints or thoughts I might use? I'm using 8 dword variables and move them with SHL and SHR functions.
If you can, send me the source code (with explanations/comments) and I will have a look at it.
Tohid Alizadeh hi, any comments to that code I sent you? I haven't really been doing work on that.
Hi. Just tried to have a look at your code, but could not run it because of issues with some libraries. I will try to solve this and update you soon.