public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: Martin Pettersson <martin@siamect•com>
To: git@vger•kernel.org
Subject: Re: Git with Lader logic
Date: Fri, 27 Mar 2015 15:09:15 +0000 (UTC)	[thread overview]
Message-ID: <loom.20150327T160645-181@post.gmane.org> (raw)
In-Reply-To: 5F9B9EBF-CD4D-42A8-8A0C-9806702231A1@icloud.com

Bharat Suvarna <bharat.bs84 <at> icloud.com> writes:

> 
> Hi 
> 
> I am trying to find a way of using version control on 
PLC programmers like Allen Bradley PLC. I 
can't find a way
> of this.
> 
> Could you please give me an idea if it will work with 
Plc programs. Which are basically Ladder 
logic.
> 
> Sent from my iPad--
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo <at> vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> 

I use Git for versioning PLC program written for Beckhoff TwinCAT v2 that 
saves the files in binary format.  
You can probably do the same for most other systems as well.   
  
My way of doing it is... 
I have a batch file that starts TwinCAT including a file that tell Twincat to
open my PLC program and export it into a text based format. 
After that the script opens git gui and gitk.  
  
I have one script like this for each plc program. 
It is quite effcient, the whole procedure only takes a double click and 
less than 10 seconds and you have git gui up and you can see your 
changes in pure text, commit and push.   
I commit both the exported text files and the binary  because the binary
is the one I edit.   
This has been working very well for many years....
  
Take care   
Martin

  parent reply	other threads:[~2015-03-27 15:15 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-17 23:33 Git with Lader logic Bharat Suvarna
2015-03-18 11:29 ` Kevin D
2015-03-18 19:53 ` Randall S. Becker
2015-03-18 22:28   ` Doug Kelly
2015-03-18 22:38     ` Randall S. Becker
2015-03-19  7:14     ` Bharat Suvarna
2015-03-19 21:17       ` Kevin D
2015-03-27 15:09 ` Martin Pettersson [this message]
2015-03-27 15:39   ` Junio C Hamano
2015-03-27 16:32     ` Martin Pettersson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20150327T160645-181@post.gmane.org \
    --to=martin@siamect$(echo .)com \
    --cc=git@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox