At a Glance

A communication function uses:

  • an address parameter

  • parameters specific to a communication operation

  • management parameters

Syntax

The syntax of a communication function is as follows:

Function (Destination address, Specific parameters, Management parameters)

The following table describes the different entities that make up a function:

Entity

Description

Function

Corresponds to the type of communication function.

Destination address

Indicates the address of the exchange destination.

Specific parameters

Depend on the type of communication function. A description of these is provided for each communication function.

Management parameters

Management parameters are common to all asynchronous communication functions. These are made up of:

  • a parameter providing data on the activity of the function

  • a parameter specifying the exchange number that identifies the transaction in progress

  • a parameter containing the exchange report (communication report and operation report)

  • a timeout parameter that can be used to check if there is no response

  • a length parameter that can be used to store the number of bytes to be sent or the number of bytes received