RBergmann
Member
In an effort to configure BCD switches on my CompactLogix input module. I thought the MVM (masked move), in Studio 5000, instruction might be the way to go. So, below is the way I configured two BCD switches on the same input module. I do not yet have a PLC to validate.
*******************
First BCD device using inputs:
I:2/1
I:2/2
I:2/3
MVM
Source Local:2:I.Data
2#0000_0000_0000_0000
Mask 14
Dest BCD_Wash1
*******************
Second BCD device using inputs
I:2/9
I:2/10
I:2/11
MVM
Source Local:2:I.Data
2#0000_0000_0000_0000
Mask 3584
Dest BCD_Wash2
*******************
Am I on the right track? I'm expecting to get values 0-7 from each BCD device.
*******************
First BCD device using inputs:
I:2/1
I:2/2
I:2/3
MVM
Source Local:2:I.Data
2#0000_0000_0000_0000
Mask 14
Dest BCD_Wash1
*******************
Second BCD device using inputs
I:2/9
I:2/10
I:2/11
MVM
Source Local:2:I.Data
2#0000_0000_0000_0000
Mask 3584
Dest BCD_Wash2
*******************
Am I on the right track? I'm expecting to get values 0-7 from each BCD device.
Last edited: