omron — GetOS

Appendix: Built-in Scripting Language Examples GetNetMACID Gets the MAC ID unique code from the currently installed network adapter(s). Syntax GetNetMACID( " optTagMACID ", " optTagAdapterName " ) optStrMACID Name of a string tag, which receives the MAD ID of the network adapter. If there is more than one network adapter currently installed in the station, the user can configure a string array tag in this parameter, so each array position receives the MAC ID from one network adapter. optStrAdapterName Name of a string tag, which receives the name of the network adapter.

If there is more than one network adapter currently installed in the station, the user can configure a string array tag in this parameter, so each array position receives the name from one network adapter. This parameter is optional. Returned value Examples GetOS Reports the current operating system. Syntax GetOS() This function takes no parameters. InduSoft Web Studio Page 555 −3 Invalid optional parameter. Tag Name Expression Tag GetMemoryCE( 1 ) Function Group Execution Windows Embedded Thin Client GetNetMACID System Info Synchronous Supported Supported Supported Value Description >0 Number of network adapters found. 0 No network adapters found. -1 Invalid number of parameters.

-2 One of the parameters is not string type. -3 Tag configured in optTagMACID does not exist. -4 Tag configured in optTagAdapterName does not exist. Tag Name Expression NumNIC GetNetMACID("MACIDTag") NumNIC GetNetMACID("MACIDTag", "AdapterName") NumNIC GetNetMACID("MACIDTag[1]", "AdapterName[1]") Function Group Execution Windows Embedded Thin Client GetOS System Info Synchronous Supported Supported Supported