micrologix 1200 strings !

markymark31

Member
Join Date
Mar 2004
Location
Corby, Northants
Posts
60
Guys,

I need to store 10 x program names in 10 x strings that can then be viewed on a panelview display. I can do the panelview part (I think !).

Is there an easy way to get "PROGRAM 1" into say ST9:0 without having to go through converting integers to ascii and copying etc. as this is the only way I can see in the book to do it ?

Thankyou,

Mark.
 
just type it in

If your processor supports ST files then you just type the letters
PROGRAM1 in to the ST file from the data table screen.
If it does not then you just type it into the N file.
Change the radix to ASCII on the data table screen.
 
Is there a reason you can't just cross reference? For example, use a multistate indicator tied to an integer.

A "1" in the PLC indicates "Program 1" on the multistate indicator.
A "2" in the PLC indicates "Program 2" on the multistate indicator.

etc.

If you don't need the string in the PLC, why jump through any hoops to develop it . . .

Marc
 
If you are trying to enter 10 strings on the Panelview to go into the PLC, you can use 10 ASCII ENTRY objects, each with a different CHARACTER ARRAY-type tag. Each tag will point to a different register in ST9:.

I don't remember if you want to use an Array Size of 1 or 40 or 41 or 82 in the tag definition (lower right-hand corner) when working with ST files. A little trial and error should tell you.
 

Similar Topics

Hi everyone, I'm working on a project where I need to exchange data between a Siemens S7-1200 PLC and an Allen-Bradley MicroLogix 1400 PLC. The...
Replies
8
Views
643
I have a MicroLogix 1200 that has an 8 input and a 16 output. Every 6 months-year I get a fault and when online go to error it is something like...
Replies
3
Views
506
Have a bad output on a Micrologix 1200. Moved wire over to an available output, changed program to associate with new output. downloaded program...
Replies
8
Views
753
I need help achieving the following task: ML1200 sending 4 to 20 mA thru analog output ch0 to a DC speed controller analog input(4 to 20 mA) my...
Replies
3
Views
671
Hi there I am new with this thing and i don't know how to connect Allen Bradley Micrologix 1200 PLC to Raspberry Pi using USB to RS485 in NodeRED...
Replies
3
Views
2,274
Back
Top Bottom