Skip to content

Instantly share code, notes, and snippets.



Created Nov 10, 2015
What would you like to do?
Beckhoff linked test variable
$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