<< Prev        Next >>

ID : 3982

Ver

Function

To return the module version.

Syntax

Ver(module number)

Guaranteed Entry

Module number
Designate a module number by integer type data.

Return Value

Return the version information by string type data.

Description

Module numbers are listed below.

Module number Module name
0 Controller software
1 LMB FPGA
2 IO FPGA
3 Power software
4 Safety I/O

Related Terms

System Get Function

Attention

If no module is found, a null character is returned.

Example

'!TITLE "Acquisition of Version Information"
' Acquire the controller software version
Sub Sample_Ver

  Dim aaa As String

  aaa = Ver( 0 )

  ' Display the version information on the message output window
  PrintDbg aaa

End Sub

ID : 3982

<< Prev        Next >>