References

<< Click to Display Table of Contents >>

Manual >

References

 

Method Properties

■ Communications

Connect

Connect to PLC.

DisConnect

Disconnect from PLC.

StartUpdate

Starts automatic cache updates.

StopUpdate

End automatic cache updates.

ReadVal

Read the value.

ReadVals

Read the values of multiple tags.

WriteVal

Write a value.

WriteVals

Write the values of multiple tags.

GetVal

Reads a tag value from the cache.

SetVal

Write the tag value to the cache.

ReadRefresh

Read on a folder-by-folder basis and update the cache.

WriteRefresh

Write values to the cache on a folder-by-folder basis.

AliveTest

Perform a connection test with PLC.

GetUnitState

Get the status of PLC.

AccessPath

The common path name of the tag.

■ Tag registration/cancellation

AddUnit

Register the unit (PLC).

DelUnit

Unregister the unit (PLC).

AddFolder

Register a folder.

DelFolder

Unsubscribe from a folder.

AddTag

Register a tag.

DelTag

Unregister a tag.

ClearAll

Delete all units, folders, and tags.

LoadFile

Loading tag settings files.

SaveFile

Write tag configuration file.

■ Tag reference

GetUnitCount

Get the number of units.

GetUnitName

Get the unit name.

GetUnitParam

Get the parameters of the unit (PLC).

GetFolderCount

Get the number of folders.

GetFolderName

Get the folder name.

GetFolderParam

Get the parameters of a folder.

GetTagCount

Get the number of tags.

GetTagName

Get the tag name.

GetTagParam

Get the tag parameters.

GetTagAddress

Get the address of the tag.

■ Error handling

ErrCode

The most recent error code that occurred.

ErrMessage

The most recent error message that occurred.

ErrLog

When True, an error log will be obtained.

ErrLogFileName

Error log file name.

ErrLogOverWrite

When True, overwrite the error log.

ErrLogAddDateToFileName

When True, the date will be added to the error log file name.

ErrLogSaveDays

When True, error log files outside a certain period of time will be automatically deleted.

ErrLogSaveDaysTerm

The period for automatically deleting error log files.

WriteErrorLog

Write a user message to the error log.

■ Startup settings

AutoConnect

When True, the connection process will be performed automatically.

AutoUpdate

When True, the update process will be performed automatically.

AutoLoadFile

When True, the tag settings file is automatically loaded.

AutoLoadFileName

The name of the tag settings file to automatically load.

■Other

StartAccessTimeLog

Start the access time log.

StopAccessTimeLog

Terminate access time logging.

ExecuteTagEditer

Start the tag editor.

IsLicenced

Get the license status.

event

ValueStateChanged

Occurs when value and value quality change.

ValueChanged

Occurs when the value changes.

ValueBitOn

Occurs when the bit turns on.

ValueBitOff

Occurs when a bit goes Off.

ValueOverLimit

Occurs when the upper or lower limit is exceeded.

ValueRapidChanged

Occurs when there is a rapid change in value.

ValueInitialize

Occurs only the first time.

ValueRefresh

Occurs each time communication for automatic updates is completed.

StateChanged

Occurs when the unit's device down state changes.

ErrorOccured

An event that occurs when an error occurs.

EndAccessTimeLog

Occurs when the access time log ends.