I am working with Mitsubishi fx3u.. confused with the "SMOV" instruction read through many manuals but couldn't really understand it.
what I want to execute: i want to project an 8bit on the HMI screen and every time the input is high i want the first bit to go high initially.. then move to the second bit.
example:
when the input is sensor detects first time
00000001
When the sensor detects second time
00000011
when sensor detects doesn't detect the third time
00000011
when the sensor detects objects forth time
00001011
Note using SMOV instruction is importanti have already written an alternative logic without SMOV, which works)
what I want to execute: i want to project an 8bit on the HMI screen and every time the input is high i want the first bit to go high initially.. then move to the second bit.
example:
when the input is sensor detects first time
00000001
When the sensor detects second time
00000011
when sensor detects doesn't detect the third time
00000011
when the sensor detects objects forth time
00001011
Note using SMOV instruction is importanti have already written an alternative logic without SMOV, which works)