Mitsibushi "SMOV" Instruction

zohair121

Member
Join Date
Apr 2017
Location
usa
Posts
1
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 important:(i have already written an alternative logic without SMOV, which works)
 
I can't help with Mitsubishi specifically, but a BSL is not quite what the OP seems to be trying to achieve. The OP wants this:
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

...whereas a BSL would look like this:
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
00000110

when the sensor detects objects forth time
00001101

That being said, my suggestion would also be to use a BSL. If the results need to be reversed visually on a HMI or something at the end of the process, that's probably easier than trying to brute-force this using pointers and indirect addressing.
 

Similar Topics

Connected and communicated my Mitsibushi A800. Drive to compact logix through A8NEIP 2P module. But when start command is given, drive start...
Replies
1
Views
93
Does anyone have any experience with converting a Beckhoff (codesys) program to a mitisbushi program? Excluding IO of course. Are both on the...
Replies
11
Views
4,011
Hi, I currently using TCP to communicate a mitsibushi QU03 to S71515-2PN. I have succesfully set up comms for send and recieve but on the...
Replies
3
Views
1,648
Hi, I am incorporating a Mitsubishi Q series (Q03UDECPU) and DP Profibus master (QJ71PB92V) to control an ET200M remote IO (32bit Input card = 4...
Replies
0
Views
1,099
Hi fellow PLC folks, I am quite new to the game of PLC's and have some simple questions (sorry if I am annoying anyone with my ignorance here)...
Replies
25
Views
5,903
Back
Top Bottom