Hi Ralf.

Well that address would read an int (4 bytes) from Data-block 225 starting with 
the first byte of the block ...

Chris

Am 28.05.19, 10:10 schrieb "Ralf Barkow" <[email protected]>:

    Thanks Chris,
    
    So it's along the lines of HelloOpm.java:
    
    PLC_FIELD_ADDRESS = "%DB225.DBW0:INT";
    
    Cheers,
    Ralf
    
    
    
    
    
    Best regards I Freundliche Grüsse 
    
    Ralf Barkow 
    
    Technischer Redakteur | MTD Technische Dokumentation
    Endress+Hauser Flowtec AG | Christoph Merian-Ring 4 | 4153 Reinach | 
Switzerland
    Phone: +41 61 715 6528
    [email protected] |  www.flowtec.endress.com 
    
    
    
    
    Disclaimer: 
    
    The information transmitted is intended only for the person or entity to 
which it is addressed and may contain confidential, proprietary, and/or 
privileged material. Any review, retransmission, dissemination or other use of, 
or taking of any action in reliance upon, this information by persons or 
entities other than the intended recipient is prohibited. If you receive this 
in error, please contact the sender and delete the material from any computer. 
This e-mail does not constitute a contract offer, a contract amendment, or an 
acceptance of a contract offer unless explicitly and conspicuously designated 
or stated as such.
     
    
    
    -----Ursprüngliche Nachricht-----
    Von: Christofer Dutz <[email protected]> 
    Gesendet: Dienstag, 28. Mai 2019 09:58
    An: [email protected]
    Betreff: Re: HelloPlc4x example, parameter --field-addresses ?
    
    Hi Ralf,
    
    in general there is no address which is guaranteed to be available in 100% 
of the cases. 
    But I would assume reading the first 8 bits of the digital outputs should 
probably work:
    
    %Q0:BYTE
    
    Or reading a single bit (In this case reading output 4):
    
    %Q0.3:BIT
    
    Hope this helps. If not, don't hesitate asking ...
    
    Chris
    
    
    
    Am 28.05.19, 09:51 schrieb "Ralf Barkow" <[email protected]>:
    
        Dear list,
        
        Regarding the HelloPlc4x example, we are able to connect to a S7_1500 
but I need some help with the second parameter --field-addresses. Could you 
give me an example?
        
        Thanks,
        Ralf
        
        
        
        
        
        Best regards I Freundliche Grüsse 
        
        Ralf Barkow 
        
        Technischer Redakteur | MTD Technische Dokumentation
        Endress+Hauser Flowtec AG | Christoph Merian-Ring 4 | 4153 Reinach | 
Switzerland
        Phone: +41 61 715 6528
        [email protected] |  www.flowtec.endress.com 
        
        
        Disclaimer: 
        
        The information transmitted is intended only for the person or entity 
to which it is addressed and may contain confidential, proprietary, and/or 
privileged material. Any review, retransmission, dissemination or other use of, 
or taking of any action in reliance upon, this information by persons or 
entities other than the intended recipient is prohibited. If you receive this 
in error, please contact the sender and delete the material from any computer. 
This e-mail does not constitute a contract offer, a contract amendment, or an 
acceptance of a contract offer unless explicitly and conspicuously designated 
or stated as such.
         
        
    
    

Reply via email to