<< Prev        Next >>

ID : 389

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 : 389

<< Prev        Next >>