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   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

PLC training tools sale

Reply
 
Thread Tools Display Modes
Old July 10th, 2018, 06:27 AM   #1
vidy_9
Member
India

vidy_9 is offline
 
Join Date: May 2018
Location: india
Posts: 12
Fancy Exclamation Having trouble understanding Some Applied Instructions

Hi Everyone!

I'm new to PLC and ladder diagram and i was hoping if any of you could help me explain what do these applied instructions mean.

I studied the manual but i dont seem to get it and need someone for me to explain it in layman terms especially the MUL D8142 K-1 part which i have no idea what K-1 MEANS.

Your Help is Greatly Appreciated.


Thank you
Attached Images
File Type: jpg 1212121 - Copy.JPG (22.6 KB, 57 views)
File Type: jpg 1212.JPG (25.6 KB, 45 views)

Last edited by vidy_9; July 10th, 2018 at 06:30 AM.
  Reply With Quote
Old July 10th, 2018, 07:10 AM   #2
gclshortt
Member
Canada

gclshortt is offline
 
gclshortt's Avatar
 
Join Date: Dec 2014
Location: Cobourg
Posts: 2,596
Could you tell us the manufacture of the PLC?
The instruction looks like a multiplication of memory area D8142 by a constant K-1 and the result is stored at another memory location.

Regards,
__________________
Garry
http://www.accautomation.ca
Connect with us on Facebook: facebook.com/accautomation/
  Reply With Quote
Old July 10th, 2018, 09:48 AM   #3
drforsythe
Member
United States

drforsythe is offline
 
Join Date: Aug 2016
Location: Metro Detroit, Michigan
Posts: 22
Those look like Mitsubishi instructions to me. It looks like code for controlling the speed and direction outputs to a stepper or servo drive. "K" denotes a constant in their instructions. In this case, it is multiplying the number in D8142 by -1 and storing it in D2040.
  Reply With Quote
Old July 10th, 2018, 10:12 AM   #4
jimtech67
Member
United States

jimtech67 is offline
 
jimtech67's Avatar
 
Join Date: Jun 2002
Location: New Jersey
Posts: 334
SEE attached pages
Attached Files
File Type: zip div and ddiv a.zip (292.2 KB, 8 views)
File Type: zip MOV AND DMOV a.zip (292.4 KB, 2 views)
  Reply With Quote
Old July 10th, 2018, 08:14 PM   #5
vidy_9
Member
India

vidy_9 is offline
 
Join Date: May 2018
Location: india
Posts: 12
Hi everyone!

Sorry for the missing info.. but the PLC is s Mitsubishi’s FX3U PLC
  Reply With Quote
Old July 11th, 2018, 02:29 PM   #6
nehpets
Member
Wales

nehpets is offline
 
nehpets's Avatar
 
Join Date: Mar 2009
Location: Wales
Posts: 354
K is used to denote a constant, in this case K-1 means a constant of minus 1, this would give a value of 65535 in 16 bit unsigned integer.


Steve
__________________
Why do programmers get confused between Halloween and Christmas - OCT31 = DEC25
  Reply With Quote
Old July 11th, 2018, 03:25 PM   #7
lfe
Member
France

lfe is offline
 
Join Date: Jun 2007
Location: Barcelona
Posts: 251
[MUL D8142 K-1 D2040] multiplies the value on D8142 as a 16bit integer signed value with the constant -1 and the result is stored as a 32bit signed integer in the pair of registers D2040 and D2041

In the other image [DDIV D8140 K10 D2020] divide the value on D8140 and D8141 as a 32bit signed integer with the constant 10 and the result is stored as 32bit in D2020 and D2021, the remainder is stored in D2022 and D2023.
The instruction D prefix stands for 32bit operation.
__________________
Suppanel HMI
  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
Need help understanding "Add on" instructions sparkytex LIVE PLC Questions And Answers 4 March 20th, 2017 08:36 PM
CQM1H - Expansion Instructions / Download Error GreenPuppy LIVE PLC Questions And Answers 5 June 29th, 2016 12:41 PM
Panleview 600 factory reset BestTime LIVE PLC Questions And Answers 56 February 2nd, 2016 08:17 AM
PV 600 Plus - Cockpit Trouble glaw LIVE PLC Questions And Answers 24 June 30th, 2006 10:53 AM
Omron C200HX plc - deleting multiple end instructions. Iqbal LIVE PLC Questions And Answers 7 August 17th, 2002 11:15 PM


All times are GMT -5. The time now is 01:48 AM.


.