
APPLICATIONNOTEAN‐BEI‐H2‐038 Date:15/02/12
AN‐BEI‐H2‐038ModbusRTUControlandRegisterMapping
2
ModbusTelegramStructure:
ThefollowingModbusCommandsaresupported
• 03ReadHoldingRegisters
• 06WriteSingleHoldingRegister
Thetelegramstructureisasfollows:‐
Command03–ReadHoldingRegisters Command06–WriteSingleHoldingRegister
MasterTelegram Length SlaveResponse Length MasterTelegram Length SlaveResponse Length
SlaveAddress 1 Byte SlaveAddress 1 Byte SlaveAddress 1 ByteSlaveAddress 1 Byte
FunctionCode(03) 1 Byte FunctionCode(03) 1 Byte FunctionCode(06) 1 ByteFunctionCode(06) 1 Byte
1stRegisterAddress 2 Bytes ByteCount 1 Byte RegisterAddress 2 BytesRegisterAddress 2 Bytes
No.OfRegisters 2 Bytes 1stRegisterValue 2 Bytes Value 2 BytesRegisterValue 2 Bytes
CRCChecksum 2 Bytes 2ndRegisterValue 2 Bytes CRCChecksum 2 BytesCRCChecksum 2 Bytes
Etc...
CRCChecksum 2 Bytes
RJ45DataConnectionPinConfiguration:
CAN‐
CAN+
0Volt
Optibus/RemoteKeypad/PCConnection‐
Optibus/RemoteKeypad/PCConnection+
+24VoltRemoteKeypadPowerSupply
RS485‐ModbusRTU
RS485+ModbusRTU
TypicalMODBUSconfiguration:
Comentarios a estos manuales