Manual Datafox ZK-Box V4
page 76
date: 16.01.2018 Version: 04.03.06.XX
example 1:
The following data is going to be received
table=access&date_time=2013-07-05_07%3A48%3A11&
Master_ID=1&Modul_ID=010&Chip_Nr=2058&Status=34&checksum=2461
Master_ID=1
Master-ID
Modul_ID=010
bus adress of the reader / TM
Ausweis_Nr=2058
ID of the read Chip
Status=34
Online (34)
Fitting answer to grant access:
status=ok&checksum=2461&
access
=010&
mask
=8&
type
=1&
duration
=1
With firmware-version 04.03.04 and up
also possible is:
status=ok&checksum=2461&
master
=1&
module
=010&
mask
=8&
type
=1&
duration
=1
access
=010
bus adress, on which the action will take place (FW 04.03.03 and lower)
module
=010
bus adress on which the action action will take place
master
=1
rs485-bus on which the action action will take place
mask
=8
relais Nr.1
type
=1
turn-on
duration
=1
for 1 second
Fitting anser to deny the access => Red-LED:
status=ok&checksum=2482&
access
=010&
mask
=5&
type
=1&
duration
=2
ab der Firmware 04.03.04 ebenfalls möglich ist:
status=ok&checksum=2461&
master
=1&
module
=010&
mask
=8&
type
=1&
duration
=1
access
=010
bus adress, on which the action will take place (FW 04.03.03 and lower)
module
=010
bus adress on which the action action will take place
master
=1
rs485-bus on which the action action will take place
mask
=5
red LED + buzzer
type
=1
turn-on
duration
=2
for 1 second
Several bus strings can be controlled with the new hardware V4. In order to be able to execute ac-
tions on the corresponding bus string, the bus string ID must be transferred with the response as
well.
For this, the new keywords "module" and "master" were implemented. These must be used togeth-
er, replacing the keyword "access".
!
Attention:
The order “
access->mask->typ->duration
” or
master->module->mask->typ-
>duration
must be strictly adhered to.
status=ok&checksum=2482&
access
=010&
mask
=5&
type
=1&
duration
=2
status=ok&checksum=2482&
master
=1&
module
=010&
mask
=5&
type
=1&
duration
=2