background image

 

 

MPC1 User Manual 

RC1180-MPC1 

RC1701HP-MPC1 

 

 

 

Содержание MPC1 Series

Страница 1: ...MPC1 User Manual RC1180 MPC1 RC1701HP MPC1 ...

Страница 2: ...Commands overview 4 Table 2 SND IR Message example 6 Table 3 Configuration Memory 14 Table of Figures Figure 1 Wireless M Bus Packet 3 Figure 2 Pulse Pin connection R1 0 10k Ohm 5 Figure 3 OTA123 flow 9 Table of Examples Example 1 Set encryption key via UART 8 Example 2 Set desired MBUS_MODE and TX_INTERVAL 20 Example 3 Set Manufacturer ID Unique ID version and device information 21 Example 4 Set ...

Страница 3: ...mitter How do I configure the MPC1 module The module has a UART interface which is used for initial setup of the module For available commands and configuration parameters please see Appendix A and Appendix B As part of the initial setup you can enable Over The Air OTA123 configuration This is described further in chapter 8 What about the antenna In most cases a simple quarter wavelength wire or a...

Страница 4: ...nting values for the two inputs 4 bytes for each pulse input Added automatically The MPC1 module will transmit the data points using the M Bus application protocol EN 13757 3 The type and number of data points included in the message depends on the configuration of the module one or two pulse inputs The DIF and the VIF are the descriptors used A short header transport layer is used for status and ...

Страница 5: ...uration commands The table below shows an overview of the available commands Table 1 MPC1 Configuration Commands overview Command Parameter RC1180 MPC1 RC17xxHP MPC1 Stored in NVM Flash Stored in RAM ASCII hex M 0x4D Memory configuration See Appendix A for details X 0x58 Exit command Y 0x59 Memory Read one byte Z 0x5A Sleep mode 0 0x30 Test mode 0 1 0x31 Test mode 1 2 0x32 Test mode 2 3 0x33 Test ...

Страница 6: ...during pulse input 0V This means the external circuitry must keep the pin high to ensure no leakage In case the pulse is generated by an open short to ground circuitry a pullup to VCC is needed You can choose between adding an external 1MOhm mega ohm resistor or enabling an internal pullup set by configuration parameter MPC_PULLUP Adding the external pullup will give a lower current consumption Fi...

Страница 7: ...n the module exits installation mode terminates the SND IR transmissions and return to sleep mode normal operation The module does not expect or listen for an Installation confirmation CNF IR The installation request message will be 0x0E 0x46 0x24 0x48 0x78 0x56 0x34 0x12 0x01 0x02 0x7A 0x00 0x00 0x00 0x00 Table 2 SND IR Message example Value Name Description 0x0E Length Length 0x46 C Field SND IR...

Страница 8: ...the tamper function is set by configuration parameter MPC_POLARITY You can also enable an internal pullup for the Tamper pin in the same way as it can be done for other inputs This is enabled by configuration parameter MPC_PULLUP When the Tamper pin is enabled as mentioned above and the Tamper pin is activated the MPC module will set the alarm bit in the STATUS byte of the next message The STATUS ...

Страница 9: ...ART or OTA123 Example 1 Set encryption key via UART Example To set the encryption key to 00112233445566778899AABBCCDDEEFF send the follow sequence to the MPC1 using the UART interface Command Hex Response Comment Note Wake up 0xFF Wake up the UART interface Enter 0x00 Enter CONFIG mode Wait for prompt M 0x4D M command entered Wait for prompt 0x40 0x00 none Key s MSB address and value 0x41 0x11 0x4...

Страница 10: ...MPC will also this time send an SND NR message with the configuration memory The gateway must now be set up to respond to this message with an SND UD message SND NR also accepted The SND UD message can be formatted in two ways leading to different actions on the MPC 1 CI 0xAB The application data must contain the updated configuration parameters You can send only the bytes changed or the full conf...

Страница 11: ...ANUAL RC1701HP MPC1 9 Document Revision History Document Revision Changes 1 00 First official release 1 01 Updated and extended Configuration Memory description according to FW release 0B63 1 02 Add description of data point formatting and status byte in page 2 1 10 Rewritten to new company standard ...

Страница 12: ...VM flash and this operation must not be interrupted by for example a reset or powercycle Interrupting the NVM update may leave the configuration memory corrupted Caution The NVM also has a limited number of writecycles 10000x and we therefore strongly recommend that you do not use the M command in field only when configuring and testing your module as part of your production test X 0x58 Exit This ...

Страница 13: ...reset pin low Argument Options Returns none none Prompt At the same time as you run this command you must also assert the config pin on the module This is an extra safety to avoid unintended resets to factory default It can be disabled by setting CONFIG_INTERFACE 1 in the configuration memory 0 0x30 Test Mode 0 List configuration Memory This command will list all the contents of the non volatile c...

