Beijer-electronics BFI-P2 V1.21 Manual de usuario Pagina 46

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 56
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 45
UserGuideRevision1.12
www.beijerelectronics.com
46
9. Serialcommunications
9.1. RS485communications
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:‐
Command03ReadHoldingRegisters
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
Command06WriteSingleHoldingRegister
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
Vista de pagina 45
1 2 ... 41 42 43 44 45 46 47 48 49 50 51 ... 55 56

Comentarios a estos manuales

Sin comentarios