XI/ON: XN-1RS232 09/2011 MN05002013Z-EN www.eaton.com 795 Commissioning the Module in xSystemXION_HTB_RSXXX data handling function blockTxData Pointer to the transmit address range of the XN-1RS232module.The address to this address range is generated anddisplayed when an XN-1RS232 module is added to the“PLC configuration” area.This address, such as % IB22 can be converted directly orvia a variable to the TxData pointer:TxData:=ADR(% IB22)TxData:=ADR()The variable must be declared with the same type as%IB22.RxBuffer Start address for storing receive data.RxBuffer: = ADR()The variable must be of type ARRAY[0 ... n] OF BYTE. Asuitable value for “n” corresponds to the number bytes inthe message telegram and can be up to 65535.Possible data types are inputs, outputs, markers and datafunction blocks.MaxRecvData Maximum number of bytes to be received. A maximum of65536 bytes is possible.TxBuffer Start address for storing transmit data.TxBuffer: = ADR()The variable must be of type ARRAY[0 ... n] OF BYTE. Asuitable value for “n” corresponds to the number bytes inthe message telegram and can be up to 65535.Possible data types are inputs, outputs, markers and datafunction blocks.MaxSendData Maximum number of bytes to be transmitted. A maximumof 65536 bytes is possible.SelectBussystem 1: The data handling function block works for thePROFIBUS-DP fieldbus system.0: The data handling function block works for theCANopen fieldbus systemMSBFirst Byte-swap1: LSB first0: MSB firstVariable Meaning