Descargar Imprimir esta página

A.5 Adressen Der Modbus-Variablen - sylvac D302 Manual Del Usuario

Conversión del módulo de sensores

Publicidad

16
Write n registers
17
Reads module identification
With :
aaaa
Address
bb
Number of bytes
ff
Fast byte
ll
Bytes list
llll
Registers list
R/S
Run/Stop byte (0xff = Run,
0x00 = Stop))
A.5 Adresses of the Modbus variables
The access to the addressed variables is possible through the functions 1..6, 15, 16.
Function 7 allows a fast access to a new data probe position.
Note: In the following description, all adresses of variables are given in decimal, not in
hexadecimal.
The variables of D30Xy module corresponding to the probes are accessible in two different ways.
Table A: The variables are grouped by probe to addresses 0...499 for the 1st probe, 500...999 for
the 2nd probe, etc..
Access formula for any variable:
Adr.PN = Adr.P0 + (N x 500) where:
Adr.PN = variable address for the N probe
Adr.P0 = variable address for the 0 probe
N = probe number (0 to 3)
Table B: The variables are grouped by variable to addresses 4000, 4001, 4002, 4003 for the first
variable of the 4 probes, 4008, 4009, 4010, 4011 for the second variable of the 4 probes etc.
Access formula for any variable:
Adr'.PN = 4000 + Adr.P0 x 8 + (N x T) where:
Adr'.PN = variable address for the N probe in Table B
Adr.P0 = variable address for probe 0 in Table A
N = probe number (0 to 3)
T = size of the variable (in number of 16 bit words)
The other general variables of the D30Xy module that do not depend on the probes are accessible
in Table C at addresses 8000...9999.
Two independent memory areas containing 10,000 addresses are overwritten for bit access or
word access. Access to an address not defined by Sylvac returns an error. All the addresses are
between 0 and 9999.
0x10 aaaa nnnn bb llll
0x11
nn
Quantity of data (1 byte)
nnnn
Quantity of data (2 bytes)
yy00
Bit state
vvvv
Word value
ID[]
Identification. Could be :
D302# or D302A# or
D304# or D304A#, followed by the slave
number (1 byte binary)
61
0x10 aaaa nnnn
0x11 nn ID[] R/S
A

Publicidad

loading

Productos relacionados para sylvac D302

Este manual también es adecuado para:

D302aD304D304a