-
E-mail
bjyktj@126.com
-
Phone
13651191826,13717775731
-
Address
38 Laoniuwan West Street, Shahe Town, Changping District, Beijing
Beijing Yukotaiji Instrument Co., Ltd
bjyktj@126.com
13651191826,13717775731
38 Laoniuwan West Street, Shahe Town, Changping District, Beijing
YK-22Series intelligent device switch communication timer
1、 Scope of application
Used for various timed control industrial applications to achieve time recording and control. You can bring itRS485orRS232Communication interface is used for secondary long-distance transmission monitoring and recording.
2、 Functional Features
Multiple protection, isolation design, strong anti-interference ability, high reliability
A good software platform with secondary development capabilities to meet special functions
Randomly set the release and engagement time of the control output contact within the display range, without losing the power-off parameters
3、 Main technical indicators
Timing range from0.1—999999In seconds,LEDThe screen displays the length of time for the switch input to be closed.
Manual reset or external signal reset
Timing can be disabled through the gate control terminal (gate control pause function)
Switching alarm output: relay output contact capacityAC220V/3AorAC220V/1A.
Ambient temperature(-20~70)℃
Relative humidity: ≤85%
Communication output: Interface isolation, serial bidirectional communication interfaceRS485/ RS232
wave special Rate:1200~9600bpsInternal free setting
Feed output:DC24V/30mA(Z is large)400mAPlease specify when placing an order
electricity Source: Switching power supply 85~265VAC/DC24Vpower consumption4Wbelow
4、 Operating instructions
1.Button Function
EnWhen setting the state, it is used to store the new set value of the parameter and select the next set parameter.
▲ - Used to increase the set value when setting the state.
▼ - Used to reduce the set value when setting the state.
■- Set the status switching prompt and set value.
2.Parameter Settings
pressEnKey, prompt appears on the upper digital display-cd-The digital display in the lower row appears800Use the ▲▼ keys to800Set as808Press againEnThe key is used to enter the parameter setting state, and entering other values is invalid. This is mainly to prevent non-technical personnel from misoperation.
AddrCommunication address and range of the instrument1~99The factory default is2.
bAUdBaud rate and range of communication1200~9600.
5、 Terminal wiring
6、 Communication instructions
This instrument can be equipped separatelyRS232TheRS485Interface, directly communicating with the computer,RS485Standard communication distance1.5kmMultiple instruments can be attached.RS232Standard communication distance15mOnly one instrument can be attached.RS232interfaceTXDTheRXDTheGNDConnect the computer serial ports separately2、3、5Pin. The data format is1A starting position8One data bit, no checksum1A stop position. To avoid communication conflicts, the instruments are all in listening mode. The computer sends a command to a certain instrument at a specified address, and then waits for a period of time for the instrument to respond. After the instrument receives the correct command, it sends out the data. After sending, the instrument is in listening mode again. In the same system, instrument addresses cannot be the same, and baud rates must be consistent.
Instrument adopts standardModbus-rtuCommunication protocol, supports03、06Function number. The equipment to be selected when using configuration software ismodicon(*Kang)ofPLC,Modbus-RTUAddress type, data is integer type16Bit, using the Kingview register from40x01or4x000At the beginning, other configuration software may be3x001or3x000Start. The communication is an integer, and users need to handle the decimal places according to the actual situation. Communication transmission data is signed integer data, and it is recommended to define signed integer data for user programming. When the data is greater than0X8000When retrieving data, reverse adding is necessary1The actual value that is a negative number, for example, communication transmission data is0XFFFFThe corresponding data value is-1For long integer data such as cumulants, the data value=High position x65536+low positionDuring configuration, users can also choose the data type to be a long integer(long)The system automatically calculates the cumulative amount.
Command format sent by the upper computer: It is recommended that the amount of data read at once should not exceed16a
address |
function number |
Starting address high bit |
Low order starting address |
Read the high bits of data |
Read low order of data quantity |
CRC16high position |
CRC16 low position |
01 |
03 |
00 |
00 |
00 |
03 |
05 |
CB |
On site measuring instruments return data format:
address |
function number |
byte count |
High numerical value |
numerical value low position |
High numerical value |
numerical value low position |
High numerical value |
numerical value low position |
CRC16high position |
CRC16 low position |
01 |
03 |
06 |
03 |
E8 |
03 |
E8 |
03 |
E8 |
C1 |
9F |
Write data to instrument and send command format: (Write to register)
address |
function number |
Starting address high bit |
Low order starting address |
Write high bits of data |
Low order of the number of data written |
CRC16high position |
CRC16 low position |
01 |
06 |
00 |
20 |
00 |
0C |
88 |
05 |
Data format returned by on-site measuring instruments: (same as the data format sent)
address |
function number |
Starting address high bit |
Low order starting address |
Write high bits of data |
Low order of the number of data written |
CRC16high position |
CRC16 low position |
01 |
06 |
00 |
20 |
00 |
0C |
88 |
05 |
Corresponding table of instrument registers
4x000 |
Close time high |
4x001 |
Low closure time |
4x002 |
High disconnect time |
4x003 |
Low disconnect time |
4x004 |
write1zero clearing |
Example:
Sending data as02 03 00 00 00 04 44 3A(Read)4An integer data is2Read the closing and opening times of a long integer data
The returned data is02 03 08 00 00 0E D4 00 00 03 4E 2B 6B
(among which02 It is the instrument address,03It's a function number,00 00It is the starting address of the register,00 04Read four integers (two long integers),44 3AIt is a verification code; Return data08Indicate shared8A valid byte,00 00 0D 46Indicate the closing time339.8In seconds,00 00 03 4EIndicates the disconnection time84.6In seconds,2B 6BIt's a verification code. If the returned data00 09 FB F1The corresponding data is65432.1.
You can reset the timer value through communication and send the command:02 06 00 04 00 01 09 F8. The returned data is the same as the sent data.