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 October 10th, 2019, 05:28 AM   #1

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
Old October 10th, 2019, 10:06 AM   #2

gclshortt is offline
gclshortt's Avatar
Join Date: Dec 2014
Location: Ontario
Posts: 3,008
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.
32-bit operation (DCMP and DCMPP)

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

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