Страница 14: ...ncy range 2 MHz around the centre frequency 5 seconds between transmissions and 200 kHz separation between test frequencies Argument Options Returns none none none Prompt RC1701HP MPC1 only The test mode 7 and 8 enable frequency sweep and pulsed transmissions and can be used to tune and optimize an antenna See AN025 Tuning the Antenna with Antenna Tuning Feature for the detailed procedure Use 4 be...

Страница 15: ...0x01 MBUS_MODE 0x03 RC11xx 1 3 9 RC17xxHP 17 RC11xx RC17xxHP 1 0x01 T1 3 0x03 S1 9 0x09 C1 17 0x11 N1 Datarate accuracy not within limits given in Wireless M Bus standard Packets can be received by RC11xx MBUS3 modules RC11xx 0x01 RC17xxHP 0x11 Device Configuration PREAMBLE_LENGTH 0x0A 0 2 DLL Frame format A or B RC11xx RC17xxHP 0 0x00 FFA 2 0x02 FFB RC11xx 0x00 RC17xxHP 0x00 PACKET_TIMEOUT 0x10 0...

Страница 16: ...CONTROL_FIELD 0x3B 0x44 SND NR Do not change 0x44 Data and configuration interface UART Serial Port UART_BAUD_RATE 0x30 UART Baud rate BE CAREFUL IF CHANGING AS HOST MAY LOOSE CONTACT WITH MODULE Does not take effect until module is reset 0 0x00 Not used 1 0x01 2400 2 0x02 4800 3 0x03 9600 4 0x04 14400 5 0x05 19200 6 0x06 28800 7 0x07 38400 8 0x08 57600 9 0x09 76800 10 0x0A 115200 11 0x0B 230400 0...

Страница 17: ...G 0x3E 0 1 0 0x00 Disabled 1 0x01 Enabled If enabled security mode 5 will be used AES128 CBC 0x00 DEFAULT_KEY 0x40 0x4F 0x00 0xFF 16 bytes key to be used when encryption is enabled MSB is at address 0x40 LSB is at address 0x4F 0xFF Pulse counter MPC_IO 0x08 I O configuration Set bit high to enable input Does not take effect until module is reset 0x01 PULSE1 0x02 PULSE2 0x04 TAMPER 0x08 INSTALL 0x1...

Страница 18: ...description for PULSE_DIVIDER_1 0x01 MPC_FLOW_1 0x17 0 18 Flow for pulse counter 1 0 Disable 1 18 Flow over N hours If 0 a data point for flow will be added The value set must correspond to the transmission interval TX_INTERVAL_H L in hours 0x00 MPC_FLOW_2 0x18 0 18 Flow for pulse counter 2 See description for MPC_FLOW_1 0x00 COUNTER_1_INIT 0x21 0x24 32bit initial coutner value for pulse counter 1...

Страница 19: ...ge test as an alive message 0x01 0 01 Liter or Wh pr pulse 0x02 0 1 Liter or Wh pr pulse 0x03 1 Liter or Wh pr pulse 0x04 10 Liter or Wh pr pulse 0x05 100 Liter or Wh pr pulse 0x06 1000 Liter or Wh pr pulse 0x07 10000 Liter or Wh pr pulse PULSE_WEIGHT is not used for DEV 0x00 or 0x1B Device type 0x03 PULSE_WEIGHT_2 0x2B 0x00 0x07 Pulse scaling for pulse counter 2 See description for PULSE_WEIGHT_1...

Страница 20: ...F FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ADDR 0x00 0x08 0x10 0x18 0x20 0x28 0x30 0x38 0x40 0x48 0x50 0x58 0x60 0x68 0x70 0x78 0x80 0x88 0x90 0x98 0xA0 0xA8 0xB0 0xB8 0xC0 0xC8 0xD0 0xD8 0xE0 0xE8 0xF0 0xF8 01 05 03 01 02 00 09 00 FF 00 00 00 01 01...

Страница 21: ...ro Example 2 Set desired MBUS_MODE and TX_INTERVAL Example This example sets MBUS_MODE to T2 It also sets up the TX_INTERVAL to send an update every 1 hour 1h 60min 60s 3600s TX_INTERVAL 3600s 0 9s 4000 0x0FA0 Command Hex Response Comment Note Wake up 0xFF Wake up the UART interface Enter 0x00 Enter CONFIG mode Wait for prompt M 0x4D M command entered Wait for prompt 0x03 none Address MBUS_MODE 0x...

