Notice:If you don''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''t understand“Basic circuit knowledge”,“Serial port application”with“Hexadecimal”If you have professional knowledge, please purchase with caution.
If you need technical support, you need to charge a certain service fee ranging from 100-1000 yuan.
You can also purchase:
1,Module power supply 12V1A 9 yuan/piece
2,Power adapter DC9V 200mA 6 yuan/piece
3.Power plug 3 yuan/root
4.COM port extension cable, RS232 extension cable, 1.5 meters 3.5 yuan/root
5.USB to 9-pin serial cable dual chip USB-RS232 25 yuan/piece
6. USB to RS232 13.5 yuan/piece
Model: RS232-4DI
Main parameters of the module:
1. Power supply: DC9~25V, wide power input;
2. Power consumption:<1W;
3. Communication interface: 1 channel, standard RS-232 communication interface,
Default mode 3: Only state changes are automatically sent once, compatible“55”instruction
Can be set to only use hexadecimal“55”instruction
4. The baud rate is 9600bps, and the data format is“n,8,1”;
5. Four-way switch input: the input level range is 0~30V;
6. Active or passive empty contact input; logic level 0: 0~+0.5V or short circuit, logic level 1: +3V~+30V or open circuit.
7. Size: 107mm*39mm, the highest point is 15mm
Working environment: working temperature: -20~70℃;
Storage temperature: -40~85℃;
Relative humidity≤93%, 86~106kPa, no corrosive gas location;
Four-way input switch value acquisition module
Instruction 55, output switch status, the normal state is F0H, and the high four bits of the signal change to 0, such as 70H, B0H, 50H, etc.,
Baud rate 9600bps
When there is no input signal at all four inputs
Host computer send TX: 55
Module returns RX:F0 --Bit7 ~ Bit0 of 8-bit binary value
One byte in hexadecimal notation, the highest bit is BIT7, followed by BIT6, BIT5, BIT4, BIT3, BIT2, BIT1, BIT0.
From the 9-pin serial port-->Input power, the four switch inputs correspond to
S7-BIT7,
S6-BIT6,
S5-BIT5,
S4-BIT4.
S3, S2, S1, S0. are not enabled.
Such as: S4 input“Logic level 0”Corresponding to BIT4"0";
S4 input“Logic level 1”Corresponding to BIT4"1";
The red light is the power indicator; the yellow or green light is the communication indicator.
1. Command: single byte 55(Hexadecimal/HEX)
TX:55
RX:F0 (all 4 inputs are open circuit or high level)
The module has 4 modes
1. Mode 1: Need to send“55”Instructions, will not be sent automatically
2. Mode 2: Only automatically send once every 0.2 seconds, compatible“55”instruction
3. Mode 3: Only the status change is automatically sent once, compatible“55”instruction
4. Mode 4: Automatically send once when there is a state change, and once every second when there is no state change. compatible“55”instruction
2. Change to mode 1 only“55”Instruction read(Will not be sent automatically)
TX:5A 50
RX:A0
3. Change to mode two
TX:5A 5C
RX:AC
4. Change to mode three
TX:5A 5D
RX:AD
5. Change to mode four
TX:5A 5E
RX:AE
Customized function:
1. Power output DC5V/100mA (Add 3 yuan/block)
2. The baud rate can be(1200, 2400, 4800, 9600, 19200bps)Can be customized(Add 100 yuan for the first time)
3. The 02 or 01 command in the standard MODBUS-RTU communication protocol can be customized(Add 100 yuan for the first time)
Application field
l Industrial field control
l Remote monitoring and data collection
l Computer room monitoring
l Intelligent Building
l Electric power communication
l Warehousing and monitoring
l Electronic product manufacturing
l Food machine and beverage industry
Default Express: Shentong Express
200 yuan or more Add 5 points, you can open a general ticket
2000 yuan or more Cape ticket plus 3 points
More than 2,000 yuan, plus 13 points, can open a 13% value-added tax invoice.
Can accumulate if the invoiced amount cannot be met.
On normal working days, if the order is placed and paid before 16:00, it will be shipped the same day, and if the payment is made after 16:00, it will be shipped the next day.
Template protection code 0528