i have a trouble with connection between device and computer. what is D+ and D- in USB? I have no background in electronics i don`t know what it mean. so, i cant connect device for experiment. i want to connect rs232 and 4 pin usb(for connect computer). how can i connect rs232 and usb?
In summary: you can't.
You won't be able to wire that connector directly to any sort of PC port without some form of interface device.
The blue wire and orange wire look like the output from some form of sensor. "4-20mA" indicates a typical current loop which is commonly used among industrial sensors and lab equipment. Neither of these can be directly connected to a computer without translation to a digital interface (serial/RS232 or USB).
Neither serial or USB can provide 24V directly either. It's possible to get 24V from USB with a boost converter if you only need low current but it would be better to power your device externally.
Firstly, it's not RS-232 cable. It's called D-SUB connector with 9 pins. From what I can try to assume it looks like it's a connector to control some device, maybe laser system or something similar. As you can quite clearly see, it has no data pins, so it would be silly to try and connect it to computer as it could result in some exciting smoke. You should make additional PCB board which would control it. Firstly, I would read datasheets thoroughly and make sense of what I'm trying to achieve and how