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.

---------->>>>>Get FREE PLC Programming Tips

New Here? Please read this important info!!!

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

PLC training tools sale

Thread Tools Display Modes
Old May 23rd, 2018, 07:46 PM   #1
United States

scantime is offline
Join Date: Apr 2014
Location: US
Posts: 24
MOVE vs ":=" Assignment Operator

This question specifically relates to a Schneider M340 PLC, but I believe it may be applicable to other platforms as well. I am working on new logic in structured text and realized that I have the option to assign one variable to another with the ":=" operator (example x := 3) as well as the "MOVE" instruction (example x := MOVE(3) ). What is the difference with these two techniques?
  Reply With Quote
Old May 24th, 2018, 06:24 PM   #2

GeoffC is offline
GeoffC's Avatar
Join Date: Aug 2006
Location: Newcastle
Posts: 683
Effectively the same thing
:= is specifically a structured text instruction, while MOVE is a function available in all languages
Geoff C
  Reply With Quote
Jump to Live PLC Question and Answer Forum


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
Modicon 258 Move instruction plcisgreat LIVE PLC Questions And Answers 1 August 10th, 2016 02:46 AM
Siemens Profibus Move DLMUK LIVE PLC Questions And Answers 5 March 1st, 2016 07:10 PM
PF755 & compactlogix; Control 8 drives at the same time. somt. a drive wil not move EddieVeldkamp LIVE PLC Questions And Answers 6 October 12th, 2013 01:38 PM
Motion Madness ndzied1 LIVE PLC Questions And Answers 50 September 11th, 2005 11:29 AM
5/03 number will not move to N file Greg Webb LIVE PLC Questions And Answers 16 December 21st, 2004 12:04 PM

All times are GMT -5. The time now is 10:46 PM.