Set up and control "counter" in S7-300 by OPC and LabVIEW

Hi everyone,
I am using a PLC S7-300 and OPC Server for my projects. I have a problem: S7-300 has a counter module which count digital signal. I only can set it up by using SIMATIC STEP 7. Can I set up counter module by only using OPC Server and LabVIEW
does anyone have any solution or any idea for my problem?
could you please help me...
thank you
Solved!
Go to Solution.

Hi Echion,
NI-DAQ(mx) is used just for NI-Hardware: no you can't use it.
To program the PLC you need to use the right programming environment. For Siemens S7 you need to use Simatic (or maybe some other 3rd party software supporting IEC61131). Point.
The OPC server is used just for data exchange. It's no programming interface!
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome

Similar Messages

  • HT1420 How do I set up parental control on book downloads?  My daughter and I use the same Apple ID info.

    How do I set up parental controls on my apple account, I want to censor the books that she's dowloading. We use the same account  Thanks!

    Turning off in-app purchases and the App Store itself would be the best bet for you. You can always unlock these features as needed and lock them again.
    Apart from restricting purchases, there are a number of other restrictions you can setup. You can even setup a safe browser with remote parental controls from the App Store, like the one from Mobicip. You may find this tutorial to be helpful: How to setup Parental Controls on the iPad.
    Hope this helps.
    Disclaimer: This response is posted by a Mobicip representative who may stand to gain indirectly from it.

  • Home Monitoring and Control with a third party also monitoring and controllin​g?

    I was wondering if anyone has tried to install Home Monitoring and Control with a third party monitoring, and or controlling the same devices. I know many systems offer multiple control points such as auxilary control touch screens. Has anyone made this work? I have Z wave devices on my home security system (lighting), and would also like to monitor them via Verizon. Possibly also adding some energy monitoring and control, that is not available via my security company. My security monitoring company provide support through Alarm.com, but has limited energy monitoring to thermostat control and such.
    The only interactive control with my security company is for alarm monitoring and control, with limited lighting control. All of my devices are GE in the wall mounted lighting controls, and I would prefer to pay Verizon the few extra dollars for the additional features VIA the web, rather than pay Verizon. There used to be an energy package, that included the main power panel load and I thing Thermostat, but I believe some of the bundles have been split up.
    There are other options out there now, but I have neen exploring. My GE Switches are from the Lowes Iris system. Much less expensive, and can replace existing wall switches, not like the power cord switches. Plus the store is four miles from my house.

    I started with Verizon home monitoring, but if you read through the threads the service is extremely unreliable, still to this day. I am stillusing it, although I am waiting for a refund on the services that I have used since it is so bad but I bought a MiCasaVerde Vera3 system.  You pay appoximately $300 for the unit and there is no monthly charge and you get all the features plus pretty much unlimited types of z wave devices to use on it. I would seriously consider using that before Verizon.

  • Monitoring and controlling the Tag values of Logix 5000 using Labview while using RSLogix 5000 to program the PLC

    Hi
      I want to know how to change the input bits or tags of a PLC which is programmed using RSlogix 5000. But I need to use Labview to monitor the input bits ( like in Digitial Input bits) and then be able to change the BITS while the PLC runs and the PLC should be able to detect the change in input bits and act accordingly. The programming is done using ladder logic and its done in RSLogix 5000 and dumped into PLC using RSLogix.
    Thanks in advance

    msu,
    Once you have the OPC server up and running the best way to communicate with is is through the Datalogging and Supervisory Control module for LabVIEW.  The DSC module allows you to bind shared variables to items on your OPC server.  Then you could just read from or write to these shared variables to access the data on this OPC server.  If you don't want to get this module you could also just use datasocket to read/write from an OPC server.  The URL you would use in data socket would look something like "opc://localhost/{your opc item's address}".
    -Justin D

  • Block and control

    Hi XI Professionals,
    Can anyone briefly explain about
    1  block and control step?
    2  what is pmi and ccms what is the use of them?
    3  what is the need of JCA?
    4  what exactly difference between FTP and NFS?
          Thanks in advance,
    Regards,
    Chandu.

    Hello Chandu,
    1) block and control step?
    Ans: You use a block ( ) to combine steps that you want to execute one after the other and which are to access the same local data (see also: Containers). You can also use a block to combine steps that you want to have the same deadline or exception handler, or to define a local correlation.
    You can define the mode Parallel For Each(ParForEach) for a block or Dynamic Sequence (ForEach). This means that the block is executed for all elements of a multi-line container element.
    You use a control step ( ) to do the following:
    •        Terminate the current process
    •        Trigger an exception
    •        Trigger an alert for Alert Management (see also: Triggering an Alert)
    Activities
    Terminate the Current Process
    Choose Terminate Process.
    At runtime, the system terminates the current process instance, including all active steps, and sets the status for the process to logically deleted.
    Trigger an Exception
    Choose Trigger Exception and specify the triggering exception (see also: Exception Handling). The relevant exception handler must be defined in the same block or a superordinate block.
    The system triggers the specified exception at runtime
    2 what is pmi and ccms what is the use of them?
    Ans:
    Use
    You have the option of connecting your adapter to the Process Monitoring Infrastructure (PMI). In the SAP environment, technical processes often extend beyond system boundaries (as is the case in Business Process Management, for instance). By connecting to PMI, you have the ability to monitor such processes.
    PMI collects data from various different systems by means of PMI agents, which make their data available centrally for evaluation purposes.
    Integration
    The PMI trace data is initially collected in the memory before being loaded asynchronously to the PMI server. Consequently, the effect on the monitored system and its performance is kept to a minimum.
    SAP systems that exchange messages with other systems (for example, tRFC or the Runtime Workbench) are connected to PMI automatically.
    PMI is integrated with SAP Solution Manager. SAP Solution Manager joins the business process view with technical tracing that extends beyond system boundaries.
    For more information about process monitoring with PMI, see: Process Monitoring with PMI (Process Monitoring Infrastructure)
    Interface Overview
    Characteristic
    Value
    Name
    AF PMI Access
    Purpose
    Create PMI Data
    Type
    Java library
    Technical name
    Com.sap.aii.af.service.pmi
    Certification
    Optional
    Syntax
    See under path: JavaDoc (.index) package com.sap.aii.af.service.pmi
    Activities
    ●     Use the PMIAccess class to set PMI events. The Adapter Framework calls the PMIAccess class.
    ●     Adapters can implement the following PMIAccess methods to monitor message processing overall:
    PMIAccess Methods
    Method Name
    Meaning
    invokeAdapterInboundAgent
    Can be used by the adapter in the sender/inbound direction to report the arrival of a new message as soon as possible.
    The method requires a message ID. It does not necessarily have to be an XI message ID if the MessageIDMapper is then used to map the message ID to an XI message ID.
    See also: Generating, Persisting, and Mapping a Message ID
    invokeCPALookupAgent
    Records the address information for a given message ID.
    The method must be called for the adapter in the sender/inbound direction if invokeAdapterInboundAgent was called previously.
    invokeIDMappingAgent
    Must be implemented in the adapter to make PMI aware of the mapping between the external ID and the XI message ID.
    You must implement this method if invokeAdapterInboundAgent is called using an external message ID and the MessageIDMapper service is not used.
    invokeAdapterOutboundAgent
    Can be called in receiver/outbound direction to report the exit of the message.
    If you call the method by using an external message ID, the adapter must call either invokeIDMappingAgent or use the MessageIDMapper to make PMI aware of the ID mapping.
    ●     You do not need to include any other PMIAccess methods.
    ●     If the XI message ID is set in one of the methods listed above, it must be a hexadecimal string if you use callPMIAgent() and this is set to TRUE.
    The CCMS Monitoring Infrastructure locally monitors a component using data collectors and stores the monitoring data in the main memory of the component. A central monitoring system can request this data over the network and therefore provide you with a central overview of your system landscape.
    With the CCMS Monitoring Infrastructure, you can also set alerts to be triggered when certain threshold value conditions are met. You can set an auto-reaction to notify you as a result of the alert.
    The CCMS monitoring infrastructure is used as a data platform by:
    Transaction RZ22
    The CCMS Alert Monitor
    The Solution Manager
    Various system management partner products
    Back to top
    Which of my SAP systems should I use as the central CCMS monitoring system?
    The central monitoring system should fulfill the following criteria:
    It should have as high a release status for SAP Basis as possible. As the agent SAPCCM4X is only available as of a central system release status of SAP Basis 4.6C, monitoring larger system landscapes is only possible as of this release.
    It should have as high an availability as possible. You will find central monitoring of limited use if the system is not constantly available, you must fall back on the local administration functions, and the notification from the central system if errors occur is also not functioning.
    In large system landscapes, it can be useful to set up a separate, purely SAP Basis system for central monitoring. You could also use this system for other central tasks (such as the Solution Manager, Central User Administration, Transport Domain Controller, and so on). For the central monitoring system, a status of SAP Web Application Server 6.10 or 6.20 is ideal.
    3 what is the need of JCA?
    Ans:
    Use
    The adapters that you are developing for the Adapter Framework of SAP Exchange Infrastructure must be implemented as resource adapters of the Java Connector Architecture (JCA) 1.0. Adapters do not have to meet all the requirements that are specified as mandatory in the JCA, since some aspects are not relevant to the Adapter Framework.
    On the other hand, some requirements are optional in the JCA, but must be met since they are mandatory in SAP XI.
    Prerequisites
    The references in the following descriptions refer to the document J2EE Connector Architecture Specification, Final Version 1.0.
    You can download this document at java.sun.com/j2ee/connector.
    Integration
    ·        Adapters run on the J2EE server of the SAP Web Application Server 6.40, which contains a JCA 1.0 framework. The J2EE server thus meets all the requirements set out in the J2EE Connector Architecture Specification, Version 1.0.
    ·        Adapters for the Adapter Framework are usually able to act as sender and receiver adapters. JCA 1.0 does not provide any mechanisms for the sender/inbound direction of the adapter. These mechanisms are provided by the Adapter Framework interfaces. See: Message Exchange
    ·        JCA 1.0 does not provide any mechanisms for adapter lifecycle management, that is, adapters do not contain any information about UNDEPLOY, RESTART, REDEPLOY, or changing ManagedConnectionFactory properties. These mechanisms are also provided by the Adapter Framework interfaces. See also: Managing the Lifecycle of a JCA Adapter
    Features
    The following documentation describes the requirements that you must meet in relation to JCA and SAP XI during adapter development:
    ·        Connector Architecture, Roles and Scenarios, Lifecycle
    ·        Connection Management
    ·        Transaction Management
    ·        Security Architecture and Security Contract
    ·        Common Client Interface (CCI)
    ·        Packaging and Deployment of Adapters
    4 what exactly difference between FTP and NFS?
    Ans: If the file you are picking up is on the an FTP server then u need to use FTP protocol(in this case you will give FTP server name or IP address in sender file communication channel),
    but if the file is on NFS server(meaning on XI server itself) then u can use NFS protocol.
    All these information is really useful to you..
    Thanks,
    Satya Kumar..
    Reward POints If it is useful...

  • Position Budgeting and Control

    Dear Friends,
                         Can antyone please tell me what is he function of and purpose of node "Position Budgeting and Control".
    i have searched alot about it and all I come to know about it is this that it is soe how realted with PCP and Payroll simulation but I am not getting any sense out of it .
    i mean why to use it. on using it what advantages could be attained in Personnel Cost Planning and Simulation and as well as for Enterprise Compensation Management.
    Currently we are implementing PCP and ECM so wanted to know if position budgeting and control woudl have any realtion with it. its importance while implementing PCP and ECM. and suppose f we dont implement this node that what we are loosing.
    your help and support would be highly appreciated.
    Regards

    Hi, I have lots of written information about Position Budgeting and Control, one of them a nice white paper mhich may give you an understanding of the principles. We evaluated it at a customer and decided "only" to implement PCP. As I understood PBC uses PCP as a motor for collecting plan data, but you will not be able to do detail planning f.ex, as in Personnel cost planning. So as I understood it is amongst others a way of collecting HR financial data from a data basis and integrate it with Financial, a bridge between HR and FI. The commitment processor is the engine for this integration, if I've understood it correct. I can't say that I fully understood the principles either, but if you like I may provide you with some documentation. Do not know how to reach you, though. I also have a comment from a PBC-expert, maybe this will enlighten you (FYI: this is taken out of a context):
    "...PBC is not intended to do detailed budgeting. PBC main feature is the possibility to create commitments / encumbrances and reserve this budget based on salary expenses.  Customers usually spend a big part of their budget in salaries, so this tool offers them the chance to monitor and control this effectively by reserving the budget they will need for a certain period of time (usually the fiscal year) and being able to monitor if there are budget deficiencies in case of salary adjustments or new hires.   PBC only uses the budget from FM to post agains it, but in no way pretends to offer a tool to manipulate this budget, plan or make decisions against the whole budget..."
    Regards

  • Arrays as both Indicator and Control

    Is there anyway I can use an array (either a constant array or an array control) as both an indicator and control. I need this to enter and replace numeric values in an array.

    > Pretty much yes, but I want to use the same array (control or
    > constant) as both an indicator and a control. This way I can replace
    > the array contents (which would be in a loop) and don't worry about my
    > initial array and my final array being two different arrays. Can I use
    > the local variable only for this?
    As the earlier post stated, try using the local variable to update a
    control from the diagram. You probably shouldn't place it inside the
    loop, but use a shift register. Thus, take the value from the terminal,
    into the left shift register. Inside the loop, take the left shift
    register value, modify, and write to the right shift register. Outside
    the loop again, wire from the right shift register to the local.
    If you do no
    t want to allow for user modification of the array control
    during this, you can disable and reenable the array using a property node.
    If you are not really doing this for UI, but to try and reuse memory,
    then this is really the wrong approach. LV wires are really the most
    efficient way of dealing with data, and you don't need to worry about
    putting things back into an array unless it is for the UI. If it is to
    pass out of a subVI, you will put them into a new array indicator in
    fact, and when called as a subVI, this can often take no additional
    memory, using the caller's array input throughout the diagram. If you
    start using the local, this is no longer true, and you now have both
    memory and runtime overhead. So use locals, and property nodes, only
    for UI tasks, and your VIs will be much more efficient. For everything
    else, use wires and shift registers.
    Greg McKaskle

  • How to dynamically set Min count and Max Count values in Adobe Print Form?

    How to set the Min Count and Max Count values dynamically in a Print Form?
    The values when set should over ride the values set in Binding Tab.
    This is all needed to print multiple Material Number labels on a single page - and the number of labels to be printed needs to be under user control - something like an Avery Address labels
    Please advise.
    Thanks,

    Here is a work around that works for me and may not be an intelligent solution .
    I kept the Min Count to 1 on the subform binding properties.
    Per the number of labels required, I appended the same item to the internal table so many times and passed it to the label.
    it works fine for my requirement.
    However - leaving out the post for a while to see if this can be done at the form level via scripting.
    Thanks,

  • Hey How Do I Get Group Message On The IPhone 4s because some reason it doesn't want to show . First i did is setting then messages  it only show imessage and message count )HELP)

    ey How Do I Get Group Message On The IPhone 4s because some reason it doesn't want to show . First i did is setting then messages  it only show imessage and message count )HELP)

    At the bottom of the page Settings > Messages you should have a section headed "SMS/MMS" Turn MMS messaging on then you can turn group message on.

  • I want to set up 5 different ipods to sync from one library, but want to be able to control what is synced to each ipod and have it remember that for future synching and just look for new songs and not sync all the other music in the library

    I want to set up 5 different ipods to sync from one library, but want to be able to control what is synced to each ipod and have it remember that for future synching and just look for new songs and not sync all the other music in the library

    Click here for options.
    (58961)

  • How to get UUTPassed and UUTFailed count from C# ActiveX control

    Hello,
    My operator interface uses TestStand ActiveX control in C#. I will use the OP to test a bench of DUTs, which runs the same sequence file. I would like to know the total UUT-Tested, UUTPassed and UUTFailed count after each DUT tested. Is there any embedded parameter does the job for me and how could I get it? If there is not, I have to create internal variables in C# to do the job.
    Thanks
    Regards,
    Solved!
    Go to Solution.

    No, there is no build in function for this. So either you will have to implement something like this in on of the following:
    a) The user interface
    b) The SequenceFile (as long as it is not unloaded in between)
    c) The process model
    d) Use an external tool for analysis
    If you are already working with databases for reporting, i would suggest using d). If not, you can choose. But modifying the process model is not recommended (if other, simple solutions are available), i wouldn't recommend c).
    hope this helps,
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • I just set an administrators name (my full name) and password for parental controls (using the one I always use) and now after restarting and trying to make changes to aprental controls it does not recognize my password

    I just set an administrators name (my full name) and password for parental controls (using the one I always use) and now after restarting and trying to make changes to aprental controls it does not recognize my password

    Hello, do you have another admin account to log into for a test?

  • HT4759 I am trying to set up icloud on my pc. I open the control panel and it keeps asking me to sign in and doesn't give me any other options but that.

    I am trying to set up icloud on my pc. I open up the control panel and it keeps asking me to sign in and doesn't give me any options but that. What could be the issue?

    To use iCloud, you must first set it up on an iOS device or a Mac.
    Creating an iCloud account FAQ:
    http://support.apple.com/kb/HT4436

  • I have set up iCloud control panel 3.1 for Windows 7 but when I add a contactact on my PC the information is not updating my iPhone and sames hold true for my calendar. Any suggestions?

    I have set up iCloud control panel 3.1 for Windows 7 but when I add contacts on my Windows 7 desktop it is not updating to my iPhone 5 and the same holds true with my Calendar.  Any suggestions?  Thanks

    The version that came with Microsoft Office Home and Business 2010 and says Version 14.0.7106.5003 (32 Bit) and the e-mail I have set up as POP / SMTP.  Thanks for your reply.

  • As an administrator can I set a time limit and control having inappropriate sites displayed on my "administrator" usage?

    as an administrator can I set a time limit and control having inappropriate sites displayed on my "administrator" usage?

    Parental Controls can be used to set time limits, to allow the computer to be used only within specific hours of the day, and to block certain Web sites (or to allow only certain Web sites). However, they can be applied to a Standard account only, not to an admin account.

Maybe you are looking for

  • Base table

    Hi I am trying to create a view. Chosing a sap table fo ex: likp and a customized table activated  which is having a customized field with curr reference field as waerk of vbak (reference table). Now while i am activating the view i have an error : t

  • Links no longer work after signing document

    Links no longer work after signing document - I have updated to latest version and run installation repair, is this a problem or is it supposed to do that?

  • Unicode error in program

    I am getting the following error when I do a syntax check when using a PNP logical database with unicode checkbox checked in attributes.  Can someone give me a solution to avoid that.   Thanks in advance In unicode programs the - cannot appear in nam

  • Hi I forgot my siecurity code can you email it

    Hi I forgot my security code can you email it to me.

  • Check Job step status

    HI,    My scenario goes like this :       I have 3 steps in a background job with 3 diff variants. I want to find out a way to find the status of each of my job steps, and after each job step is submitted on knowing its status i want to send a corres