Expand | ||
---|---|---|
| ||
This manual describes the various I/O drivers available for the Tsentry system. Both W32 and RTSS versions of most of the drivers are available. Supported drivers include the following:
|
...
tpriABPlc Class Descriptions
Expand | |||||
---|---|---|---|---|---|
| |||||
Info |
| ||||
The Tsentry tpriABPlc class encapsulates the functionality required to communicate with the Allen Bradley PLC 2, PLC3, and PLC5 PLCs over a TCP/IP network. |
Expand | ||
---|---|---|
| ||
The following public member functions are provided as part of the tpriABPlc class:
where: char *pHostName= host name or IP address int timeout = time value for read and write operation in milliseconds This function stores new configuration information for use by class functions
where: return status = connection status 0 = unconnected 1 = connected This function returns the status of the connection between the Compute system and the PLC
This function stores the PLC read control information for use by the ScanIO class member
This function stores the PLC read control information for use by the ScanIO class member
This function establishes a connection between the computer system and the PLC
This function breaks a connection between the computer system and the PLC
where: int *ogram = user memory address where PLC write will be obtained int *ipsta = addr of an integer variable where I/O status will be returned This function first reads a single data block of 16 bit integers values from the PLC user register memory and then writes a block of 16 bit integers to the PLC memory. The plc locations for the read and write are obtained from prior calls to the SetReadFile90 and SetWriteFile() functions. |
...
Expand | ||
---|---|---|
| ||
The following is an example of a operational RTP initialization file. It describes a system with 16 Analog inputs input (1 A/D card and 2 mux cards), 4 Digital input cards (64 bits), 32 Analog output channels (8 cards),and 4 digital dgital output cards (64 bits) in two (2) RTP chassises. The RTP 6700 is set up for IP address 10.0.10.11
|
...