Skip to content

Instantly share code, notes, and snippets.

@Sitebase

Sitebase/READM.md

Created Nov 10, 2015
Embed
What would you like to do?
Beckhoff linked test variable
<?php
$start = $argv[1];
$end = $argv[2];
$type = isset($argv[3]) ? $argv[3] : "I";
for($i=$start; $i <= $end; $i++) {
for($j=0; $j < 8; $j++) {
echo "termtest${i}_${j} AT %${type}X${i}.${j}: BOOL;\n";
}
}
php beckhoff-term-generator.php 2 10 Q
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment