You are on page 1of 47

Improving PLC Version

Control and Device Backup


Using Modern Git
Workflows

Darren Henry, VP Marketing


Vaughn Varma, Technical Marketing Manager
Copia Automation | www.copia.io
About the viewer panel

Technical problems?
▪ Click on the “Question Mark Symbol” in the upper right corner of your screen and you will be directed to a
list of system checks
▪ Send a question from the “Ask a Question” window; individual technical questions will be answered in
“Answered Questions” on the left side of your screen
Slides
▪ Click the four-pronged arrow button in the top right corner of the slides to view an expanded window
▪ Slides should change automatically
▪ Click on “Download Webcast Slides” under “Event Resources” for a PDF of all slides
▪ Warning: PDF will be a large file
Archive
▪ Within 7 days, an archive with Q&A will be posted
▪ We will send registered attendees an email with hyperlink
▪ Can also access from www.controleng.com home page
Today’s Presenters

PRESENTER PRESENTER
Darren Henry Vaughn Varma

Vice President of Technical Marketing


Marketing Manager
Copia Copia
Most companies use the Archive Folder workflow
to manage PLC code

4
For most PLC programming the archive folder
approach provides limited context:

○ No change tracking
○ Sporadic sharing of
data - requiring
review meetings
○ Difficult to gate
access
○ Prone to human error
○ Danger in overwriting
and deleting files

5
Operational actions add to the complexity

○ Changes made at the


factory floor are
difficult to track
○ Companies lose
visibility into the
latest working code
○ Work is often
duplicated and recovery
speed is negatively
affected

6
DevOps Stack
Most software development
teams have embraced Git-based source control +
DevOps practices collaboration

Automated Testing
These processes remove painful manual
steps to develop code quickly, reduce
downtime and uplevel operational
efficiency. Deployment Management

● Project Tracking
● Inherent Collaboration
● Increased Quality Observability / Monitoring
● Better application of resources

7
Why has PLC Programming not embraced Git?

o Most files are binary and based on


visual languages
o Solutions are vendor specific and proprietary

8
Copia Automation solves these issues.
We bring modern DevOps tooling to industrial
automation, standardizing processes to drive
quality, efficiency, and uptime at scale.

9
Git-Based DeviceLink™
Source Control Automatic Backup

○ Track all code changes ○ Automatically back up


with context running control programs
○ Visually see differences ○ Visualize the data in one
between versions central location
○ Accelerate review ○ Detect any unauthorized
processes changes
○ Enable engineers to work ○ Visually compare code for
simultaneously on the quick troubleshooting and
same codebase recovery

10
Understanding Git

11
Git is fully distributed and secure

Remote
Repository

Pull/Push
Pull/Push
Push Pull/Push

Local Repository Local Repository Local Repository


1 2 3

12
All code changes are tracked and you can access earlier
versions as code evolves

Initial files
created X
Commit 1 Commit 2 Commit 3 Revert to
D Henry D Henry V Varma Commit 2
04/26/2022 04/26/2022 04/27/2022
01:12 pm 04:18 pm 08:10 am
Labeling shut Adjusted run Filling logic
off logic speed added
Git enables you to visualize the differences
between versions
Copia enables you to visualize the differences in
Ladder Logic, FBD, and Structured Text

15
Git utilizes branching & merging

New Branch (dev enhancement)

New Branch
Merged into Main

Main Branch (production code)

16
Git utilizes branching & merging

New Feature Branch 1

All Branches
Merged into
Main

Main Branch

New Feature Branch 2

17
Let’s take a look…

18
Consistent Git Workflows for:

19
Integrations to your favorite business apps

20
Extending Source Control with
Superior Backup Strategies

21
22
Schedule a job or perform an on-demand backup.

Run recurring jobs or choose to perform on-demand runs.

23
Copia provides clear visibility into the plant floor.

Quickly see if the PLC


doesn’t match what’s in
the repository or
previous backup.

24
Quickly scan for differences

25
Quickly scan for differences

26
Quick navigation

27
Watch projects that are important to you

Notifications via:
- Teams
- Slack
- Email

28
Intelligently filter tags

29
Vendor support and roadmap - not just PLCs

Custom
FTP Scripting
And more

30
Overall Benefits

31
These workflows drive efficiency, quality & uptime:

Efficiency Quality Uptime

Copia breaks the one-engineer- Copia drives quality by enabling Copia provides visibility into when
to-a-project paradigm, enabling you teams to capture issue earlier in code changes and why. The last
to apply your talent where and when the development lifecycle and working version is instantly
it's needed most. Engineers can better leverage team expertise available to accelerate recovery
easily move between projects and during operational disruptions.
work simultaneously on the same
code base.

32
Additional Benefits

● Accelerates onboarding
of new hires
● Encourages IT/OT
convergence
● Improves cybersecurity
posture

“Copia provides my senior controls team with up to


8 hours back a week in just code review practices”
John Sullivan | Project Director
33
Q&A

34
Submitting Questions, Exit Survey and
Archive

Questions?
Type your question in the “Ask a Question” box on the Webcast Console and click “send.”
We will get to as many questions as we have time for. Questions for today’s presenters will
be answered verbally during the Q&A session.

Exit Survey
Please take a moment to answer a few questions on our exit survey that will pop up on your
screen at the conclusion of the webcast. We use the answers to make improvements to our
webcast program.

Archive
▪ Within 7 days, an archive with Q&A will be posted
▪ We will send registered attendees an email with hyperlink
▪ Can also access from the controleng.com home page
Thank You!
Start your free trial at
copia.io
37
Simply drag
existing files
into your
local Git
repository:

38
In practice, it’s a simple 3-click process.

1 2 3

Save Project Save Snapshot Sync to Copia Server


Native IDE (“Commit”) Copia Desktop App
Copia Desktop App

Automatically detect changes visually. Save in your IDE, and Copia


will do the rest.

39
You can always access the commit history:

40
You can
easily see
what has
changed.
Dinner with team. Vaughn, Alia, Mike C, Darren

41
Support for LD, FBD, and Structured Text

42
And review/approve changes…

43
And merge code.

44
Manage org-wide code access and privileges.

45
The DMC team was already familiar with Git, but
had issues with using standard Git tools.

Code review processes were extremely


difficult and a major organizational blocker.

The team needed faster maintenance of code


quality.

46
The DMC team was already familiar with Git, but “Copia provides
had issues with using standard Git tools. my senior controls
team with up to 8
Code review processes were extremely
difficult and a major organizational blocker.
hours back a week
in just
The team needed faster maintenance of code code review
quality. practices”

John Sullivan
Project Director
DMC

47

You might also like