Configuration of IB IL AO 4/8 U/BP-PAC

fj.mesa.a

Level-1
Beiträge
9
Reaktionspunkte
0
Zuviel Werbung?
-> Hier kostenlos registrieren
Hi everyone, I need to make the configuration for 7 analog outputs with this module, (IB IL AO 4/8 U/BP-PAC) but i dont know how to do it.

Can anybody tell me how can i send 8 outputs analog signals using 4 output words?

I want to use the control word (out 1) as "OUTPUT AT CHANNELS 1 TO 8 IN 8-BIT RESOLUTION" or the library "Analog Technology" but i have the same question with both of them, how to send 8 outputs by 4 out words?

Thanks in advance.
Best regards.
 
If you are interested I can tell you how to do that with PC WORX Library functions with a short sample
 
I know I have to use the FB IL_AO4_8_V1, that is into the analog_technology library, but I don't know how to send the 8 analog values through the 4 word in the function block.

@RrBd a short example would be great!

Thanks to all of you.
Best regards.
 
Zuviel Werbung?
-> Hier kostenlos registrieren
Dear fj.mesa.a,

first of all I've attached to this post a very small example to demonstrate how it works.

Basically the channels are configured from array of struct Para, every channels has a field in the array.

The configuration and afterwards the communication for all channels is done with the Processdata in (1 word) and output (4 word).

To the question, how it is possible to send the datas of 8 channels only with 4 words.
This is quite simple, the slide is using when more than 4 channels are needed a multiplexing function :p

Hope this Helps.

bye

Frank
 

Anhänge

  • Conf_AO_4_8.png
    Conf_AO_4_8.png
    42,8 KB · Aufrufe: 28
Hallo zusammen,

probiere mich auch gerade an diesem Baustein. Leider ist mir nochnicht ganz klar, was ich bei Select vorgeben muss. Ich habe aktuell vier Ausgänge welche ich beschalten möchte. Was muss dann bei Select stehen?

So schaut es aktuell aus:

2023-12-28 13_53_08-Window.png

Vielen dank für die Unterstützung.

Schöne Grüße
Daniel
 
Oder muss ich für jede Klemme den Baustein erneut verwenden und nur das Byte bei Select ändern?

Danke und schöne Grüße
Daniel
 
Zuviel Werbung?
-> Hier kostenlos registrieren
Hallo zusammen,
zunächst noch ein gesundes neues Jahr 2024.
Leider muss ich noch einmal auf meine Frage bezüglich des Bausteins und der damit verbundenen Variable Select zurück kommen, da ich es aktuell leider noch nicht gelöst bekommen habe. Ich stehe hier irgendwie auf dem Schlauch und aus der Hilfe werde ich auch nicht schlau.

Hier ist der Auszug aus der Hilfe:

2024-01-02 11_51_47.png

2024-01-02 11_51_28.png

Was muss ich jetzt hier konkret bei Select angeben, damit ich die Kanäle 1-4 nutzen kann? Beziehungsweise wie aktiviere ich die Bits 0 bis 3?

Hat jemand eine Idee?

Vielen Dank für eure Hilfe.

Schöne Grüße
Daniel
 
Hallo,

ich denke auch, dass du die Bits 0..3 schreiben musst. Also 000 1111 bzw 15.
Dann werden die 4 Kanäle bedient.

SLe
 
Zurück
Oben