AS-interface Functions

These functions enable special operation on AS-i networks:

Function

Description

ASiReadPI

Read actual parameters of an AS-i slave.

ASiReadPP

Read permanent parameters of an AS-i slave.

ASiSendParam

Send parameters to an AS-i slave.

ASiStorePI

Store actual parameters as permanent parameters.

ASiWritePP

Write permanent parameters of an AS-i slave.


  • AS-i networking may be not available on some targets.
    See the OEM instructions for more information.

Interface

Params := ASiReadPP (Master, Slave);
bOK := ASiWritePP (Master, Slave, Params);
bOK := ASiSendParam (Master, Slave, Params);
Params := ASiReadPI (Master, Slave);
bOK := ASiStorePI (Master);

Arguments

Master : DINT Index of the AS-i master (1..N) such as shown in configuration.
Slave : DINT  Address of the AS-i slave (1..32 / 33..63).
Params : DINT Value of AS-i parameters.
bOK : BOOL    TRUE if successful.