Implement and control 'meter' in S7 - 300 by the OPC and LabVIEW

Hello world

I use a S7-300 PLC and OPC Server for my projects. I have a problem: S7 - 300 has a meter module which digital signal of County. I only can implemented using SIMATIC STEP 7. Can I set up the meter module using only the server OPC and LabVIEW

does anyone have a solution or an idea for my problem?

could you please help me...

Thank you

Hi Echion,

NOR-DAQ (MX) is used only for material OR: no you can not use it.

To program the controller you must use the right programming environment. For Siemens S7, you need to use Simatic (or perhaps some other 3rd party software supporting IEC61131). Point.

The OPC server is used only for the exchange of data. This is no interface programming!

Tags: NI Software

Similar Questions

  • Problems of implementation of VLANS on Cisco SG 300-28 comments

    Hello

    I'm mainly curious if the configuration that I explained below is actually possible, and if so how do I implement. I know that this isn't the easiest configuration and I need to put in place without buying any equipment more if possible.

    I have a SG Cisco 300-28 with three Setup VLAN

    Vlan1 (company) - 192.168.10.0 - switch IP 192.168.10.254

    VLAN2 (VOIP) - 192.168.20.0 - switch IP - 192.168.20.1

    VLAN3 (guest) - 192.168.30.0 - switch IP - 192.168.30.1

    Default gateway is 192.168.10.1 (Netgear router)

    I have a wireless network setup (Netgear WMS and WAP 2) configured with TWO VIRTUAL (1 and 3) networks. They enter ports on the Cisco SG 300 - 28 which are marked on the two VIRTUAL networks. The wireless carriers has worked well, but the guest network is not reout on the Internet.

    After some troubleshooting I realized that the reason wasn't the guest was because there was no path routing of the internet to the router.

    The router I have is not really ideal, it is a Netgear DGN2200, but I managed to create a static route to 192.168.30.1 with a metric of 2, 192,168,10.254 being the jump.

    Success, the connection worked, the only problem is that now my guest network can see my business network because the corporate network uses the static route on my router to router on the guest network (due to the limitations of this device I can't do anything about it)

    So basically, what I have is

    Network Guest can connect to Business VLAN switch. I guess that's because the router is on the VLAN of Business and the default gateway is the router. As they are on the same network the Guest inevetably network can see the network and the server of the company.

    The network of the company can return to the network invited through the router using my static route, I created. The static route is really basic and I can't create a firewall on the router rule to prevent the business network addressing network comments because there is only one LAN - WAN firewall and this connection is LAN - LAN.

    What I need, is...

    somehow stop all traffic from the 192.168.30.0 network routing to what anyone on the 192.168.10.0 network, apart from the router to 192.168.10.1.

    Is this possible? I have this setup at several different site, the only difference is that I have a router from CIsco security on the latter with the VLANS configured so that I don't have this problem. Because I have a Netgear DGN2200 rather limited, I cannot configure the VLAN correctly, and as such, I need to see if I can do this on the switch somehow.

    Any help would be appreciated.

    It is my first post says in the way, so if I missed something that anyone would help then please let me know.

    Kind regards

    David

    Hi David,

    Why not apply an access list to filter incoming traffic in the SG300 switch such as, via the command line or GUI.

    Here is an example below, certainly not comprehensive, just an example

    ,

    Remember, we use the reverse masking of the ACE;

    config

    restrictGuest extended IP access list

    deny ip 192.168.30.0 0.0.0.255 192.168.20.0 0.0.0.255
    deny tcp 192.168.30.0 0.0.0.255 any 192.168.30.1 0.0.0.0 www
    deny tcp 192.168.30.0 0.0.0.255 any 192.168.30.1 0.0.0.0 telnet
    deny ip 192.168.30.0 0.0.0.255 192.168.10.0 0.0.0.255

    allow an ip

    output

    interface gigabitethernet1

    Service-acl input restrictGuest

    output

    Don't forget to save the configuration with the following command and respond to the prompt.

    To write

    or do it via the GUI method

    Step 1.  Create an ACL name

    step 2, add the ACE base port which is the list of filters.

    step 3.   Apply or binding the list to a port so that the port can watch and filter pattern matches to detect traffic in the switch.  I gave you an example of an ACE list above, you can be more creative in what you refuse.

    step 4. Now add or copy the entry in other ports on the switch.

    Be sure to save your changes to the configuration.

    I hope this helps.

    Best regards, Dave

  • On my iPhone, my photo library is taking 8 GB, but I deleted everything to implement and it is not the flow of shared photos. I don't know how to get rid of this storage

    On my iPhone, the library takes up 8GB, but I deleted everything to implement and my shared photo stream takes up no storage

    See this: why my iOS device say I more pictures I can find?

  • cannot communicate with the fluke45 serial-controlled meter

    I use the moat "getting started vi" and the error says Fluke 45 initialize
    The ID of the query failed.  This may mean that
    you have selected the wrong instrument or
    your instrument has failed.
    You can also use a model that is
    not officially supported by this driver.
    If you are sure that you have selected
    the correct instrument and it is
    in response, try disabling the Query ID.

    I disabled the Query ID and I still get the same message. I wired the connector upward series on classic, is possibly an alternative wiring config.

    Dennis,

    Thank you for your help. The problem has been resolved, the meter has been configured for the parity instead of zero (0 bit of parity).

    Frank

  • The hand left panel doen't show the usual "Control Panel Home" switch and my control panel display is stuck on the classic view.

    The same thing happened to me recently: the hand left panel doen't show the usual "Control Panel Home" switch and my control panel display is stuck on the classic view. Click on "Show common tasks in folder" but that doesn't change anything. Finally, I tried a restore without success point. No idea how to get back the link "control Panel Home"?

    Thank you very much for your support

    Alain Truchat

    Split from here:

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_xp-desktop/left-hand-pane-on-Control-Panel-missing-XP-Home/6ca7e184-e2be-4709-b865-81e5c3702629#last

    Hi, Alan.

    Reset Control Panel-
     
    Press Windows key + R
     
    Type inetcpl.cpl regsvr32.exe/n/i
     
    Press ok

  • How to implement and use properly the (long) SourceStream.seek?

    I create a custom DataSource and local SourceStream for streaming of video files (the files are stored in the memory card). I chose to use the data source instead of just creating a player given the path of the file because I have additional processes to be made between bed bytes of video files and the player to obtain the data, and I need to implement look/forward/back features fast outside the play/pause/resume/STOP.

    Then to add these features, I implemented the method SourceStream.seek (long) using setCurrentPosition (int) of the SharedInputStream method.

     public long seek(long where) throws IOException {
            if (where < 0) {
                where = 0;
            }
    
            synchronized (readLock) {
                synchronized (connectionLock) {
                    sharedInputStream.setCurrentPosition((int) where);
                        currentPosition = sharedInputStream.getCurrentPosition();
    
                        return currentPosition;
                }
            }
        }
    

    The problem is, when I explicitly call the seek (long) method to move to a time particular/frame, the video remains stuck in a State of buffering. In addition, I'm worried about the method with a parameter int SharedInputStream.setCurrentPosition (int). I fear that this would cause an exception since I play video files.

    I also tried to use the InputStream methods reset(), and skip (long), but when you watch the video, an exception is thrown:

      public long seek(long where) throws IOException {
            if (where < 0) {
                where = 0;
            }
    
            synchronized (readLock) {
                long now = 0;
                try{
                    sharedInputStream.reset();
                    now = sharedInputStream.skip(where);
                } catch (Throwable t){
                    e.printStackTrace();
                }
                return now;
            }
        }
    

    My questions are:

    1. how the seek (long) method must be implemented using the SharedInputStream.setCurrentPosition (int)?

    2. Similarly, how can you search for videos using the methods InputStream.reset () and .skip (long)?

    3. What is the right way to call the seek (long) method if you want to go to a particular time frame /?

    Thank you!

    Take a look at the following KB that has a very good specimen annex and explains the issues you have raised: http://supportforums.blackberry.com/t5/Java-Development/Streaming-media-Start-to-finish/ta-p/488255

    It uses a CircularStreamingBuffer, and the implementation of seek can handle both seeks in the buffer zone, or outside that case made an additional http request.

    For any initiative the user seeks, you should just use player.setMediaTime () as shown in the example, and it must call your call the implementation on the lower level.

  • Implementation and Infrastructure Server to a client Application

    Hi friends,

    I'm new to this group, infact new in this field and technology as well.

    I intend to implement a Java client on BlackBerry application. The way that I want to build the GUI of the application uses a XML file returned by the server (J2EE based), analyze dynamically and build GUI components.

    Since then, connection to the server every time and checking the file takes a long time, I would like this file to be pushed on the server each time it is updated and the client should receive and store locally on the device. Timing of the launch, these stored data are read to build the GUI.

    Content, from what I read so far, it's possible spawning a listener thread on the client side to run in the background and listen to the Server grows regularly.

    If the above said is fine. I would like to know the details of infrastructure, configuration and deployment required for the implementation and test on a physical device and emulator backberry, such a request.

    -I can create a client application using backberry than GUI related API and write code to spawn the background thread to listen to a port

    Question) how do I know if the port to which I have listened to and how to deploy the application on the device?

    -Server code will be used to push the XML to the client using POST

    Question) how to set up devices in destination to which data must be pushed?

    Question) what role do MDS and BES play in this communication?

    As a user of the device blackberry and developer, how can I get access to Blackberry Enterprise Server?

    I'm extremely sorry for this long message.

    I would be grateful if anyone can provide suggestions or ideas.

    Thank you

    Suresh.

    # 1, you can create an application to auto-start.  In, open the properties of the project for the application by right-clicking on it in BlackBerry JDE.  Click the Application tab, then check the Autorun at startup feature.

    #2 is supported by the BlackBerry Enterprise Server.  It provides content to the BlackBerry on the wireless network.  If you're looking to push the same data on multiple devices, please see the following link

    What is - Push content to multiple users in a single push request
    Article number: DB-00517

    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800451/800662/What_Is...

  • Problems with error Windows Audio and Control Panel "one or more of the audio service is not running.

    I'm a bit of a technophobe, but I'll try to explain my problem, I got better.  I recently had a problem with Windows 8 and refreshed my system.  After refreshing, I installed AVG Anti-virus and that's where my problems really started.  After installing AVG I have no sound and my control panel usually pop up.  The box is displayed but there is nothing in it and it sorts just of sticks, frozen.  I tried the fixes recommended to fix my sound. The speaker in my taskbar icon has a red x on it and when I try to open it it goes right to the problem-solving mode, then comes up with "one or more of the audio service is not running.  When I try "run services.msc' and try to start Windows Audio through Services I get error 0x800706cc.  I tried to uninstall AVG and reboot, but it did make a difference.  Please help, this leads me to the madness now.  Nothing I try seems to work!

    Installation of AVG is when the problems started, I would start by undoing that.  Since the normal uninstall did not help, use system restore to return to a work situation.  Check here and use the #1 option.

  • the effects\transform\crop of the video isn't "cropping" correctly in the effects control. 'left' must adapt to the top; 'top' must adapt to the right; "right' fits the bottom"; and 'down' to the left adjusts. Suggestions on how to reset?

    the effects\transform\crop of the video isn't "cropping" correctly in the effects control. 'left' must adapt to the top; 'top' must adapt to the right; "right' fits the bottom"; and 'down' to the left adjusts. Suggestions on how to reset?

    Have to ask - did you apply rotation to the clip?

    MtD

  • I get a message saying Lightroom met an erorr when reading the preview cache and need to stop smoking. Then told that Lightroom will try to resolve thei problem the next time it starts. Never does. Tried to uninstall and reinstall but no good.

    I get a message saying Lightroom met an erorr when reading the preview cache and need to stop smoking. Then told that Lightroom will try to solve the problem the next time it starts. Never tried to uninstall and reinstall but no good.

    Sound familiar to anyone?

    Hello

    Please go to the save location of the Lightroom Catalog and here please delete the Lightroom Catalog Previews.lrdata folder.

    Now please open Lightroom and check if it works.

    Please let us know if it helps.

    Kind regards

    Tanuj Sandal

  • LCD, extented and Labview controls

    Hello

    I use a LCD series (https://www.sparkfun.com/products/9395) associated with a TTL - USB converter (http://www.miniinthebox.com/fr/cp2102-usb-2-0-vers-uart-ttl-convertisseur-6pin-serie-du-module_p3910... and labview with VI No. 1.) Sending simple commands such as VI No. 1 works well. My problem is that I do not know how to send orders Extended Page 2 here https://www.sparkfun.com/datasheets/LCD/SerLCD_V2_5.PDF.

    For example, as I understand the datasheet, I need to send 124 128 to disable the brightness of the screen. If I type "124 128" in VI n ° 1 the LCD displays "124128.  I get the same result with VI n ° 2.

    If anyone know what I can try next?

    Thanks a lot.

    User1979

    It seems that these values (124 and 128) are the decimal equivalent of the byte to transmit 0x7C and 0x80. It is not possible to say with certainty from your images, but most likely you send the characters of ASCII text for '1' '2' '4' and '1' '2' '8 '. Since then, they appear on the screen that is certainly what is happening.

    In your second pop VI on the string constants and select hexadecimal display in the context menu. Then type the values hex 7 c and 80.

    Lynn

  • Hi all. Could someone tell me how to turn off and turn on the CISCO 52 "LCD control using RS232 to play in the future

    Hello

    Im working in Cisco DMS & IPTV.

    IM facing a problem with 4400 DMP & 5.2.2 DMM.

    I want to control CISCO 52 inch LCD using the 4400 G DMP. I am able to power on LCD screens remotely through the DMM off. Also, I am able to schedule for turning off the voltage & power on the LCD for a short number of days as for 3 or 4 days.

    but I can't program it to play in the future for a month.

    My requirement is this: I want to turn off the LCD screen during the downtime in my office to customers. I want to plan the screen to running from 07:00 to 18:00 I want to turn on my LCD from 18:00 to 06:00. I want to this appendix for 1 or 2 months of long in one fell swoop.

    good answer as soon as possible.

    Hello Peter,.

    You will need to add 2 separate events in the appropriate groups of dmp.

    You need to power the LCD screen will be to be repeated on a daily basis with the desired stop time.

    The second will be for LCD power supply using the same methodology as the first.

    The catch here, what if your client's Office is open only 5 or 6 days a week, you need to define the events above for each work day, BUT each event must be repeated in every week (not every day).

  • Can I add a modal control to an Action without changing the setting?

    In the context of an action, I want to change the resolution of the image. I have this job very well, except that the value that I typed in for the resolution of the image when I implemented the Action is the default whenever the Action runs. For example, I could have typed in 300 when the Action has been registered, and 300 is which appears every time when the Action is executed. I would like to be able to see the actual resolution of the image in question. I tried not to enter any number in the window the size of the Image , but when I do that the action is not registered.

    QUESTION: can I set up a modal control on Image > Image ifze so that when I run the Action and the size of the Image window, all numbers here come from the image, ready for me to crush them?

    Hello

    I think you want to try «Insert Menu Item»... "in the Action Panel flyout (icon at the top right) menu. Remove the Image size command to the current address of your action and use the Menu option Insert... to replace it. When you select it, you will see a dialog box of information (see Insert). Now go to Image > Image size... and it will show this menu item in the dialog box. Now, click OK. When you run the update action, he must get the current settings of the opened document.

  • Windows 10. Control user account each time to the home page. STINKS! Is there a solution?

    Windows 10. Control user account each time to the home page. STINKS! Is there a solution?

    A possible cause of this message, it is that Firefox is configured to run as administrator.

    Make sure that Firefox is not set to run as administrator.

    Right click on the desktop Firefox shortcut and choose "Properties".

    Make sure that all items are disabled in the tab "Compatibility" of thz
    e Properties window.

    • Privilege level: "Run this program as Administrator" should not be selected
    • "Run this program in compatibility mode for:" must not be selected
  • Control buttons do not work on the Satellite a series

    For some reason any my av controls stopped working and I tried to reinstall my control however that does nothing!
    I ' ts so frustrating!
    My drive internet and media who work just stop the play/pause and buttons next/previous donation work and I can't understand why! Help, please!

    Hello

    Because you are new to this forum, I will be patient with you but please don t forget to display your name cell phone text time.

    To get the job of control buttons you must first reinstall the common module of sand, then controls Toshiba Toshiba page!

    Good luck

Maybe you are looking for