USER MANUAL – Z-TWS4/Z-PASS2-S/S6001-RTU
182
19.1.6
LINUX_SHELL
Seneca FB for access to the Linux Shell.
Max 255 command line characters.
For access to the output use "> output.txt"
Shell_cmd : string command
@Enable : if true execute the shell command
Result : the return value of the "system" C function
Usage Example:
"ls > output1.txt"
create the directory list into output1.txt
19.1.7
LINUX_SH_ASYNC
The LINUX_SH_ASYNC FB executes a command in a Linux shell, in asynchronous mode.
When first called, the FB runs a Linux shell process which starts performing the
command; on subsequent calls, it only checks if the process has finished the
command execution.
The FB has the following input parameters:
- COMMAND : the command to be executed
- TIMEOUT : timeout, in seconds
- @ENABLE : TRUE -> FB is executed
FALSE -> FB is skipped
The FB has the following output parameters:
Summary of Contents for S6001-RTU
Page 35: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 35 Then import the Library menu Tools Import...
Page 68: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 68...
Page 76: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 76...
Page 86: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 86...
Page 87: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 87...
Page 121: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 121...
Page 133: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 133...
Page 162: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 162 Select the mbus_shm csv file...