
UserGuideRevision1.12
www.beijerelectronics.com
46
9. Serialcommunications
9.1. RS‐485communications
AnRJ45connectorlocatedonthedriveallowstheusertoconnectthedrivetoaModbusRTUnetworkorCANBusviaawiredconnection.
TheelectricalsignalarrangementoftheRJ45connectorisshownasfollows:
CAN‐
CAN+
0Volt
RemoteKeypad/PCConnection‐
RemoteKeypad/PCConnection+
+24VoltRemoteKeypadPowerSupply
RS485‐ModbusRTU
RS485+ModbusRTU
9.2. ModbusRTUCommunications
9.2.1. ModbusTelegramStructure
TheDrivesupportsMaster/SlaveModbusRTUcommunications,usingthe03ReadHoldingRegistersand06WriteSingleHoldingRegister
commands.ManyMasterdevicestreatthefirstRegisteraddressasRegister0;thereforeitmaybenecessarytoconverttheRegisterNumbers
detailinsection9.2.2subtracting1toobtainthecorrectRegisteraddress.Thetelegramstructureisasfollows:‐
Command03–ReadHoldingRegisters
MasterTelegram Length SlaveResponse Length
SlaveAddress 1 Byte SlaveAddress 1 Byte
FunctionCode(03) 1 Byte FunctionCode(03) 1 Byte
1
st
RegisterAddress 2 Bytes ByteCount 1 Byte
No.OfRegisters 2 Bytes 1
st
RegisterValue 2 Bytes
CRCChecksum 2 Bytes 2
nd
RegisterValue 2 Bytes
Etc...
CRCChecksum 2 Bytes
Command06–WriteSingleHoldingRegister
MasterTelegram Length SlaveResponse Length
SlaveAddress 1 Byte SlaveAddress 1 Byte
FunctionCode(06) 1 Byte FunctionCode(06) 1 Byte
RegisterAddress 2 Bytes RegisterAddress 2 Bytes
Value 2 Bytes RegisterValue 2 Bytes
CRCChecksum 2 Bytes CRCChecksum 2 Bytes
Comentarios a estos manuales