Please regard that the number of bits has additionally to be set in byte.Command telegramSlaveaddressFunctioncodeAddress 1.bitNumber ofbitsNumber ofbytesData 1.byteData 2.byte... Check sumCRC/LRC1byte 1byte 1word 1word 1byte 1byte 1byte 1byte 1wordmax. 250byteRespond telegramSlave address Function code Address 1. bit Number of bits Check sumCRC/LRC1byte 1byte 1word 1word 1wordCode 10h: Write n words to master output area 4xCommand telegramSlaveaddressFunctioncodeAddress 1.wordNumber ofwordsNumber ofbytesData 1.wordData 2.word... Check sumCRC/LRC1byte 1byte 1word 1word 1byte 1word 1word 1word 1wordmax. 125wordsRespond telegramSlave address Function code Address 1. word Number of words Check sumCRC/LRC1byte 1byte 1word 1word 1word6.8 Modbus - Example communicationThe example establishes a communication between a master and a slave via Modbus.The following combination options are shown:n CPU 31xS as Modbus RTU mastern CPU 21xSER-1 as Modbus RTU slaven Siemens SIMATIC Manager and possibilities for the project transfern Modbus cable connectionWrite n words 10hOverviewVIPA System 300S+Deployment PtP communicationModbus - Example communicationHB140 | CPU | 317-2AJ23 | en | 17-2590