Following some API functions of the SuperCom AS511 Protocol Module.
RS_AS511SetParams |
Set the protocol parameter (e.g. timeouts) |
RS_AS511GetSysPar |
Retrieve PLC "System-Parameter" structure |
RS_AS511AddrRead |
Read values at absolute memory addresses |
RS_AS511AddrWrite |
Write values at absolute memory addresses |
RS_AS511GetDataModuleInfo |
Retrieve information about a PLC's data module (DB) |
RS_AS511GetDataModuleRead |
Retrieve the data of a PLC's data module (DB). |
RS_AS511DataModuleWriteEx |
Write data to a data module (DB). |
RS_AS511DataModuleCreate |
Create a data module (DB). |
RS_AS511TestCreate |
Check if it's possible to create a data module (DB). |
RS_AS511MemCompress |
Execute the PLC's compress function. |
RS_AS511TX |
Transmit / fetch data to/from an AS511 controller. |
: |
: |
: |
: |
A simulation function is also included in order to simulate replies as coming from a controller. This feature allows testing your functions localy. A sample also exists.