Jazz Soft Contact us?   JazzSoft@live.com     English   English  Japanese  Chinese (Traditional)  Chinese (Simlified)
Factory Automation & Yield Management Solution Provider 
Skip Navigation LinksHome > Products > bop > bop Reference > ALIDCode

Dorian.Core is added. Dorian now supports .NET 6 and 7.

bop Reference   

Properties
ALIDCode
ALIDCount
ALIDDescription
CEIDCount
CEIDDescription
Communication
ControlState
ControlStateSwitch
DeviceID
DiscardDuplicatedBlock
Function
HexDump
Host
IniFile
IPAddress
LocalPortNumber
LogFileBakCount
LogFileEnable
LogFileEnableCommunication
LogFileName
LogFileSize
LogicalConnection
LogicalConnectionFileName
Node
NodeCount
NodeType
NodeValue
NodeValueHex
OfflineRequest
OnlineRequest
PassiveEntity
PhysicalConnection
PortNumber
PType
Reply
SessionID
SML
Stream
SType
SystemBytes
T1
T2
T3
T4
T5
T6
T7
T8
Verification
VIDCount
VIDDefault
VIDDescription
VIDMax
VIDMin
VIDNodeType
VIDRawValue
VIDType
VIDUnit
VIDValue
ViewStyle
WaitBit
WorkSpace

Methods
Configure
DefProc
IndexToALID
IndexToCEID
IndexToVID
InvokeAlarm
InvokeEvent
IsValidVID
Load
LoadIniFile
RegisterALID
RegisterVID
Save
Send
UnregisterALID
UnregisterVID
WriteToLogFile

Events
CommunicationStateChanged
Connected
ConnectionStateChanged
ControlStateChanged
Errors
Received
Sent
VIDChanged

ALIDCode Property

ALID classification code. Handled as ALCD. Even when a value is set in ALIDCode, only the last 7 bits are recorded. The top bit of ALCD is used to mean generation/clearing of alarms, and this bit is specified by the InvokeAlarm argument.

If ALID is not registered, it is not possible to set a value. The following method is used to obtain a list of registered ALID.

First find how many ALIDCount there are.


lCount = .ALIDCount

ALIDCount will return the number of registered ALID,so values that can be used as the index are those from 0 to (ALIDCount - 1). Using IndexToALID, this is converted to ALID.


lALID = .IndexToALID(lCnt)

The ALID has been obtained, so it is possible to access ALIDCode and ALIDDescription.


nALCD = .ALIDCode(lALID)
strALTX = .ALIDDescription(lALID)

This should be arrayed by repeating the For statement. The full source code will be displayed.


Dim lCount As Long
lCount = .ALIDCount

Dim lCnt As Long
For lCnt = 0 to lCount – 1
Dim lALID As Long
lALID = .IndexToALID(lCnt)

Dim nALCD As Integer
nALCD = .ALIDCode(lALID)

Dim strALTX As String
strALTX = .ALIDDescription(lALID)
Next lCnt

Syntax

Visual Basic

Property ALIDCode(lALID As Long) As Integer


Visual C++

short GetALIDCode(long lALID);
void SetALIDCode(long lALID, short nNewValue);


ArgumentDescription
lALIDALID

Return Value

Example

Remarks

See Also

ALIDCount Property
ALIDDescription Property
IndexToALID Method
InvokeAlarm Method

Contact us?   JazzSoft@live.com
  Copyright © 1997 - 2024 Jazz Soft, Inc.