JT-DPM86XX Communication Protocol 2023-01-05
JT-DPM86XX Communication Protocol 2023-01-05
The command is sent from the PC and the device analyzes and executes
it.
1. if the address code is the same, the result is returned to the PC.
2. if the address code is different, no information is returned.
This is very suitable for centralized control of multiple machines.
Data Format:
Serial data format 10 (binary system)
Start bit 1
Data bits 8
Parity bit No
Stop bit 1
Data-frame interval Address code Function code Data area CRC check
3.5 Bytes 1 Byte 1 Byte N Bytes 2 Bytes
Before sending data, the bus silent period (no data transmission time) is
more than 3.5 characters (e.g.: baud rate is 9600, time is 5ms).
RTU messages start with a silent interval of at least 3.5 characters, and
after the last character sent, a similar interval of at least 3.5 characters
marks the end of the message. After this interval a new message can
start.
The entire message frame must be transmitted as a continuous stream. If
a pause of more than 3.5 characters occurs before the frame is
completed, the receiving device deletes the incomplete message and
assumes that the next byte is the address field of a new message.
If a new message starts earlier than 3.5 characters after a previous messa-
ge, it is considered a continuation of the previous message by the
receiving device. This results in an error because the value in the last CRC
field is not valid for the combined messages.
Name Explanation Number of Bytes radix point unit read | write postal address
Set-U Voltage setting 2 2 V r|w 0000H
value
Set-I Current setting 2 3 A r|w 0001H
value
SW out switch 2 0 - r|w 0002H
CCCV output state 2 0 - r 1000H
U Voltage display 2 2 V r 1001H
value
I Current display 2 3 A r 1002H
value
T Temperature 2 0 °C r 1003H
display value
Note:
1. The Set-UFT-Set-I is two set values used to control the voltage and
current settings of the power supply.
2. Control whether the output is turned on, write 0 off, write 1 on, and
can also read the state.
3. This is a read-only register, readout 0 means no output, 1 for CV sta-
tus and 2 for CC state.
4. U, I is two real-time measurments used to read back the voltage
and current values of the power supply.
5. T is the temperature measurment value, which is used to read the
internal temperature of the power supply.
3.8 Error-checking
In RTU mode, the messages contain an error check field based on a cyclic
redundancy check (CRC). The CRC field checks the contents of the entire
message. It is applied regardless of the parity check method used for the
individual characters of the message.
The receiving device recalculates a CRC while receiving the message and
compares the calculated value with the actual value it received in the
CRC field. If the two values are not equal, an error occurs.
The CRC is started by first preloading a 16-bit register to all 1s. Then a
process begins in which successive eight-bit bytes of the message are ap-
plied to the current contents of the register. Only the eight data bits of
each character are used to generate the CRC. Start and stop bits and the
parity bit are not used for the CRC.
1. Read the displayed output voltage and current value. (Using func-
tion 0x03)
Message format sent from Host:
Host sends Number Informati- Notes
of Bytes on sent
Slave address 1 01H From host to slave address 01H
Function code 1 03H Reading holding register(s)
Register starting 2 0000H Register starting address
address
Number of regis- 2 0002H A total of 2 registers (4 bytes = 2
ters to read words)
CRC checksum 2 C40BH CRC checksum from host
For example if the displayed values are 05.00V, 5.000A, the slave return
response would be:
HSlave responds Number Information Notes
of Bytes returned
Slave address 1 01H From slave address 01H
Function code 1 03H Read holding register
Number of bytes read 1 04H A total of 4 Bytes
The contents of the 1st 2 01F4H Output voltage display
register read value
The contents of the 2 1388H Output current display
2nd register read value
CRC checksum 2 B76BH CRC checksum from slave
3. Host to set the voltage to 24.00V and the current to 1.500A. (Using
function 0x10(decimal 16))
Message format sent from host:
Host sends Number Information Notes
of Bytes sent
Slave address 1 01H From host to slave
address 01H
Function code 1 10H Write multiple registers
Register starting address 2 0000H Register starting address
Quantity of registers to 2 0002H 2 registers
write to
Number of bytes to write 1 04H 4 Bytes = 2 words = 2 re-
gisters
Contents of 1st register 2 0960H Set the output voltage
Contents of 2nd register 2 05DCH Set the output current
CRC checksum 2 F2E4H CRC checksum from host
Rückgabemöglichkeiten:
Als Endnutzer können Sie beim Kauf eines neuen Gerätes, Ihr Altgerät
(das im Wesentlichen die gleiche Funktion wie das bei uns erworbene
neue erfüllt) kostenlos zur Entsorgung abgeben. Kleingeräte, bei denen
keine äußere Abmessungen größer als 25 cm sind können unabhängig
vom Kauf eines Neugerätes in haushaltsüblichen Mengen abgeben
werden.
7. SUPPORT
Wir sind auch nach dem Kauf für Sie da. Sollten noch Fragen offen blei-
ben oder Probleme auftauchen, stehen wir Ihnen auch per E-Mail, Telefon
und Ticket-Supportsystem zur Seite.
E-Mail: service@joy-it.net
Ticket-System: http://support.joy-it.net
Telefon: +49 (0)2845 9360-50 (10 - 17 Uhr)
Veröffentlicht: 05.01.2023
www.joy-it.net
SIMAC Electronics GmbH
Pascalstr. 8, 47506 Neukirchen-Vluyn