Jazz Soft お問い合わせ   JazzSoft@live.com     日本語   英語  日本語  中国語(繁体字)  中国語(簡体字)
工場自動化と歩留り管理ソリューション 
Skip Navigation Linksホーム > 製品一覧 > Savoy > Savoy GEM リファレンス > プロパティ > DeviceID

Jazz Softは2024年、日本からニューヨークに移転しました。

Savoy GEM リファレンス   

プロパティ
ALCD
ALIDCount
ALTX
Appearance
BorderStyle
CEIDCount
CEIDDescription
CommunicationState
ControlState
ControlStateSwitch
DataBakCount
DataFileName
DeviceID
DiscardDuplicatedBlock
Function
Host
IniFileName
IPAddress
Log
LogBakCount
LogCommunication
LogFileName
LogicalConnection
LogSize
Msg
MyPortNumber
Node
NodeCount
NodeType
NodeValue
NodeValueHex
OfflineRequest
OnlineRequest
Reply
PhysicalConnection
PortNumber
PType
Server
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
Wbit
WorkSpace

メソッド
AboutBox
DefProc
InvokeAlarm
InvokeEvent
IsValidVID
LoadData
LoadIniFile
RegisterALID
RegisterVID
SaveData
Send
Setup
ToALID
ToCEID
ToVID
UnregisterALID
UnregisterVID
WriteLogFile

イベント
CommunicationStateChanged
Connected
ConnectionStateChanged
ControlStateChanged
Disconnected
Problem
Received
Sent
VIDChanged

DeviceID Property

Gets or sets the device ID. Device ID is 15 bits starting at second bit of SECS-II header.

For HSMS data message following header structure is used.

ByteDescription
1Session ID
2
3WStream
4Function
5P type
6S type
7System bytes
8
9
10

For HSMS control message following header structure is used.

ByteDescription
1Session ID
2
3
4
5P type
6S type
7System bytes
8
9
10

構文

Visual Basic

DeviceID As Long


Visual C++

long GetDeviceID()
void SetDeviceID(long)

戻り値

使用例

Visual Basic

.DeviceID = 1


Visual C++

m_ctrl.SetDeviceID(1);

特記事項

Persistent property.

Device ID and session ID are almost same, but device ID is 15-bit, where session ID is 16-bit.

参照

お問い合わせ   JazzSoft@live.com
  Copyright © 1997 - 2024 Jazz Soft, Inc.