jenshen418 WROTE:I'm doing a FYP "parking system" that use RFID and PLC... anyone know how to link this 2 device?
jenshen418 WROTE:I'm doing a FYP "parking system" that use RFID and PLC... anyone know how to link this 2 device?
jenshen418 WROTE:Rfid is used to detect user and only valid user can enter to the parking. After the RFID confirm the user is valid user, PLC will control the barrier to open and allow user to enter. PLC i m going to use is OMRON CQM1H. It use rs232 port... can pc connect with 2 rs232 at the same time?
ABSF WROTE:jenshen418 WROTE:Rfid is used to detect user and only valid user can enter to the parking. After the RFID confirm the user is valid user, PLC will control the barrier to open and allow user to enter. PLC i m going to use is OMRON CQM1H. It use rs232 port... can pc connect with 2 rs232 at the same time?
So your RFID will read the RFID tags and send the result to a PC thru UART. Then your PC would identify the users to see if they are authorised and send commands to PLC via UART to tell it to open the barrier. Is that how your system works?
If you're using a PC as the decision maker and database there should be no problem. You can buy USB-UART from cytron (UC00A or UC00B) and plug 2 of these to your PC and your PC will see them as COMx and COMy. Add MAX232 to the UART if you need RS232 signal levels.
Not sure if your PLC can do the job of the PC or else you can connect the RFID directly to your PLC.
Allen
jenshen418 WROTE:may i know how to connect PC to RFID/PLC (RS232) through UART?
ABSF WROTE:jenshen418 WROTE:may i know how to connect PC to RFID/PLC (RS232) through UART?
Using UC00B from cytron.
To connect the PLC to PC, you'll need to add a UART to RS232 converter chip called MAX232 to UC00B above. Try googling MAX232 to see the connection and datasheet. If you're able to find USB-RS232 interface elsewhere, then MAX232 is not needed.
The RFID READER - RS232 from cytron already has the RS232 built in so it just goes into the COM port of your PC if there is one (correct me if I am wrong). OR else you'll need a second UC00B to connect the RFID to your PC.
Allen
jenshen418 WROTE:the PLC i use also using RS232 but my pc onli have 1 RS232 port. How can i connect 2 RS232 (1 is from PLC, 1 is from RFID) in the same time? Sry cz asking so much of question. I dun have much knwledge on this field.
Users browsing this forum: No registered users and 3 guests