Help - Search - Members - Calendar
Full Version: Problem with MSG instruction on ML1500 LRP
Forums.MrPLC.com > PLCs and Supporting Devices > Allen Bradley
audisel
Please help me with this:

Actually I have a ML1500 LRP connected on DH+ network by using the DL3500 DF1 to DH+ protocol converter with an others SLC 5/04 ,
and my scenario is as follow:

ML1500 CH0 is conneccted at DH+ network with an others SLC5/04 by using the interface DL3500 DF1-DH+
ML1500 CH1 is used to read a scanner (for traceability of product).

The flow begin on ML1500 Station by Scanning the Label on the part using the ARD instruction and store data in ST10:0
this ST10:0 should be sended to next SLC 5/04 Station.
But the MSG instruction for the ML1500 does not supported to send string file like ST10:0, only integer like N7 files.
And the label to be scann has Ascci characters and numbers like : AG110SP34SZ.
So since only Integers can be sended with MSG instruction on ML1500, I tried to convert String file to Integer and then send it by using COP (ST10:0 to N7:0; Length 10) instruction but neither this instruction is supported. In other manner if I use the ACI (String to integer) instruction only numeric characters will be converted.

Please let me know if there exist some form or method to perform this convertion in order to send the converted data to the next SLC 5/04 by process the serial number scannd in the ML1500 Station.

I will appreciate your help..

Thanks in advance

Mickey
can you read from SLC5/04 instead of writing from Micrologix? Put message instruction in the SLC. Just looking for possible solution.
TWControls
Actually you can write a string with the micrologix. You just can't read a string. Atleast this is true for the 1200. I can't imagine the 1500 not having the feature.

But depending on how long the string is it may easier to ACI and AIC to convert between the Strings and Integers and then convert them back at the target processor
audisel
I, Can Read and Write with ML1500 MSG Instruction From SLC 5/04 perfectly , but Only Integers,
am concern in how Can I Send an String from ML1500 to SLC5/04 by using MSG Instruction.

Hand Over, How can I Convert characters like A, B, C, .... to Integers in ML1500?

am Atemp to develop an routine software in where apply the Extract Character from String and look up for Ascci Search and at depending if character found is letter A, B, C ... then assign its ascci equivalent in integer. This is very Tediuos!!

Thanks for your help.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.