Func=1 : Read multiple Digital OUT/INP/FLAG (coil)
Start Register(dec):
0001 .. 0096
0097 .. 0192
0193 .. 0392
Func=5hex : force single digital output/input/flag (coil)
Data format:
PCOut[01] : adr
D_addr(dec) =
D_addr(dec) =
D_addr(dec) = 193..392 : digital FLAG 1..200
dhi=ff,dlo=00 : DO/DI/FLAG = ON (=1)
dhi=00,dlo=00 : DO/DI/FLAG = OFF(=0)
Func=0fhex : force multiple digital output/input/flag (coil)
Data format:
PCOut[01] : adr
D_addr(dec) =
D_addr(dec) =
D_addr(dec) = 193..392 : digital FLAG 1..200
Func=10hex : write registers (only master)
Start Register like func=3
Data format:
PCOut[01] : adr
128
Digital Out
01..96
Digital Inp
01..96
Digital Flag 01..200
- device address
[02] : 05H
- function Register
[03] : ahi
- MSB D_addr - 1
[04] : alo
- LSB D_addr - 1
[05] : dhi
- MSB data
[06] : dlo
- LSB data
[07] : CRC
- LSB CRC
[08] : CRC
- MSB CRC
1.. 96 : digital OUT
97..192 : digital INP
- device address
[02] : 0fH
- function Register
[03] : ahi
- MSB D_addr - 1
[04] : alo
- LSB D_addr - 1
[05] : nhi
- MSB No of Registers
[06] : nlo
- LSB No of Registers
[07] : no byte
- No of data bytes
[08] : data
- data
[xx] : CRC
- LSB CRC
[xx] : CRC
- MSB CRC
1.. 96 : digital OUT
97..192 : digital INP
- Device address
[02] : 10H
- function Register
[03] : n1
- MSB Start Register - 1
[04] : n1
- LSB Start Register - 1
[05] : n2
- MSB No of Registers
[06] : n2
- LSB No of Registers
[07] : no byte
- No of data bytes
[08] : data
- data
[xx] : CRC
- LSB CRC
[xx] : CRC
- MSB CRC
MCS100E Instrucciones de servicio 8011852V/YWA7/V3-1/2018-01 © SICK AG
1..96
1..96
1..96
1..96
Programas de utilidad y protocolos