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
Unread October 10th, 2019, 04:28 AM   #1
SakariS
Member
Finland

SakariS is offline
 
Join Date: Oct 2019
Location: Sweden
Posts: 1
Running a certain sequence on Mitsubishi FX3G-24M after receiving a string

Hi all,

I am totally new to the PLC world and I already face a major obstacle

I am trying to control a really simple pneumatic system using Mitsubishi FX3g-24M PLC. I want to send a string from a computer to the PLC which then, according to the string, runs a certain sequence.

As of now I will send two strings to the PLC: 'T100', which opens terminals .., and 'T200', which opens terminals .. . Any suggestions on how I should write something like this in the ladder logic? I assume in some other language it would be something like "if(string)=='string' do something"

Thanks a bunch in advance
  Reply With Quote
Unread October 10th, 2019, 09:06 AM   #2
gclshortt
Member
Canada

gclshortt is offline
 
gclshortt's Avatar
 
Join Date: Dec 2014
Location: Cobourg
Posts: 2,903
What I would do is write your logic based upon a bit coming on. In your case, you would have two bits to control T100 and T200.
You would then use a comparison instruction 32 bit to compare the two strings. If the string is equal then turn on the bit to control the logic you want.

https://dl.mitsubishielectric.com/dl...997d16601q.pdf
32-bit operation (DCMP and DCMPP)

I hope this helps you out.
Regards,
__________________
Garry
https://www.accautomation.ca
Connect with us on Facebook: facebook.com/accautomation/
  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
Mitsubishi F1 to FX3G conversion bigvern10 LIVE PLC Questions And Answers 4 December 27th, 2012 03:39 AM
String Comparison in Mitsubishi FX3U PLC? Domomod LIVE PLC Questions And Answers 1 December 1st, 2012 10:45 AM
Mitsubishi Shift String RheinhardtP LIVE PLC Questions And Answers 0 March 26th, 2011 09:30 AM
Mitsubishi FX3U GX IEC String Data RheinhardtP LIVE PLC Questions And Answers 0 March 21st, 2011 12:32 PM
read/write error of main sequence program of mitsubishi a series plc fatema LIVE PLC Questions And Answers 0 January 16th, 2004 04:12 PM


All times are GMT -5. The time now is 12:10 AM.


.