Advant Controller AC 31 / Issued: 01.99 6 – 13 Communication 36.3 Point-to-point communication with the integrated ASCII interface40 or 50seriesASCII communicationFigure 9: Example of ASCII configuration6.3.1 Protocol descriptionASCII communication is a protocol which enables the exchange of text coded in ASCII(American Standard Code of Information Interchange) between two devices, for example.This protocol may be used by the 40 and 50 series basic units to communicate with a printer orterminal fitted with a ASCII interface (Figure 7).6.3.2 Configuration of the communicationUsing a black 07 SK 51 or 07 SK 53 cableThe serial interface of the 40 and 50 series basic units is configured by default in programmingand test mode with the grey 07 SK 51 or 07 SK 53 cable and in MODBUS® mode with theblack 07 SK 51 or 07 SK 53 cable.To change the programming mode to ASCII mode, the system constant KW 00,06 must bechanged (see chapter 5)Communication parametersThere isn’t a default configuration. It is therefore necessary to configure the communicationpartners (speed, stop bits, data bits, parity, end of frame) with the SINIT function (see thedescription of the functions) in the user program.6.3.3 ProgrammingIn addition to the mandatory SINIT function for parameter configuration, there are also twoother functions for ASCII communication.Sending messagesAn ASCII message is sent from one 40 or 50 series basic unit to another device by means ofthe DRUCK function in the user program.Receiving messagesAn ASCII message is received on a 40 or 50 series basic unit with the EMAS function.A detailed description of the SINIT, DRUCK and EMAS functions can be found in the functionsdocumentation.