You are not registered yet. Please click here to register!


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

Reply
 
Thread Tools Display Modes
Old November 10th, 2020, 11:14 AM   #1
arbj
Member
India

arbj is offline
 
Join Date: May 2011
Location: mrt
Posts: 55
What happens to result after MOV

Hi,

I am trying to understand what the result of a MOV will be.

G_position_LSB= 144, Type- INT
GL_O_Data[3]=0, Type- SINT

--------------------------------
MOV
Move
Source G_position_LSB
Dest GL_O_Data[3]
--------------------------------

After executing this MOV what will be the value of GL_O_Data[3]??

thanks
a
  Reply With Quote
Old November 10th, 2020, 11:22 AM   #2
Mispeld
Member
United States

Mispeld is offline
 
Mispeld's Avatar
 
Join Date: Feb 2017
Location: VA
Posts: 549
-112

and arithmetic overflow minor fault
__________________
"What a power grid is, well, itís something different to everybody, and thatís what you gotta understand. I mean, would you rather have AC or would you rather have AOC?" -Blaire Erskine

Last edited by Mispeld; November 10th, 2020 at 11:24 AM. Reason: added fault
  Reply With Quote
Old November 10th, 2020, 11:29 AM   #3
Jim3846
Member
United States

Jim3846 is offline
 
Join Date: Dec 2019
Location: Cincinnati OH
Posts: 169
Look up "Data Conversions" in the help. There are a lot of rules on what happens with different data types mixes in the source destination.
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
Continuing with the Bit Shift Theme-Using a MOV to move a BSL bit into another ? Cydog LIVE PLC Questions And Answers 8 June 8th, 2020 09:28 PM
HMI Fractions? UncleHairball LIVE PLC Questions And Answers 14 November 13th, 2019 12:13 AM
RSlogix 5000 find highest value of array waterbottle LIVE PLC Questions And Answers 20 July 30th, 2019 12:11 PM
RSLogix 500 Array Help jwalz2014 LIVE PLC Questions And Answers 23 June 25th, 2015 04:55 PM
MPI comunication Manuel Raposo LIVE PLC Questions And Answers 22 July 16th, 2007 07:24 AM


All times are GMT -4. The time now is 03:49 PM.


.