Difference between revisions of "MC-Basic:REDIRECTSTDOUT"
m |
(Task name is optional) |
||
Line 1: | Line 1: | ||
− | {{Languages|MC-Basic:REDIRECTSTDOUT}} | + | {{Languages|MC-Basic:REDIRECTSTDOUT}} |
{{MC-Basic | {{MC-Basic | ||
|SHORT FORM= | |SHORT FORM= | ||
Line 5: | Line 5: | ||
|SYNTAX= | |SYNTAX= | ||
− | RedirectStdOut'' <task name>'' NewStdOut=<''es number''> | + | RedirectStdOut{'' <task name>''} NewStdOut=<''es number''> |
|AVAILABILITY= | |AVAILABILITY= | ||
Line 18: | Line 18: | ||
5 – Ethernet on port 5004<br> | 5 – Ethernet on port 5004<br> | ||
+ | if optional <task name> is left empty, redirect applies to the current task.<br> | ||
|TYPE= | |TYPE= |
Revision as of 13:39, 22 August 2019
Language: | English • 中文(简体) |
---|
Redirects the printouts from the parent entry station of a task to the specified entry station. The ES number can be:
1 & 4 (Alternating (prio version 4.15.2 and 4.14.1) – Ethernet on port 5001
2 – Ethernet on port 5003
3 – Virtual Entry Station
4 - Ethernet on port 5005 (from version 4.15.2 and 4.14.1)
5 – Ethernet on port 5004
if optional <task name> is left empty, redirect applies to the current task.
Syntax
RedirectStdOut{ <task name>} NewStdOut=<es number>
Availability
Since Version 3.7.x
Type
<es number> : Long
Scope
Configuration, Task, Terminal
Examples
RedirectStdOut Job1.prg NewStdOut=1