Skip to content

Instantly share code, notes, and snippets.

View jwilcoxson's full-sized avatar
🐢

Joe Wilcoxson jwilcoxson

🐢
View GitHub Profile
@jwilcoxson
jwilcoxson / G120 STO Config.vbs
Last active October 30, 2019 13:29
Siemens Sinamics Starter - Configure STO for G120/120C
'Generic STO Config for G120(CU250S)/G210C devices
'Set App and Project objects
Set myApp = APP
Set myProj = PROJ
'Set all devices to offline
For Each dev In myproj.Devices
dev.EnableOnline = False
Next
@jwilcoxson
jwilcoxson / Starter Online Backup.vbs
Last active October 30, 2019 12:25
Siemens Sinamics Starter - Save and Upload all Devices
'Set App and Project objects
Set myApp = APP
Set myProj = PROJ
'Set all devices to offline
For Each dev In myproj.Devices
dev.EnableOnline = False
Next
'Iterate through each device

Keybase proof

I hereby claim:

  • I am jwilcoxson on github.
  • I am jwilcoxson (https://keybase.io/jwilcoxson) on keybase.
  • I have a public key ASCIZi3UyovCNl8xDiPQ4jvVcSsIYtTnSpqQ77k6Hlhf6Ao

To claim this, I am signing this object:

@jwilcoxson
jwilcoxson / s7unprotect.pl
Created December 31, 2015 13:50 — forked from tallakt/s7unprotect.pl
Step 7 unprotect blocks
#!/usr/bin/env perl -w
# To run on linux, install the following packages:
# sudo apt-get install libdbd-xbase-perl
# sudo apt-get install libdbi-perl
#
# To run without downloading and creating the perl file, type:
# cd /path/to/step7/project
# curl -s -L https://raw.github.com/gist/3899286/s7unprotect.pl | perl
#