STAMOS S-LS-96 Manual De Instrucciones página 56

Tabla de contenido
Idiomas disponibles
  • ES

Idiomas disponibles

  • ESPAÑOL, página 174
Data from
register 5
Data from
register 6
CRC code
Address Function code Data length Register 1 Register 2 Register 3
Register 4 Register 5 Register 6 CRC low 8 bits CRC high 8 bits
01 03 0C 0BB8 03E8 0BB8 03E8 0001 0001 DD 9E
Caution: In order to read the current and the voltage at the output from
the power supply you need to read the data from two registers:
1002H and 1003H.
b) Function code "10H": write to multiple registers:
The host uses this function code to write multiple data in memory. A
register in Modbus communication protocol refers to 16 bits (2 bytes),
where the first bit is older.
For example, to set the voltage to 12.5V and the current to 5.5A, both
values must be multiplied by 100, then converted to hexadecimal format
and stored in registers 1000H and 1001H of the slave (the slave address
code is 01).
Format of the message sent by the host:
Message from
host
Slave address
Function code
Start address
Number of
registers to be
written
2
0001 (ON)
2
0001 (CV)
2
DD9E
Byte
Sent message
1
01
1
10
2
1000
2
0002
Contents of register
1004H
Contents of register
1005H
CRC code calculated by
the slave
Remarks
Send command to
the slave with
address 01H
Write multiple
registers
Starting address of
the register to be
recorded
Number of registers
to be recorded
Tabla de contenido
loading

Este manual también es adecuado para:

S-ls-100S-ls-101S-ls-102S-ls-103

Tabla de contenido