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

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

bop リファレンス   

プロパティ
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

メソッド
Configure
DefProc
IndexToALID
IndexToCEID
IndexToVID
InvokeAlarm
InvokeEvent
IsValidVID
Load
LoadIniFile
RegisterALID
RegisterVID
Save
Send
UnregisterALID
UnregisterVID
WriteToLogFile

イベント
CommunicationStateChanged
Connected
ConnectionStateChanged
ControlStateChanged
Errors
Received
Sent
VIDChanged

InvokeAlarm メソッド

An alarm is generated. Specifically, S5F1 Alarm Report Send(ARS) is sent to the Host. This is not sent if ALID is not registered or is disabled.

No matter what number is specified in sALCD, the first 7 bits will be disregarded. As ALCD is in binary format, it only has 8 bits. Therefore, only the 8th bit is actually used in ALCD. If this bit is 1, it means an alarm was generated; if 0, it means an alarm was cleared.

To send "alarm clear", there must previously have been an "alarm generation". When "alarm generation" is sent, within bop an "uncleared flag" will be set versus that ALID. If this "uncleared flag" has not been set, it is not possible to send "alarm clear". When "alarm clear" is send, the "uncleared flag" is reset.

As the "uncleared flag" only records on/off as data, even if an "alarm generation" is sent twice in succession, one "alarm clear" sent will reset the "uncleared flag".

The setting information for "uncleared flags" is recorded in a file so that it can be recovered even if an application has been closed.

構文

Visual Basic

Function InvokeAlarm(lALID As Long, sALCD As Integer) As Boolean


Visual C++

BOOL InvokeAlarm(long lALID, short sALCD);


引数説明
lALIDALID. ALID must be registered beforehand.
sALCDALCD. Only the 8th bit is actually used.

戻り値

説明
BOOLReturns true if an alarm was sent and false if not sent.

使用例

特記事項

参照

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