樓主通過(guò)計(jì)算機(jī)發(fā)送01 0F 00 00 00 08 01 FF BE D5,modbus功能碼15的請(qǐng)求格式是:從站地址(01) 功能碼(0F) 線圈起始地址(00 00)寫出數(shù)據(jù)長(zhǎng)度(00 08) 寫出數(shù)據(jù)值 (01 FF) CRC校驗(yàn)值(BE D5)。所以說(shuō)樓主寫出的數(shù)據(jù)地址為00001~00008。00001~00008對(duì)應(yīng)的數(shù)據(jù)值分別是1,0,0,0,0,0,0,0。