Advertisement

Quick Links

AD-1500 Communication Protocol
Revision 1.8
27 Dec 2023

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the AD-1500 and is the answer not in the manual?

Questions and answers

Summary of Contents for Cotek AD-1500

  • Page 1 AD-1500 Communication Protocol Revision 1.8 27 Dec 2023...
  • Page 2: Table Of Contents

    Table of Content 1. AD MODBUS 1-1. Overview……………………………………………………..……….……..1 1-2. Modbus protocol……………………………………………………...…….2 1-3. Modbus Physical Communication…………………………………..……2 1-4. Modbus Message RTU Framing……………………………………..…...3 1-5. Modbus Register……………………………………………………..…….4 1-6. Modbus Function Code Read Coils Registers (0x01)…………..……...4 1-7. Read Coils Registers……………………………………………………...5 1-8. Modbus Function Code Read Holding Registers (0x03)………………5 1-9.
  • Page 3 3. COTEK STANDARD PROTOCOL 3-1. Overview………………………………………………………………...…27 3-2. Wiring / connection of communication system…………………………27 3-3. COTEK Standard Physical Communication……………………………27 3-4. COTEK Standard Protocol……………………………………………….28 3-5. COTEK Standard Protocol with ID ……………………………...…….35 4. COTEK AD Ethernet 4-1. AD Ethernet CARD Specifications …………………….…………...…37 4-2.
  • Page 4: Ad Modbus

    1. AD MODBUS 1-1. Overview AD series use MODBUS protocol with RS-485 physical layer for communication. Transmission mode of MODBUS protocol is supported only by MODBUS-RTU (MODBUS-ASCII is not supported). MODBUS use the single master / multi-slave communication method. In MODBUS protocol, only the master device sends the query, and the slave device specified (unicasted) by master device return the response.
  • Page 5: Modbus Protocol

    1-2. Modbus protocol Communication on a Modbus network is initiated by a master with a query to a slave. After receiving and processing the query, the slave returns a reply to the master. The master can address individual slaves or uses a special broadcast address (0x00) to initiate a broadcast message to all slaves.
  • Page 6: Modbus Message Rtu Framing

    1-4. Modbus Message RTU Framing In RTU mode, messages (request or response) frames are separated by a silent interval of at least 3.5 character times. Each character is 11 bits (1 start, 8 bits data, 1 bit parity and 1 stop). 2 stops bits is required if no parity is used. Modbus RTU Message Frame The entire message frame must be transmitted as a continuous stream of characters.
  • Page 7: Modbus Register

    1-5. Modbus Register Function Description Function Code Read Coils 0X01 Read Holding Registers 0X03 Read Input Registers 0X04 Write Single Coil 0X05 Write Single Register 0X06 1-6. Modbus Function Code Read Coils Registers (0x01) The coils in the response message are packed as one coil per bit of the data field. Status is indicated as 1= ON and 0= OFF.
  • Page 8: Read Coils Registers

    Response Frame: length Description 00XA0 (AD Default Address) Slave Address 1 Byte Function Code 1 Byte 0 0x01 2 2 * N (N = Quantity of Register in Request) Byte count 1 Byte Register Value N*2 Bytes Data CRC LSB 1 Byte CRC MSB 1 Byte...
  • Page 9 Request Frame: length Description Slave Address 1 Byte 0XA0 (AD Default Address) 0x03 Function Code 1 Byte 0x00 Starting Address MSB 1 Byte 0x01 to 0x11 Starting Address LSB 1 Byte 0x00 Quantity of Register MSB 1 Byte 0x01 Quantity of Register LSB 1 Byte (number of word to read) CRC LSB...
  • Page 10: Read Holding Registers

    1-9. Read Holding Registers number of Starting FUNC Description word to CMD AND RESPONSE Value Address CODE read Read the Setting 0x04B0 =1200 A0 03 00 01 00 01 CC BB 0X0001 output 12.00 V A0 03 00 01 04 B0 0E 0F voltage(SV?) 0X1770 = 6000 For model...
  • Page 11 ramp up time 0 to Read SI A0 03 00 0B 00 01 EC B9 100% current in 0X000B SOFTSTART A0 03 02 00 06 85 9F millisecond Read Control A0 03 00 0C 00 01 5D 78 0:local mode 0x000C Mode A0 03 02 00 01 C4 5D...
  • Page 12: Modbus Function Code Read Input Registers (0X04)

    1-10. Modbus Function Code Read Input Registers (0x04) This function code is used to read from 1 to 125 contiguous input registers in a remote device. The Request PDU specifies the starting register address and the number of registers. In the PDU Registers are addressed starting at zero. Therefore input registers numbered 1-16 are addressed as 0-15.
  • Page 13: Read Input Register (R)

    1-11. Read Input Register (R) number Command Starting FUNC Example of word Description Address CODE calculation to read Response of value A0 04 00 30 00 01 28 B4 0X04DB = Real time output voltage 0x0030 A0 04 00 30 04 DB AB EF 1243 (RV?) 12.43V...
  • Page 14 A0 04 00 34 00 01 69 75 0X001E = Temperature of NTC2 on 0x0034 A0 04 00 34 00 1E 28 BD PFC(NTC2?) 30℃ A0 04 00 35 00 01 38 B5 0X001E = Temperature of NTC3 on 0x0035 A0 04 00 35 00 1E 79 7D PFC(NTC3?) 30℃...
  • Page 15 speed(RFSP?) A0 04 00 3D 00 00 78 B7 0 RPM A0 04 00 3E 00 01 49 77 0X017E = read primary bus 0X003E A0 04 00 3E 01 7D 49 06 voltage(VBUS?) 382V A0 04 00 3F 00 01 18 B7 0X5DDD = read primary AC input 0X003F...
  • Page 16 2D 54 61 69 77 61 6E 20 69 77 61 6E 0X0066 MFG(INFO6) 20 20 20 3C EA 20 20 20 20 Cotek-Taiw A0 04 00 67 00 01 99 64 0xFE :slave CANBUS ONLINE A0 04 02 FE F0 44 CD online status 0X0067 DEVICE &...
  • Page 17 A0 04 00 68 00 04 69 64 Read Modbus ID of 0X0068 A0 04 08 A0 00 00 00 00 Slave(Master only) 00 C7 E8 7A F5 A0 04 00 69 00 08 38 A1 Read All Output A0 04 10 12 BD 00 00 00 0X0069 Voltage(Master 00 00 00 00 00 00 00 12...
  • Page 18: Modbus Function Code Write Coils Registers (0X05)

    etc. Read Slave 0X0073 S/N5~7(Master Only) A0 04 00 74 00 08 A8 A7 00 AF ->175 A0 04 10 00 AF 00 96 00 00 Master 00 00 00 00 00 00 00 00 00 Voltage 00 ED 22 Read All Output 1.75v 0X0074...
  • Page 19 Request Frame: length Description Slave Address 1 Byte 0XA0 (AD Default Address) Function Code 1 Byte 0x05 Starting Address MSB 1 Byte 0x00 Starting Address LSB 1 Byte 0x01 Register Value MSB 1 Byte 0x00 Register Value LSB 1 Byte 0x01 CRC LSB 1 Byte...
  • Page 20: Modbus Function Code Write Single Registers (0X06)

    Power off A0 05 00 01 00 00 85 A0 05 00 01 00 00 85 1-13. Modbus Function Code Write Single Registers (0x06) This function code is used to write a single holding register in a remote device. The Request PDU specifies the address of the register to be written. Registers are addressed starting at zero.
  • Page 21: Write Single Register

    Response Frame: 0XA0 (AD Default Address) Slave Address 1 Byte 0x06 Function Code 1 Byte 0x00 Register Address MSB 1 Byte 0x00 to 0xFF Register Address LSB 1 Byte 0x00 to 0xFF Register Value MSB 1 Byte 0x00 to 0xFF Register Value LSB 1 Byte CRC LSB...
  • Page 22 0X03E8(HEX A0 06 00 04 00 01 10 BA 0x00~0x07 0X0004 Set CAN ID A0 06 00 04 00 01 10 BA A0 06 00 06 00 A0 70 C2 0x01~0xFA 0X0006 Set MODBUS ID A0 06 00 06 00 A0 70 C2 A0 06 00 07 00 50 21 46 0X01~0X7F 0X0007 Set PMBUS ID...
  • Page 23 A0 06 00 11 00 00 C0 BE 0:Set high with Set Power OK signal active A0 06 00 11 00 00 C0 BE DC OK 0x0011 type 1:Set low with DC OK...
  • Page 24: Ad Pmbus

    2. AD PMBUS 2-1. Overview PMBus is a cost effective, two-wire interface that is an extension of the SMBus standard, which is built from the I2C protocol. Similar to SMBus, PMBus requires a minimum of two wires for communication, including the clock signal, SMBCLK, and data signal, SMBDAT.
  • Page 25: Pmbus Data Format

    2-5. PMBus Data Format The module receives and reports data in LINEAR format. The Linear Data Format is typically used for commanding and reporting the parameters such as (but not only) the following: Output Current, Input Voltage, Output Voltage, Operating Temperatures, The Linear Data Format is a two bytes value with: An 11 bit, two’s complement mantissa and A 5 bit, two’s complement exponent (scaling factor).
  • Page 26: Supported Pmbus Commands

    The detail exponent and resolution of main parameter is summarized as below: Exponent Resolution For commands that report the output voltage, the module supports the linear data format consisting of a two bytes value with a 16-bit, unsigned mantissa, and a fixed exponent of -12.
  • Page 27 commands 0x16 RESTORE_USE Reset to Default R_ALL 0x20 VOUT_MODE Use linear format mode, may vary from different model, N=-8 (1/256v), used by all commands related to output voltage 0x21 VOUT_COMMA R/W-E linear format, 0x6400 for 100v model, based on VOUT_MODE exponent 0x78 STATUS_BYTE Summary of most critical faults...
  • Page 28 0X9B MFR_REVISION Write protected 0X9C MFR_ Write protected LOCATION 0X9D MFR_DATE Write protected 0X9E MFR_SERIAL Write protected Write protected 0XD0 Operation Mode R/W-E 0:local mode 1:remote mode Write protected 0XD1 SLAVE ID R/W-E Device ID for PMBUS 0XD2 Power soft start R/W-E Write protected 50~1000 ms 0XD3...
  • Page 29 TEMPERATURE A temperature fault or warning has occurred A communications, memory or logic fault has occurred NONE_OF_THE_ABOVE A fault or warning not listed in bits [7:1] has occurred STATUS_WORD (0x79) Command returns the general status information used to indicate subsequent status to be read for more detail. Bit # Status Bit Name Description...
  • Page 30: Overview

    3. COTEK STANDARD PROTOCOL 3-1. Overview Compatible with versions after 09-0000-1743 (INFO3?) 3-2. Wiring / connection of communication system 3-3. COTEK Standard Physical Communication Physical Interface Comments RS485 Half-duplex Default baud rate: 19200 baud, none parity, 1 stop bit (Standard with different Setting)
  • Page 31: Cotek Standard Protocol

    = 1: force to remote control & setting power On 0: operation in Local mode REMS Ref.2 1: operation in Remote mode REMS? response REMS setting READ Modbus & Cotek STD ID MODID? MODID xxx SET Modbus & Cotek STD ID PMID? READ PMBUS ID PMID xxx...
  • Page 32 NTC3? x = 5: response Primary NTC3 value RAMB? Real time environment temperature ERR1? Response error code Primary side error code Ref.3 ERR2? Response error code secondary error code Ref.4 Ref.5 STUS? Status of Power RRATE? Real Time Power Rating SFT? power softstart ask power softstart...
  • Page 33 RFSP1? Response fan1 speed RFSP2? Response fan2 speed SAVE Write parameter to eeprom ID x x = 0 : Setting master Response master or slave 1~7 SAVE x = 1 ~ 7 : Setting slave 1 ~ 7 *RST UER SETTING RESET TO DEFAULT Ref.6 POR? Read POWER ON RULE 0~2...
  • Page 34 FOR USER ITEM VAC? Read primary AC input voltage VINT? AC in type 0: input is AC 1: input is DC FOR USER ITEM PARALLEL x = 0:Single mode MS_MODE x x = 1:Parallel mode MS_MODE? Response Single or Parallel mode 0: The master partially controls the slave.
  • Page 35 POWER x Ref.1 setting power "off" and force to remote control setting power "on" and force to remote control REMS x Setting operation in Local mode Setting operation in Remote mode Ref.2 Setting operation in Charger mode (Reserved or coming soon!) Setting operation in Programmable mode (Reserved or coming soon!) Comments...
  • Page 36 Primary side Grid Under AC_Fail Voltage Protect(P_GUVP) Primary side Grid Over AC_Fail Voltage Protect(P_GOVP) Hardware fault (P_Hw) AC_Fail PFC OCP(P_OC) AC_Fail ERR2? Decimal ERROR Content LED State Primary side NTC1 over temperature protection OTP/UTP (P_OTP_NTC1) FAIL Primary side NTC2 over temperature protection OTP/UTP (P_OTP_NTC2) FAIL...
  • Page 37 1024 Vafter Over voltage protection OVP FAIL 2048 Vrmt Over voltage protection OVP FAIL 4096 Vcap Over voltage protection OVP FAIL 8192 FAN_FAIL (F_Err) FAN FAIL 16384 EEPROM Fail OVP FAIL STUS Status of output Ref.5 power off power on REMS =1 , "1"...
  • Page 38 Time sequence CMD (POWER) EN+&-(don’t care) Output status When REMS =0 , CMD will not function, no matter if Power ERR3? Decimal ERROR Content LED State Different TYPE Ref.7 SAME ID CANBUS Communication fail Slave error REV. IDALL? Ref.8 description byte M :Master S:Slave O:Single , comma...
  • Page 39: Cotek Standard Protocol With Id

    3-5. COTEK STANDARD PROTOCOL WITH ID ID address format Address Command Termination code N N N Refer to COTEK Standard Protocol CR LF 3 BYTE N BYTE 2BYTE Address: Address from 001~250 Address 000 Global broadcast, the device will not respond after receiving, but will execute according to the command.
  • Page 40: Cotek Ad Ethernet

    4. COTEK AD Ethernet 4-1. AD Ethernet CARD Specifications Specifications 32bit FLASH 512KB 128KB Ethernet Interface 10/100BaseT(X) Ports, Auto MDI/MDI-X 8-pin RJ45 Magnetic Isolation Protection 1.5 kV (built-in) Ethernet Software Function Configuration Options Web Console (HTTP), Windows Utility Management ARP, Device Search Utility (DSU), DHCP Client, IPv4,SNMP, TCP, UDP, ICMP 4-2.
  • Page 41 Windows Utility DHCP Client HTTP(WEB SERVER) SNMP V2C...
  • Page 42: Important Safety Instructions

    COTEK STANDARD OVER TCP (DIRECT MODE) 4-3. Important Safety Instructions 4-3-1 Appropriate Usage D11 is Ethernet module of AD Series. D11 makes the data available via the integrated web server and a user interface. Additionally, D11 can be used for remote diagnostics and the configuration of connected devices in AD Series via the computer.
  • Page 43: Device Overview

    Carefully read the documentation belonging to D11 before you commission D11. 4-3-2 Support Products D11 supports the following COTEK products: • AD Series 4-4. Device Overview 4-4-1 LED Overview 4-5. Connection Area Overview Position Description...
  • Page 44 Pin out RJ45 Reset Button 4-5-1 Connecting D11 to the CANBUS This section describes how to connect D11 to the CANBUS. It will be assumed that the D11 is located at the start /end of the CANBUS. Please observe the termination of your CANBUS. 4-5-2 Connecting D11 to the Ethernet Network D11 has an integrated network terminal.
  • Page 45 4-5-3 Overview of the LEDs on the Network Connection Position State Meaning Green Active when Power On. Active when linked in 100Base-TX mode. D11 is currently transmitting or receiving data Yellow Flashing (activity). No connection established 4-5-4 Position B Pin Assignment...
  • Page 46: Function Description

    Function Description number H_TERM Short pin 1&2 to Enable CANBUS Terminator L_TERM CANH CAN HIGH CANL CAN LOW Power OK Communication Ground 4-6. Mounting the Device 4-6-1 Mounting and Installation Location Requirements 4-7. Configuring Network Settings on the Computer 4-7-1 Information on Network Settings on the Computer Before you commission D11 for the first time, set the computer to the network area of the D11.
  • Page 47: Configuring D11 For The Local Network

    3. Enter ”ncpa.cpl” in the search field and press enter.. 4. Double click on the LAN connection via which D11 is connected. – If Windows displays several LAN connections, there are probably several network connections installed in the computer. Ensure that you select the correct network connection, with which the computer is connected to D11.
  • Page 48 4-8-2 Applying Static Network Settings to D11 1. Select D11 in the tree at the left windows. 2. Select the ”NETWORK” in the device menu. 3. De-select the “Enable DHCP” item. 4. In the ”Primary DNS” field, enter the IP address of the DNS server (Domain Name System Server).
  • Page 49: User Interface

    4-9. USER INTERFACE 4-9-1 TCP/IP Discoverer The COTEK TCP/IP Discoverer PC project (formerly known as the D11 Ethernet Device Discoverer) will aid in embedded product device discovery (with the Announce protocol) and will demonstrate how to write PC applications to communicate to D11 devices.
  • Page 50 Use the mouse to click on the correct HOST NAME to start the WEB browser and display the AD webpage. 4-9-2 WEB Device Menu The device menu shows the settings options and instantaneous values of a given device. You must select the device in the device tree in advance. The menu items change according to the device selected.
  • Page 51 parameters. SNMP Config Configure multiple community names.  Authorized access and Password After logging in with the password, you can simultaneously configure in D11.  Access security of D11 Each Device set and control is protected by a freely selectable password. ...
  • Page 52: Output Voltage

     Output Voltage Setting local or remote mode output voltage  Output Current Setting local or remote mode output current  R/L Mode Remote or Local mode (0: Local mode 1:Remote mode)  P_ON Mode Set POWER ON Rule...
  • Page 53 Set POWER OK PIN Function Mode  Contype NO Function  CANBUS ID 0:Master 1~7:Slave  MODBUS Id Set MODBUS & Cotek STD ID  PMBUS Id Set PMBUS Id  Power up softstart(milliseconds)  VSLE Controls the time from when power enters the startup start state until the output voltage reaches the set voltage.
  • Page 54 Controls the time from when power enters the startup start state until the output current reaches the set current. (milliseconds)  VRSL No Function  M/S Mode Parallel mode 0:standalone mode 1:parallel mode  CANID Mode The Master control mode 0:The master partially controls the slave 1:The master has full control over the slave ...
  • Page 55 4-9-4 Network Config  MAC Address A MAC address (media access control address) is a 12-digit hexadecimal number assigned to each device connected to the network. Primarily specified as a unique identifier during device manufacturing. A MAC address is required when trying to locate a device or when performing diagnostics on a network device.
  • Page 56  IP Address An IP address is a unique address that identifies a device on the internet or a local network. IP stands for "Internet Protocol," which is the set of rules governing the format of data sent via the internet or local network. ...
  • Page 57 WEB) Input command DIRECT END to disable direct communication.  Monitor & Control Command The command is same COTEK STANDARD PROTOCOL 4-10-1 SNMP MODE SNMP is used to monitor and manage AD Series on networks.  D11 supports SNMPV2C version.
  • Page 58: Technical Data

    You should clean the exterior of the unit periodically with a damp cloth to pre-vent accumulation of dust and dirt. At the same time, tighten the screws on the DC input terminals. 4-12. Warranty Refer to Cotek’s SMPS standard warranty policy.
  • Page 60 No.33, Sec. 2, Renhe Rd., Daxi Dist., Taoyuan City 33548, Taiwan Phone:+886-3-3891999 FAX:+886-3-3802333 http:// www.cotek.com.tw 2024.01...

Table of Contents