Страница 22: ...guration parameter table for different device types Command Hex Response Comment Note Wake up 0xFF Wake up the UART interface Enter 0x00 Enter CONFIG mode Wait for prompt M 0x4D M command entered Wait for prompt 0x19 none Address M_ID1 0x24 none Value M_ID1 0x1A none Address M_ID2 0x48 none Value M_ID2 0x1B none Address U_ID1 0x12 none Value U_ID1 0x1C none Address U_ID2 0x34 none Value U_ID2 0x1D...

Страница 23: ...60s 3600s TX_INTERVAL 3600s 0 9s 4000 0x0FA0 Command Hex Response Comment Note Wake up 0xFF Wake up the UART interface Enter 0x00 Enter CONFIG mode Wait for prompt M 0x4D M command entered Wait for prompt 0x2D none Address TX_INTERVAL_H MSB 0x0F none Value TX_INTERVAL_H MSB 0x2E none Address TX_INTERVAL_L LSB 0xA0 none Value TX_INTERVAL_L LSB 0xFF Exit M command Wait for prompt Z 0x5A none Exit CO...

Страница 24: ...te L 0x1A Length C 0x44 SND NR M_MID 0x24 0x48 Manufacturer ID MSB first M_UID 0x78 0x56 0x34 0x12 Unique ID MSB first M_VER 0x01 Version M_DEV 0x02 Electricity meter CI 0x7A CI field for the Application Layer Short header AN 0x00 Access Number Increased by 1 for each transmission SB 0x00 Status Byte If the battery voltage was below alarm threshold SB 2 will be set 0x04 CW 0x00 0x00 Configuration ...

Страница 25: ... M_UID 0x78 0x56 0x34 0x12 Unique ID MSB first M_VER 0x01 Version M_DEV 0x02 Electricity meter CI 0xAA CI field for the Application Layer No header DATA 03 05 01 11 02 00 00 00 FF 00 00 00 01 01 80 80 CC 00 00 01 00 00 17 00 00 48 24 12 34 56 78 01 00 00 00 00 00 00 00 00 00 00 03 03 7A 00 06 66 05 08 00 01 05 00 00 00 00 00 00 44 06 02 00 00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 00 0...

Страница 26: ...gth C 0x44 SND NR M_MID 0x24 0x48 Manufacturer ID MSB first M_UID 0x78 0x56 0x34 0x12 Unique ID MSB first M_VER 0x01 Version M_DEV 0x00 General device CI 0xAA CI field for the Application Layer Short header DATA 01 05 03 01 02 00 09 00 FF 00 00 00 01 01 01 01 CC 00 00 01 00 00 17 00 00 48 24 12 34 56 78 01 00 00 00 00 00 00 00 00 00 00 03 03 7A 00 06 66 05 08 00 01 05 00 00 00 00 00 00 44 08 02 00...

Страница 27: ...cturer ID MSB first M_UID 0xAB 0xEF 0xCD 0xAB Master Unique ID MSB first M_VER 0x01 Master Version M_DEV 0x00 Other CI 0xAB CI field for the Application Layer Long header S_UID 0x78 0x56 0x34 0x12 Slave Unique ID MSB first S_MID 0x24 0x48 Slave Manufacturer ID MSB first S_VER 0x01 Slave Version S_DEV 0x00 Slave General device AN 0x01 Access Number SB 0x00 Status Byte CW 0x00 0x00 Configuration Wor...

Страница 28: ... 0xAB 0xEF 0xCD 0xAB Master Unique ID MSB first VER 0x01 Master Version DEV 0x00 Other CI 0xAC CI field for the Application Layer Long header S_UID 0x78 0x56 0x34 0x12 Slave Unique ID MSB first S_MID 0x24 0x48 Slave Manufacturer ID MSB first S_VER 0x01 Slave Version S_DEV 0x00 Slave General device AN 0x01 Access Number SB 0x00 Status Byte CW 0x00 0x00 Configuration Word There is NO Application dat...

Страница 29: ... Hex Comment Note L 0x26 Length C 0x44 SND NR M_MID 0x24 0x48 Master Manufacturer ID MSB first M_UID 0xAB 0xEF 0xCD 0xAB Master Unique ID MSB first VER 0x01 Master Version DEV 0x03 Gas meter CI 0x7A CI field for the Application Layer Short header AN 0x01 Access Number Can be any number SB 0x00 Status Byte CW 0x00 0x00 Configuration Word DATA 0x0C 0x6E 0x00 0x01 0x00 0x00 BCD encoded LSB first Coun...

Страница 30: ...ports point to point point to multipoint and peer to peer network topologies All other trademarks registered trademarks and product names are the sole property of their respective owners Life Support Policy This Radiocrafts product is not designed for use in life support appliances devices or other systems where malfunction can reasonably be expected to result in significant personal injury to the...

Отзывы: