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

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

Configure メソッド

Displays setting screen.

HSMS Tab

ItemDescription
Passive EntityCheckmark indicates a passive entity (server). No checkmark indicates an active entity (client).
IP Address or Computer NameSelects whether IP address (xxx.xxx.xxx.xxx) or computer name. This setting is unnecessary for a passive entity, so entry of this item will not be possible.
Port NumberPort number of other side. Since this is not known until a connection is made from the other side in the case of a passive entity, entry of this item will not be possible.
Local Port NumberLocal (self) port number. If 0 is set in the case of an active entity, an open port number will be assigned automatically. If other than 0 is specified, it will not be possible to re-connect for several minutes in some cases.
Device ID (Decimal)Device ID. Settable within the range of 0~32767.
Discard duplicated message blockWhen checked, if the same message is continuously received, messages arriving later will be disregarded.

Timeout Tab

ItemDescription
T1(Not used)
T2(Not used)
T3T3 timeout in 1-second increments
T4(Not used)
T5T5 timeout in 1-second increments
T6T6 timeout in 1-second increments
T7T7 timeout in 1-second increments
T8T8 timeout in 1-second increments

Log Tab

ItemDescription
Enable loggingWhen checked, will write to log file. When unchecked, the following items cannot be entered.
Enable communication logWhen checked, will record to communication log.
File nameLog file name. No suffix may be added. The suffix .log will be added automatically.
Number of backup filesNumber of back-up files. Back-up filenames are as follows.
Filename001.log
Filename002.log
Maximum size of each fileMaximum size of log files. If this size is exceeded, a back-up file will be created. In 1-kilobyte units.

Revision Tab

ItemDescription
MDLNMDLN character string in messages such as S1F13 Establish Communication Request(CR). Equipment model name. max 6 bytes.
SOFTREVSOFTREV character string. Revision (version) number. Max 6 bytes.

State Tab

