background image

 

C
T

U
-M
x

x

  

 

NETRONIX                                                                                                                                                                                       CTU-Mxx   

NETRONIX                                                                                                                                                                                                .     

34 

Example: 
If  using  C_GetEventParam  command,  we  have  red  that  event  memory  capacity  is 
4400  inputs;  the  total value of  input  events  is  5678.  For  instance,  if  we want  to  read 
the event with no. 5600, event index event of interest will be 5678-4400=1278. 
If we want to read the last event, we can use Pointer value. The last event index will 
be Pointer-1. 

5.12.4.

 

Reading the events 

 
Command frame: 

Header  C_GetEvent 

EvNoL, EvNoH 

CRC 

Wherein: 
 

Parameter name 

Parameter description 

Value range 

C_GetEvent 

0x7a 

Reading the event 

0x7a 

EvNoL,EvNoH 

LSB and MSB of event index 

 

 
Response frame: 

Header  C_G1 

YY,MM,DD,hh,mm,ss,type, 
B1,B2,B3,B4,B5 

OperationCode  CRC 

 
YY,MM,DD – year, month, day of event occurrence 
hh,mm,ss 

- hour, minute, second of event occurrence 

type   

- event type 

 
Depending on value “type” the 8-th bit of byte, there are distinguished two 
assignments: 

Bit8 

Bit7 

Bit6 

Bit5 

Bit4 

Bit3 

Bit2 

Bit1 

0 – card 

Out 

of 

memory 

Removed  Added 

reserved  Master  Outside 

base 

Inside 
base 

1 -inputs  reserved  reserved  reserved  N4 

N2 

N1 

N0 

 
N4:N0 –number of input, on which event trigger signal appeared. 
 

 

If given event was related to card, the B1-B5 bytes comprise card ID number. 

B1 

B2 

B3 

B4 

B5 

UID1 

UID2 

UID3 

UID4 

UID5 (Unique) 

 

 

If event is related to input change, B1-B5 bytes comprise information regarding 

input state, and have format: 

B1 

B2 

B3 

B4 

B5 

IO0  IO1  IO2  IO3  Reserved 

Reserved 

Reserved 

Reserved 

 

Содержание CTU-M Series

Страница 1: ...ader CTU M series CTU Mxx man eng v2 pdf Fig 1 CTU M2R ATTENTION THIS CONFIDENTIAL DOCUMENT IS PROPERTY OF NETRONIX SP Z O O DISTRIBUTION OF THIS DOCUMENT IN ANY WAY WITHOUT SPECIAL PERMISSION OF ITS...

Страница 2: ...uffer to selected sector of transponder 16 5 6 4 Logging by means of Static Key Buffer to selected sector of transponder 16 5 6 5 Reading out the content of transponder block 17 5 6 6 Writing the cont...

Страница 3: ...date and time 30 5 11 Configuring the UART serial interface 31 5 11 1 Writing the configuration of serial port 31 5 11 2 Reading the configuration of serial interface 31 5 12 Managing the events 32 5...

Страница 4: ...9 OPERATION EXAMPLE OF TRANSPONDER 39...

Страница 5: ...buzzer Built in push button for reset to default settings 2 configurable inputs outputs Two state outputs control Read out of two state input changeable format of sending ID MAD functionality Data pa...

Страница 6: ...4R model 7 16 V Supply voltage M5R model 4 5 5 5 V Max supply current 120 mA Rated operation radio frequency of module 13 56MHz Working temperature 20 c 65 c Max relay current 2A Appr read distance fo...

Страница 7: ...description Rys 2 top side view Pin no Description 1 RS232RX RS485B RSTTL_RX 1WIRE MOSI SDA 2 RS232TX RS485A RSTTL_TX MISO 3 SCK SCL 4 CS 5 MCLR 6 GND 7 VCC 8 GPIO 1 9 GPIO 2 10 GND 11 NC 12 NC 13 REL...

Страница 8: ...liant with full Netronix Protocol document Command frame Header C_CommandName Response_parameters1 n CRC Response frame Header C_CommandName 1 Response_parametrers m OperationCode CRC RS protocol oper...

Страница 9: ...directly command fields and parameters We have then START NUMBER OF BYTES 1B SLAVE ADDRESS 1B 0 COMMAND 1B PARAMETERS 0 n B START Number of bytes N or 0xCB SLAVE ADDRESS 1B 1 PARAMETERS OPERATION COD...

Страница 10: ...Timings Module sends and receives data at 400 kHz clock frequency considering timings showed below Note 2 Reader keeps in low state first clock pulse of each byte sent until proper state is placed on...

Страница 11: ...orresponds with lack of reader applying it means applying the DS1990A drop to drop reader If module reads out the transponder the module starts to send data via 1 WIRE bus Calculate the CRC value Acco...

Страница 12: ...bit sent complements up to parity the bits from first half of total bits The last bit N complements up to non parity the bits from second half of bits being sent It means that two bits out of N bits a...

Страница 13: ...per access rights to sectors This is accomplished by card initialization process where new confidential keys are loaded to cards with proper access rights which are assigned to these keys Keys A and B...

Страница 14: ...ic memory 0x16 Key1 6 6 byte key whichever KeyNo Key number It possible to load 32 different keys to a reader 0x00 0x1f Response frame Header C_LoadKeyToSKB 1 OperationCode CRC 5 6 Commands for commun...

Страница 15: ...tand by mode 0x01 Selecting from group of transponders which are in reader field Response frame Header C_Select 1 ColNo CardType ID1 IDn OperationCode CRC Where Parameter name Parameter description Me...

