Jump to content
jimmybohm

Command Line File Transfer

Recommended Posts

Posted

Hello,

I'm looking for the smallest way to upload and download project files to a GMT CNT plc.

I'd like to download & upload files (.gpf & firmware), over a local network, to a GLC-496R, autonomously.

For example, with command line or terminal. Or a very small executable. Or utilizing the local web server.

 

  • Like 1
Posted

Notes I have gathered on telnet so far;

run telnet
    open <IP address>:23
        password: 1234
        info
            returns Sysclock,
            Revision#,
            Loader#,
            Firmware#,
            User App#,
            Run Stat,
            Name,
            WMI Stat
            USB Stat
            PLC Model,
            WMI Host
            CPU Freq
        cfgsrv
            returns WMI Host with port
        program enable <#####> <##########> <User App>
            starts TCP Communications
            data download:     21120 2141526140
            
        filecopy enable <#####> <##########> <Password>
            data download:    21952 3842419543
            Starts TCP Communications
        wrmem <###############>    
            <Memory> <Value> ?? maybe
            0564040000 00
        chks
            2141526140
            Returns PLC File. Check gmt suite project file matches file on PLC.
        rdmem
            rdmem 011801 011D01 06CF01 06D401 055C04 06DC01 06DD01 076E02 070601 070B01 062404 072101 065C04 078602 000001 023001 034801
        stop
            stops plc
        run    
            starts plc
        live
            command sent by GMT Suite. PLC Responds invalid command.
            
        wrmem
            writes to memory address
            
        exit

  • Like 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...