Help - Search - Members - Calendar
Full Version: Analog Card
Forums.MrPLC.com > PLCs and Supporting Devices > Allen Bradley
learning engineer
I have a Micrologix 1100 and a 1762-0F-4 analog card. Can some tell me how to program it? I need to send to a servo motor a 0-10vdc. What statement or instruction do you use? Can some write me a sample program?

Thanks
jstolaruk
check out this manual first: http://literature.rockwellautomation.com/i...in016_-en-p.pdf
rpraveenkum
use SCP inst in RSL500
TWControls
What will the 0-10VDC be based off of?
learning engineer
QUOTE(learning engineer @ Apr 18 2007, 09:39 PM) [snapback]53108[/snapback]

I have a Micrologix 1100 and a 1762-0F-4 analog card. Can some tell me how to program it? I need to send to a servo motor a 0-10vdc. What statement or instruction do you use? Can some write me a sample program?

Thanks


That is the literature that came with the card, but still it does not tell me how to incoroporate it into the program. I know that I have to tell it the location of the card and the channel, but i dont know what statement I should use, how to write the rung etc.
jstolaruk
A MOV instruction will copy a RAW D/A value to the output register that controls a channel's output voltage. The value of the data will have to be determined by ? (you).
learning engineer
QUOTE(TWControls @ Apr 19 2007, 08:33 AM) [snapback]53141[/snapback]

What will the 0-10VDC be based off of?

based on the servo drive; it is set up to receive this value for speed control. i would really like for somebody to show me how to write the rung; it is the first time I am using an analog card with AB; it is more of book keeping issue that i have.

Thanks
TWControls
But what will the 0-10 VDC be based off of? It's hard for us to write a rung to control it if we don't know what will determine the current value of your 0 to 10 VDC
learning engineer
QUOTE(TWControls @ Apr 19 2007, 08:59 AM) [snapback]53146[/snapback]

But what will the 0-10 VDC be based off of? It's hard for us to write a rung to control it if we don't know what will determine the current value of your 0 to 10 VDC


i thik that i will be able to deal with this value by using SCP instruction, but my question is where do I send this value? how do i write it? what instruction to use?
jstolaruk
Use the SCP instruction to convert your speed to a Raw D/A value and store into a memory location : N7:0 as an example. then see my earlier post: use a MOV instruction to transfer it to the card (ses the manual on which output address).
learning engineer
QUOTE(jstolaruk @ Apr 19 2007, 09:27 AM) [snapback]53151[/snapback]

Use the SCP instruction to convert your speed to a Raw D/A value and store into a memory location : N7:0 as an example. then see my earlier post: use a MOV instruction to transfer it to the card (ses the manual on which output address).


i think that i am getting there. my last question is about the I/0 memeory where i am going to send the value that was calculated by SCP inst. What is the word and the bit? (last 2 items)

Thanks
jstolaruk
QUOTE(learning engineer @ Apr 19 2007, 11:07 AM) [snapback]53158[/snapback]
QUOTE(jstolaruk @ Apr 19 2007, 09:27 AM) [snapback]53151[/snapback]

Use the SCP instruction to convert your speed to a Raw D/A value and store into a memory location : N7:0 as an example. then see my earlier post: use a MOV instruction to transfer it to the card (ses the manual on which output address).


i think that i am getting there. my last question is about the I/0 memeory where i am going to send the value that was calculated by SCP inst. What is the word and the bit? (last 2 items)

Thanks


The manual has the I/O bits and words defined that are used to interact with your program.
Mickey
Where you write your data to depends on the slot you put the module in.
If module is in slot 1 then see example below.
Data is written to the Output word for slot the module is put in.
learning engineer
QUOTE(Mickey @ Apr 19 2007, 11:32 AM) [snapback]53163[/snapback]

Where you write your data to depends on the slot you put the module in.
If module is in slot 1 then see example below.
Data is written to the Output word for slot the module is put in.


That I uendestand but what is the word and the bit?

MOV N7:9 O4:1.WORD?/BIT?
Mickey
QUOTE(learning engineer @ Apr 19 2007, 10:36 AM) [snapback]53164[/snapback]
QUOTE(Mickey @ Apr 19 2007, 11:32 AM) [snapback]53163[/snapback]

Where you write your data to depends on the slot you put the module in.
If module is in slot 1 then see example below.
Data is written to the Output word for slot the module is put in.


That I uendestand but what is the word and the bit?

MOV N7:9 O4:1.WORD?/BIT?


no bit just write to the word as posted
jstolaruk
QUOTE(learning engineer @ Apr 19 2007, 11:36 AM) [snapback]53164[/snapback]
QUOTE(Mickey @ Apr 19 2007, 11:32 AM) [snapback]53163[/snapback]

Where you write your data to depends on the slot you put the module in.
If module is in slot 1 then see example below.
Data is written to the Output word for slot the module is put in.


That I uendestand but what is the word and the bit?

MOV N7:9 O4:1.WORD?/BIT?


No bit, just word, and it will depend on which output circuit you are using. You need to open and read the manual, it will help you through this.
learning engineer
QUOTE(jstolaruk @ Apr 19 2007, 11:41 AM) [snapback]53166[/snapback]

QUOTE(learning engineer @ Apr 19 2007, 11:36 AM) [snapback]53164[/snapback]
QUOTE(Mickey @ Apr 19 2007, 11:32 AM) [snapback]53163[/snapback]

Where you write your data to depends on the slot you put the module in.
If module is in slot 1 then see example below.
Data is written to the Output word for slot the module is put in.


That I uendestand but what is the word and the bit?

MOV N7:9 O4:1.WORD?/BIT?


No bit, just word, and it will depend on which output circuit you are using. You need to open and read the manual, it will help you through this.


I got it! thanks so much. I am going to load it into the system. if i have any more questions, I will let you know.
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.