ID : 7689
GetCCSConnection
Function
Acquires the wireless connection condition.
This command is available in Ver.2.7.* or higher.
Syntax
GetCCSConnection
Return Value
Returns the wireless connection condition as integer type data.
Value | Description |
---|---|
1 | Wirelessly connected. |
0 | Not wirelessly connected. |
Description
Acquires the wireless connection condition.
This is used to output the wireless connection condition to I/O.
By using this command as a supervisory task, it is possible to check the wireless connection condition at all times.
Related Terms
-
Attention
-
Example
'If COBOTTA is wirelessly connected, turn ON IO24.
'Execute this program as a supervisory task.
'!TITLE "Tsr000"
Sub Main
Do While 1
If GetCCSConnection = 1 Then
Set IO24
End If
Loop
End Sub
ID : 7689