Страница 16: ...ey Buffer 0xAA key of A type 0xBB key of B type DKNo Dynamic key number 0x00 Response frame Header C_LoginWithDKB 1 OperationCode CRC 5 6 4 Logging by means of Static Key Buffer to selected sector of...

Страница 17: ...ta1 Data16 OperationCode CRC Where Parameter name Parameter description Value range Data1 Data16 Red out of data from transponder block 5 6 6 Writing the content of transponder block Command frame Hea...

Страница 18: ...BlockNo Source block TargetBlockNo Target block for data Sector and block numeration Response frame Header C_CopyBlock 1 OperationCode CRC 5 6 8 Writing the page content into Mifare UL Command frame H...

Страница 19: ...e Parameter name Parameter description Value range Data1 16 Red out of data from four subsequent pages whichever 5 6 10 Writing values to transponder block Command frame Header C_WriteValue BlockNo Ba...

Страница 20: ...4 BackupBlockNo OperationCode CRC Where Parameter name Parameter description Value range Value1 4 Red out Value from transponder block BackupBlockNo Block number which can include the Value copy Sect...

Страница 21: ...range C_DecrementValue Decreasing the Value included in transponder block 0x32 BlockNo Block number within given sector in which the Value will be modified Sector and block numeration Value1 4 The Va...

Страница 22: ...rt should be configured as an output 0x1 0x7 for UW U4R 0x1 0xC for UW U4G State Requested output state 0x00 or 0x01 Response frame C_WriteOutputs 1 Operation Code 5 7 2 Reading the input state Comman...

Страница 23: ...I O port number which is to be configured 0x0 0x4 Dir Port direction 0x00 output ConfByte1 One byte in which BIT0 assigns output type as normally open or normally closed BIT 1 determines reaction met...

Страница 24: ...rnal card base 0x05 set in case of applying freely selected card to reader Hold up Time of maintaining the on state after actuation stopped This time is specified as Hold up x 100 ms During hold up ti...

Страница 25: ...description Value range IOConfigData1 n This is the same as in case of configuration write Some I O of CTU M reader has no possibility to toggle port direction To accomplish proper configuration inpu...

Страница 26: ...y byte string which will form valid access password Any from range 0x01 0xff String length which can be 0 to 8 bytes 0x00 Logic Zero which terminates a string 0x00 If 0x00 a reader will not be protect...

Страница 27: ...e bytes of transponder number Right Access rights to given transponder 0x01 5 9 2 Writing the transponder name to memory Command frame Header C_CardMemoryWrite AdrL AdrH ID1 L ID5 H Right CRC Where Pa...

Страница 28: ...meter description Value range Mode Operation mode of access control module 0x00 module disabled 0x01 module enabled 5 10 3 Writing the automatic read configuration This command sets operation method o...

Страница 29: ...nds Atrig 2 or commands for communication with transponder Atrig 3 Commands for communication with transponder C_TurnOnAntennaPower C_Select 0x00 0xff ASerial Automatic sending the UID transponder num...

Страница 30: ...ime ASerial Abuzz Amulti OperationCode CRC Where The meaning of response parameters is the same as described before 5 10 5 Setting the date and time Following setting has no influence for reader opera...

Страница 31: ...ription Value range C_SetInterfaceConfig Serial interface configuration write 0x54 Mode 0x01 Adr Address on RS 485 bus 0x01 0xfe Baudrate Data baud rate on RS 485 bus 0x01 2400 bps 0x02 4800 bps 0x03...

Страница 32: ...events related to card see below 0x00 0xFF In1Trig In4Trig Masking the events related to inputs see below 0x00 0xFF Response frame Header C_SetEventTrig 1 OperationCode CRC Masking byte of events rel...

Страница 33: ...description Value range C_GetEventTrig 0x7E Reading the configuration of event recorder 0x7E Response frame Header C_GetEventTrig 1 CardTrig In1Trig OperationCode CRC 5 12 3 Reading the counters relat...

Страница 34: ...frame Header C_GetEvent 1 YY MM DD hh mm ss type B1 B2 B3 B4 B5 OperationCode CRC YY MM DD year month day of event occurrence hh mm ss hour minute second of event occurrence type event type Depending...

Страница 35: ...mmand login to sector with number 0 using key of AA type 5 13 2 Adding the application to MAD directory Command frame Header C_AddApplication LSB MSB Sector CRC Wherein Parameter name Parameter descri...

Страница 36: ...supply on using C_TurnOnAntennaPower command select the card using C_Select command login to sector with number 0 using key of AA type If response byte is 0x00 it will mean that given application is...

Страница 37: ...arameter name Parameter description Value range C_FirmwareVersion Read out of reader software version 0xfe Response frame Header C_FirmwareVersion 1 Data1 n OperationCode CRC Where Data1 n is sequence...

Страница 38: ...Wrong data format 0x18 OC_FrameError Transmission error Noise occurrence possible 0x19 OC_NoAnswer No response from transponder 0x1E OC_TimeOut Operation time out No transponder in reader field possib...

Страница 39: ...serial bus 9600 bps Access password 0x0 no password Port 0 Common purpose input Port 1 Common purpose input Port 2 lock on indication Port 3 lock on indication Autoreader configuration 0x2 0x14 0x1 0x...

Страница 40: ...f 0xff 0x00 Enable the field TurnOnAntennaPower 0x01 Apply transponder to reader Select transponder C_Select 0x00 Login to e g sector 3 C_LoginWithSKB 0x03 0xAA 0x00 Read out 2nd block content in 3rd...

Отзывы: