127
ifm Programming Manual AS-i Gateway AC14 (4.2.x) 12/2017
Appendix Library ACnnnn_SYS_CMD.library
>
Example: Date / time / read NTP settings
17423
Task: Read the current system time and the NTP settings with the FB ACnnnn_SysCmd.
Command type: Command reply channel
Input parameters of the FB:
Corresponding commando channel:
→ Command 0x010B – Read date / time / NTP settings (→ device manual supplement)
irrelevant, since command reply channel
irrelevant, since command reply channel
variable of the data type Array of Words
contains the return values of the reply channel
Array consists of 7 lines since the reply channel returns 7 words (words 5 ... 11).
Content of arDataOut: