9 Modbus CommunicationThe block library can be found for download in the ‘Service/Support’ area ofwww.vipa.com at ‘Downloads è VIPA Lib’ as ‘Block library Modbus Communication -SW90AS0MA’ . The library is available as packed zip file. As soon as you want to usethese blocks you have to import them into your project.Ä Chap. 5 ‘Include VIPA library’page 699.1 TCP9.1.1 FB 70 - TCP_MB_CLIENT - Modbus/TCP client9.1.1.1 DescriptionThis function allows the operation of an Ethernet interface as Modbus/TCP client.Call parameterName Declaration Type DescriptionREQ IN BOOL Start job with edge 0-1.ID IN WORD ID from TCON.MB_FUNCTION IN BYTE Modbus: Function code.MB_DATA_ADDR IN WORD Modbus: Start address or sub function code.MB_DATA_LEN IN INT Modbus: Number of register/bits.MB_DATA_PTR IN ANY Modbus: Data buffer (only flag area or data block ofdata type byte allowed) for access with function code03h, 06h and 10h.DONE * OUT BOOL Job finished without error.BUSY OUT BOOL Job is running.ERROR * OUT BOOL Job is ready with error - parameter STATUS has errorinformation.STATUS * OUT WORD Extended status and error information.*) Parameter is available until the next call of the FBParameter in instance DBName Declaration Type DescriptionPROTOCOL_TIMEOUT STAT INT Blocking time before an active job can be cancelled bythe user.Default: 3sRCV_TIMEOUT STAT INT Monitoring time for a job.Default: 2sMB_TRANS_ID STAT WORD Modbus: Start value for the transaction identifier.Default: 1MB_UNIT_ID STAT BYTE Modbus: Device identification.Default: 255Block library "ModbusCommunication"VIPA SPEED7 Modbus CommunicationTCP > FB 70 - TCP_MB_CLIENT - Modbus/TCP clientHB00 | OPL_SP7 | Operation list | en | 18-30 183