ItemDescription
Initial communication stateComm status at time of application launch. Select one of the following.
Initial control state (Transition #1)Control status at time of launch. Status of transition at Status Transition #1. Select one of the following.
Initial offline state (Transition #2)Offline status at time of launch. Status of transition at Status Transition #2. Select one of the following.
Default offline state (Transition #4)Default offline status. Status of transition at Status Transition #4. Select one of the following.
Default online state (Transition #7)Default online status. Status of transition at Status Transition #7. Select one of the following.

Predefined VID Tab

ItemDescription
Predefined VID NameDefined VID name
VID#VID number
DescriptionDescription
Edit..."Edit" button. When one defined VID is selected and this button is pressed, the following dialogue box will be displayed.

Here, a list of defined VID is shown in the VID tab. Select a VID with the same meaning as a defined VID and press the OK button.

Many defined VID are displayed in the list, but only the following are actually used in the current version.

ItemDescription
Establish Communications TimeoutEC timeout. This is the spacing for re-sending S1F13 Establish Communication Request(CR) when communication is not established.
Time FormatTime format. Either 12 or 16 bytes.
Control StateControl status
Process StateProcessing status

Predefined CEID Tab

ItemDescription
Predefined CEID NameDefined CEID name
CEID#CEID number
DescriptionDescription
Edit..."Edit" button. When a defined CEID is selected and this button is pressed, the following dialogue box will be displayed.

Here, defined CEID are displayed in a list in the CEID tab. Select a CEID with the same meaning as the defined CEID and press the OK button.

Clock Tab

ItemDescription
Adjust PC clock on S2F31Selects whether or not to change the PC clock when S2F31 is received.
Date and time formatDate/time format. Prior to setting this item, it must be registered as a Predefined VID. If it is registered, a VID number will be displayed.

CEID Tab

ItemDescription
CEID#CEID number
EnableYes=Enabled; No=Disabled
Linked Report#Linked report number
DescriptionDescription
Add New...Add new
Edit...Edit selected CEID
DeleteDelete selected CEID

When the "Add New..." button or "Edit..." button is pressed, the following dialogue box will be displayed.

ItemDescription
DescriptionCEID description
CEID#CEID number. A number one greater than the largest registered CEID goes in as the default.
EnableChecked = Enabled; Unchecked= Disabled.
Lined Report#Linked report number. Report definition is set by communication.

When one CEID is selected and the "Delete" button is pressed, the following message box will be displayed.


When the OK button is pressed, the selected CEID is deleted.

VID Tab

ItemDescription
VID#VID number
TypeVariable type. There are the following 3 types
EC Equipment constant
SV System variable
DV Data variable
NodeNode form. Expressed in C++ style
List List structure
Binary Binary
bool Bookean algebra
Ascii ASCII char. string
JIS 8 JIS8 char. string (half-size katakana)
int64 Unsigned 8-byte integer
char Unsigned 1-byte integer
short Unsigned 2-byte integer
long Unsigned 4-byte integer
double 8-byte floating pt. no.
float 4-byte floating pt. no.
uint64 Signed 8-byte integer
BYTE Signed 1-byte integer
WORD Signed 2-byte integer
DWORD Signed 4-byte integer
MBCS 2-byte char. string
DescriptionDescription
MinMinimum value
MaxMaximum value
DefaultDefault value
UnitUnits
SMLActual variable value SML expression
ECIDCheckmark indicates ECID shown in list. Unchecked indicates not shown.
SVIDCheckmark indicates SVID shown in list. Unchecked indicates not shown.
DVIDCheckmark indicates DVID shown in list. Unchecked indicates not shown.
Add New...Add new
Edit...Edit selected VID
DeleteDelete selected VID

When the "Add New..." button or "Edit..." button is pressed the following dialogue box will be displayed.

ItemDescription
VID#VID number. A number one greater than the largest registered VID number goes in as the default.
TypeVariable type
Node TypeNode format. Select from the following.
List List structure
Binary Binary
bool Bookean algebra
Ascii ASCII char. string
JIS 8 JIS8 char. string (half-size katakana)
int64 Unsigned 8-byte integer
char Unsigned 1-byte integer
short Unsigned 2-byte integer
long Unsigned 4-byte integer
double 8-byte floating pt. no.
float 4-byte floating pt. no.
uint64 Signed 8-byte integer
BYTE Signed 1-byte integer
WORD Signed 2-byte integer
DWORD Signed 4-byte integer
MBCS 2-byte char. string
DescriptionDescription
MinimumMinimum value
MaximumMaximum value
DefaultDefault value
UnitUnits
Raw ValueActual variable number SML expression

When one VID is selected and the "Delete" button is pressed, the following message box will be displayed.


When the OK button is pressed, the selected VID will be deleted.

The data is actually registered only when the OK button in the setting dialogue box is pressed. For this reason, when using contents registered in the VID tab in a Predefined VID tab, you must press the OK button once to register, and then call the Configure method again.

ALID Tab

ItemDescription
ALID#ALID number
EnableYes= Enabled; No= Disabled
CodeAlarm code (ALCD)
TextAlarm text (ALTX)
Add New...Add new
Edit...Edit selected ALID
DeleteDelete selected ALID

When the "Add New..." button or "Edit..." button is pressed, the following dialogue box will be displayed.


When one ALID is selected and the "Delete" button is pressed, the following message box will be displayed.


When the OK button is pressed, the selected ALID will be deleted.

構文

Visual Basic

Function Configure(lpszCaption As String, lOptionFlag As Long) As Boolean


Visual C++

BOOL Configure(LPCTSTR lpszCaption, long lOptionFlag);


引数説明
lpszCaptionDialogue box caption title. If thisvalue is NULL or a character string with a length of 0, it will display as "Preferences".
lOptionFlagOption flag

At least one or more of the values below are specified as an option flag. The specified tab will be displayed. The numbers in the list below are expressed in hexadecimal format.

表示されるタブ
0x0001Model
0x0002HSMS
0x0004Timeout
0x0008Revision
0x0010State Model
0x0020Clock
0x0040CEID
0x0080VID
0x0100ALID
0x0200Log File
0x0400Predefined VID
0x0800Predefined CEID

Tabs are expected to increase in number in the future, as new functions are added. For this reason, set -1 to display all tabs.

戻り値

TypeDescription
BOOLReturns True if a setting was changed and False if a setting was not changed.

使用例

特記事項

参照

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