Promotic

Object AtouchX

Description:
The AtouchX object is an ActiveX object for communication with PLC devices by the AMiT company (Czechia).

Simple instructions for communication with AMiT PLC devices by means of the AtouchX object

This documentation does not secribe the interface of the AtouchDir and AtouchArch objects.

A list of most important methods and properties of the AtouchApp object used in the PROMOTIC system:
Object behavior setup:
VariantOnlySettings for VBA or VBScript (JavaScript).
DirectEventsReturns or sets the direct events call flag.
Initialization, termination:
InitFromFile()Initializes the connection to the DbNet network according to the specified HW and database description.
Done()Terminates the connection to the DbNet network.
Version and information:
GetKernelVersion()Detects the version of the AtouchApp communication core.
GetObjectVersion()Detects the version of the AtouchApp object.
GetInfo()Returns information about the communication core.
GetHWInfo()Detects information about the communication core.
GetAttribute()Returns informations about the driver.
Time conversion:
TimeFromDbNetV()Converts time from DbNet format to VB or JS format
TimeToDbNetV()Converts time from VB or JS format to DbNet format
Database:
DbGetInfo()Returns informations regarding the database variable.
DbSetAlarm()Sets alarm monitoring.
DbMultiSetAlarm()Sets alarm monitoring to multiple variables.
DbResetAlarm()Cancels alarm monitoring.
LocalGetData()Reads the value of the whole database variable from the local database (without communication).
LocalPutData()Writes the value of the database variable to the local database (without communication).
Communication:
NetGetData()Reads the entire database variable.
NetGetDataMtx()Reads the entire database variable or a section of the database matrix.
NetGetData()Reads the whole database variable.
NetPutDataMtx()Reads the entire database variable or a slice of the database matrix.
NetComposeBegin()Starts the process of sequential writing of the database variable.
NetComposeEnd()Terminates the sequential write process and physically writes the database variable.
NetGetTime()Reads the time of the station.
NetPutTime()Writes the new time to the station.
NetIdentify()Reads the station identification.
NetReset()Rejects the ongoing communication request.
Connection management:
StationStatus()Returns the connection status of the station.
StationConnect()Initiates the process of connecting the station.
StationDisconnect()Initiates the process of disconnecting the station.
StationSetPlug()Starts monitoring the connection status of the station or PC.
StationSetSelfPlug()Starts monitoring the connection status of the station or PC.
StationResetPlug()Cancels connection status monitoring.
StationReserve()Sets or cancels the reservation of the HW resources for connection to the station.
StationSetPriorityV()Sets the priority for the connection to the station.
Datagrams:
DbSetDatagram()Sets up datagram monitoring.
DbResetDatagram()Cancels alarm monitoring
DbAcceptDatagram()Confirms received datagram
NetReplyDatagram()Asks to write a datagram with the response.
Events:
DbAlarmThe event is triggered by an alarm, i.e. when the database variable is actively written by another station to the PC.
DbDatagramThe event is triggered when the datagram arrives.
EndNetGetDataThe event is triggered after the reading of the database variable is finished.
EndNetPutDataThe event is triggered after the end of writing the database variable.
EndNetComposeThe event is triggered after the end of the write when the database variable is written sequentially.
EndNetGetTimeThe event is triggered after the station time reading is finished.
EndNetPutTimeThe event is triggered after the time has been written to the station.
EndNetIdentifyThe event is triggered after the end of reading the identification strings.
StationPlugThe event is triggered when the connection status of the station or the PC changes.
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.