Promotic

Object AtouchX

Description:
AtouchX is an ActiveX object for communication with PLCs by the AMiT company..

Simple instructions for Communication with AMiT PLCs via AtouchX (Czechia)

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:
InitFromFileInitializes the connection to the DbNet network according to the specified HW and database description.
DoneTerminates the connection to the DbNet network.
Version and information:
GetKernelVersionDetects the version of the AtouchApp communication core.
GetObjectVersionDetects the version of the AtouchApp object.
GetInfoDetects information about the communication core.
GetHWInfoDetects information about the communication core.
GetAttributeDetects informatiou about the driver.
Time conversion:
TimeFromDbNetVConverts time from DbNet format to VB or JS format
TimeToDbNetVConverts time from VB or JS format to DbNet format.
Database:
DbGetInfoDetects information regarding the database variable.
DbSetAlarmSets alarm monitoring.
DbMultiSetAlarmSets alarm monitoring to multiple variables.
DbResetAlarmCancels alarm monitoring.
LocalGetDataReads the value of the whole database variable from the local database (without communication).
LocalPutDataWrites the value of the database variable to the local database (without communication).
Communication:
NetGetDataReads the entire database variable.
NetGetDataMtxReads the entire database variable or a section of the database matrix.
NetGetDataReads the whole database variable.
NetPutDataMtxReads the entire database variable or a slice of the database matrix.
NetComposeBeginStarts the process of sequential writing of the database variable.
NetComposeEndTerminates the sequential write process and physically writes the database variable.
NetGetTimeReads the time of the station.
NetPutTimeWrites the new time to the station.
NetIdentifyReads the station identification.
NetResetRejects the ongoing communication request.
Connection management:
StationStatusDetects the connection status of the station.
StationConnectInitiates the process of connecting the station.
StationDisconnectInitiates the process of disconnecting the station.
StationSetPlugStarts monitoring the connection status of the station or PC.
StationSetSelfPlugStarts monitoring the connection status of the station or PC.
StationResetPlugCancels connection status monitoring.
StationReserveSets or cancels the reservation of the HW resources for connection to the station.
StationSetPriorityVSets the priority for the connection to the station.
Datagrams:
DbSetDatagramSets up datagram monitoring.
DbResetDatagramCancels alarm monitoring
DbAcceptDatagramConfirms received datagram
NetReplyDatagramAsks 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.21 SCADA system documentation - MICROSYS, spol. s r.o.

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