![IFM PDM360NG Series System Manual Download Page 341](http://html1.mh-extra.com/html/ifm/pdm360ng-series/pdm360ng-series_system-manual_3875026341.webp)
ifm
System Manual
ecomat
mobile
PDM360NG (CR1080, CR1081, CR9042) Target V01
2011-07-28
Managing the data
Data access and data check
341
11.2.2
SYSTEM_ASYNCH
9693
Unit type = function block (FB)
Contained in the library:
ifm_PDM360NG_linux_syscall_asynch_Vxxyyzz.Lib
Available for the following devices:
- PDM360NG: CR108n, CR9042
Symbol in CoDeSys:
Description
9700
SYSTEM_ASYNCH sends any command (max. 255 characters) to the Linux operating system. The
command is processed asynchronously in the background.
The function block must be executed (EXECUTE = TRUE) until the FB output DONE = TRUE.
NOTE
Good Linux knowledge is required to use the POU!
Monitor the POU using timeout functions!
Parameters of the inputs
9701
Parameter
Data type
Description
EXECUTE BOOL
FALSE
TRUE (edge):
command execution starts
COMMAND
STRING (255)
Linux command line
Parameters of the outputs
9702
Parameter
Data type
Description
DONE
BOOL
TRUE (only for 1 cycle) = function block execution completed
BUSY
BOOL
TRUE = system is active (action has not yet been finished)
ERROR
BOOL
TRUE (only for 1 cycle) = command not successful
RET_VAL
WORD
Return value of the Linux command