Communication entre automate Modicon M340 et simulateur

Bonjour,
Je viens de decouvrir Labview, et dans le cadre de mon projet, jaimerais faire communiquer mon programme de simulateur Labview, avec l'automate.
J'ai besoin d'ecrire et de lire mes variables dans l'automate.
Il sagit d'une communication modbus
Est ce que vous pouvez m'aider svp???
Merci,

Bonjour,
LabVIEW est fourni avec de nombreux exemples.
Vous pouvez y accéder dans l'onglet aide > recherche d'exemple
Il ya un menu "rechercher" (voir capture d'écran jointe) , et en tapant "modbus", vous avez didfférents programmes disponible.
Le premier me semble tout à fait adapter à votre application.
Cordialement
Guillaume D
Attachments:
Capture 85.PNG ‏38 KB

Similar Messages

  • Communication entre appli PC et appli RT sur myRIO

    Bonjour à tous,
    J'ai développer une appli PC capable de communiquer avec une appli RT tournant en startup.exe sur une cible myRIO-1900.
    Mon probleme se situe au niveau de la vitesse de communication entre ces deux applis:
    J'avais d'abord fais le lien grace à des variable partagées sur le réseaux avec l'option FIFO RT activée, mais malheureusement le premier ordre envoyé du PC vers le RT fonctionne parfaitement mais pour la suite, un retard assez grand viens s'imposer...
    Quelle pourrait etre la meilleur maniere de faire communiquer ces deux applis pour avoir un déroulement fluide ?
    Cordialement
    Nathan
    Résolu !
    Accéder à la solution.

    Bonjour,
    En général, j'utilise une communication TCP entre l'appli RT et l'appli de supervision. Cela demande plus de travail que les variables partagées mais donne plus de flexibilité, et pour moi plus de stabilité. 
    Cordialement,
    Rodéric L
    Certified LabVIEW Architect

  • Communication entre Captivate et Dokeos concernant le score

    Bonjour,
    Je sollicite votre aide concernant un problème que je rencontre lorsque j’intègre un module réalisé avec Captivate 4 dans Dokeos 1.8.4. En effet, une fois ce module intégré dans la plate-forme Dokeos, le tracking ne fonctionne pas et je n’arrive pas à récupérer le score de l’apprenant… J’ai fait plusieurs tests en changeant les paramètres dans Captivate mais rien n’y fait ! Quelqu’un aurait-il quelques conseils à me donner ?
    Merci d’avance.

    bonjour,
    La liaison série (RS232) est un moyen de communication très répandu pour la transmission de données entre un ordinateur et un périphérique.
    Mais comment vas-tu encapsuler les données à transmettre ?
    Pour faire simple, il te faut un driver qui est en quelque sorte le programme qui fait le lien entre le logiciel d’application et le matériel.
    Le premier réflexe : internet. Le driver de ton instrument n’existe pas sur Internet (IDNet) alors tu vas devoir l’écrire. Pa de chance, cela va être plus compliqué, car tu ne connais pas l'IDE LabVIEW.
    Sur du RS232, il est recommandé d’utiliser l’API VISA pour encapsuler les commandes (ensemble des VIs permettant de lire des données ou commander l’appareil). Tu vas devoir faire le driver Play & play LabVIEW (recherche sur internet comment).
    Par contre, comme tu utilises un automate, il faut regarder s’il n’existe pas un serveur OPC, pour communiquer avec lui. (recherche sur internet OPC et le nom de ton automate)
    Sinon je connais un très bon livre pour apprendre à utiliser LabVIEW (et pas labview). Bonne chance.
    Luc Desruelle | Voir mon profil | LabVIEW Code & blog
    Co-auteur livre LabVIEW : Programmation et applications
    CLA : Certified LabVIEW Architect / Certifié Architecte LabVIEW
    CLD : Certified LabVIEW Developer / Certifié Développeur LabVIEW

  • Communication entre CompactRIO et SIMATIC TOUCH PANEL

    Bonjour,
    dans le cadre du retrofit d'une installation, je souhaite faire communiquer un compactRIO avec un SiMATIC TOUCH PANEL de chez SIEMENS.
    Je sais qu'il existe des cartes Profibus et Profinet pour le CompactRIO, mais je ne trouve que des exemples de communication avec les automates et pas les HMI Panel.
    Comme il s'agit d'un protocole propriétaire, j'ai un doute sur la possibilité de communiquer avec ces produits.
    Y-a-t'il des retours d'expérience sur ce genre de genre d'assiociation?
    Merci

    Hi mhsoboe, 
    Your questions seems to be "Can we communicate between a cRIO profibus module and a Simatic touch panel?" 
    If the Simatic touch panel supports profibus communication the answer is yes, it will work. There are several different types of profibus communication, and the levels which NI supports are documented here. Looking at the documentation for the Simatic panel should tell you if the communication is supported. 
    What exactly are you trying to do? 
    Jesse Dennis
    Design Engineer
    Erdos Miller

  • Regd: Unable to automatically find executables for simulator 'mti_se' from the following paths

    Hi,
    I am trying to simulate for Spartan 6 fpga in Xilinx ISE 14.7 in Ubuntu platform. But when I compile my files I am getting the error that the simulator "ModelSim" path is not specified in the directory and its not able to simulate the file. I provided the test bench too.
    But still I am not able to compile.
    Any information will be useful
    Thanks
    Sukaniyaa

     if you want to run simulaion on modelsim then you have to. If you want to simulate your design using XILINX ISIM you need not have it installed.
    Go to design properties and change the simulator to ISIM to run on xilinx simulator

  • Communication entre NI WSN-3212 & NI WSN-3202 without the NI WSN-9791

    Hello, 
    My final year project is about programming the WSN nodes to communicate with eachother independently without the gateway. Can this be done using a Labview application ? Do you have some helpful examples ? I'm having difficulties with finding the required functions in Labview directories.
    Thank You.

    hello,
    thank you for your answer
    the nodes I m working with are configured to communicate through the gateway. What I m supposed to do here, is to change the topology in purpose to send data from the first node directly to the second node which will send the received data to the gateway.
    based on the fact that the nodes and the gateway are programmable, I m looking for the communication algorithm and the firmware of this network so I can change it to be adapted with my objectif, but I couldn't get to it.
    is it the right step to take?

  • Modbus Communications address offset

    Is there an option available in the Modicon Object to enable an address shift during communication with Modicon Devices.  When communicating with a Modicon Quantum PLC 400010 will return the value from the device in reg 400010 but when communication with a Modicon M340, Premium and others 400010 will return the value in 400009.

    Nothing a little data member export and import cant fix...
    On the standard Koyo (automationdirect) PLCs we have to convert from Octal to decimal, then add 1.  
    For example:
    PLC: V1200
    Decimal: 640
    MODBUS: 40641
    Forshock - Consult.Develop.Solve.

  • Control communication channel externally and automatically

    I would like to be able to control a communication channel automatically and externally,
    to turn it on and off at a certain time every day. Has anybody done this?

    Hi,
    Refer
    SAP Network Blog: Control Communication Channels Externally without using RWB
    Control Communication Channels Externally without using RWB
    Control Communication Channels Externally without using RWB
    Thanks
    Swarup

  • Automatic enabling of communication channels

    Hello,
    does anybody know if there is a way to enable/disable communication channels automatically using a batch script or anything similar? Background of my question is that I have got some JDBC sender adapters polling all the time. It would be very convenient to be able to control them in a programmatic way.
    Kind regards,
    Heiko

    Hi Vishal,
    thank's for your help but that's not exactly my requirement. The idea was to have some kind of trigger on the DB starting, when data comes in, the commincation channels automtically. It's a little tedious to do all these things manually. Other messaging systems (e.g. MQ Series) provide a scripting environment to do these things.
    Kind regards,
    Heiko

  • Communication Problem between RTD,Pt1000 and MAX

    Bonjour,
    J'ai un probleme de communication entre MAX et un Agilent,
    Je dispose d'un agilent 34970A, d'un GPIB et d'une carte insere dans l'agilent (34901A).
    Avec MAX je communique avec "communicate with instrument" en language SCPI,
    J'ai reussit a connaitre les temperature de mes Pt100 4 fils et des thermocouples dont les commandes sont:
    Thermocouples de type J: MEAS:TEMP? TC, J, (@203)
    Pt 100, 4 fils: MEAS:TEMP? FRTD, (@201)
    Mon probleme est de communiquer avec la Pt1000 sur le port CH6
    J'ai essayer:
             MEAS:TEMP? RTD, 85,1, 3E-06, (@206) mais on a par default la valeur d'une Pt100 2 fls
             Lorsque l'on configure la resistance avec TEMP:TRAN:RTD:RES 1000, (@206) cela fonctionne car si on lui demande TEMP:TRAN:RTD:RES? (@206) on a bien les 1.0000E+03 ohms. Mais je ne peut pas demander la temperature par la suite.
    Merci d'avance pour vos reponse.
    If you don't understand French I can translate.

    About this two kind exemple they are working:
    MEAS:TEMP? TC, J, (@203) and MEAS:TEMP? FRTD, (@201) for the measure of Thermocouple and RTD 4W,Pt100.
    But for the RTD 2W, Pt1000 it doesn't work.
    Could you give me an exemple of measurment  for this Pt1000 please ?

  • Issue in the XI Integration Directory when generating communication channel

    Hello,
    In the SAP XI Integration Directory, when I am attempting to create a Business System. I would like to have the communication channels automatically generated.   The Business System gets created as intended. However the communication channels are not automatically generated.  I get the message captured "<b>Unable to find an associated SLD element (source element: SAP_XIIntegrationDirectory, [CreationClassName, SAP_XIIntegrationDirectory, string, Name, directory.cxg.cpgia64, string], target element type: SAP_XIIntegrationServer)"</b>
      All configurations seems to be OK. Have you experienced this problem before, If so how did you remedy to it?
    Thanks in Advance,
    JLC

    Dear Cancel,
    we have this error too. What i can say is, that it have to
    do with the inconsistence of the SLD. You have to check if
    you don't have some inconsistence in the SLD.
    Sometime the connection to SLD is instable. Then just try
    again some minutes later. But it the error persist than
    something is not correct configured in SLD. We don't know
    exactly what we have done so that the error gone after
    correcting in SLD.
    best regard,
    Ly-Na Phu

  • Automatic comm channel when assigning Business system during configuration

    Hi all,
    In scenario file to file during Configuration,
    During assigning business system there is a check box:
    <b> 'Create communication channels automatically' </b>
    I am planning to use File adapter on both receiver and sender side..
    The question is Do I check this box or not ? If I do check this box it creates for me HTTP adapter ...Do I need it or not? I am clearly only using file adapter
    thanks all !
    Jon

    U cannot use it in ur scenario. This function is supported for the following adapter types:
    - XI Adapter
    - HTTP Adapter
    - IDoc Adapter
    - RFC Adapter
    See this
    http://help.sap.com/saphelp_nw04/helpdata/en/42/d1a4d665c5574fa6e19784358ec948/content.htm
    Regards,
    Prateek

  • Reg jdbc communication channell proccessing

    I have scenario i.e JDBC to RFC
    but i need  small calrification like is it possible to trigger the jdbc sender communication channel automatically whne the file tirggerd from the orcle Database
    like without giving the any polling intervals CC should poll when the file triggerd.
    i am not going to use that file its just a flag to start the communication channel
    can we achive this through OS commands ???
    thanks in advance....
    Edited by: katakoti on Nov 9, 2011 2:18 PM
    Edited by: katakoti on Nov 9, 2011 2:19 PM
    Edited by: katakoti on Nov 9, 2011 2:20 PM

    can we achive this through OS commands ???
    Yes you can write script and control the channels externally like give start or stop command at your specified requirement time.
    Please see this link
    Control Communication Channels Externally without using RWB
    Also you can use wget or curl command in the script  followed by http url string.
    Example:
    wget  http(s)://host:port/AdapterFramework/ChannelAdminServlet?party=party&service=service&channel=channel&action=start

  • Unable to create communication channel - RFC

    Hi ,
    I am trying to create communication channel automatically , when adding business systems from SLD to integration repository. I get the following error only for RFC
    all other communication channel gets generated correctly.. Is there any thing i am missing.
    HTTP communication channel GeneratedReceiverChannel_HTTP created
    IDoc communication channel GeneratedReceiverChannel_IDoc created
    XI communication channel GeneratedReceiverChannel_XI created
    Unable to create communication channel: Unable to generate the communication channel (NWR_107, GeneratedReceiverChannel_RFC): com.sap.aii.utilxi.misc.api.ClientServerException
    Thanks,
    Ganesh Ram

    Please run transaction SLDCHECK. The connection to SLD might not be working properly.
    Plus, in the business system you created, check if client number and all other parameters associated with SAP systems are valid.
    Dmitriy

  • Communication channels restart

    Hi,
    Is there any way that we can start communication channels automatically.
    I mean any way to schedule the restart of channels.

    Dear Pradeep
    I dont think there is automatic Activation of Communication channel. once it is active it will keep polling the files. But if it is inactive state and you want it active without manual intervention, I dont think it is possible.
    Experts suggest any other options to active it automatically.
    Thanks Prateek for the link. Good to know this
    Best Regards
    Praveen
    Edited by: Praveen Kurni on Aug 6, 2008 12:07 PM

Maybe you are looking for

  • Multiple adobe ID's, one email address

    I am looking at upgrading to CC from our CS6 volume license. We have 6 seats but do not need the extra cloud storage (or expense) of CC for teams, so individual licenses is the way forward. Rather than use the individual adobe id's and emails of each

  • External hard drive icons(fire wire)

    I have a lacie external drive hooked up to my G5.I went into disk utility,and when i clicked on the lacie it had a beautiful fire wire icon in orange.All of the icons that came with the lacie are ugly.I checked the lacie website for the icon and it w

  • Hyperlinks in word containing spaces are cut off in pdf generation

    We are using a mix of MS Word 2003, 2007 and 2010. All are experiencing the same problem when using Adobe products (Abobe Acrobat Pro 9, Adobe X, Adobe Elements) for the generation of a pdf document with respect to hyperlinks. When we have hyperlinks

  • Cocoon pdf printing

    Hi, I have followed Carl's very concise blog on using cocoon for pdf printing. http://carlback.blogspot.com/2007/03/apex-cocoon-pdf-and-more.html I have tomcat and cocoon up and running on linux (NOT a five minute task on linux unless you are a sysad

  • Images (and image folders) in the same folder as Lightroom Catalog?

    I'm just switching over from Aperture 3 to Lightroom 4.  I'm wondering if its ok (or smart) to keep the images (and image subfolders) in the same folder that the Lightroom.lrcat and Previews files are kept in.  I'm trying to better organize my Pictur