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.
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.
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.
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.
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.
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...
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.
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℃...
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.
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.
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).
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...
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)
= 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...
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.
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.
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...
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.
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).
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. ...
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.
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...
Need help?
Do you have a question about the AD-1500 and is the answer not in the manual?
Questions and answers