Japanese Omron PLC applications are described below Experiences on the hardware / software conditions: RS232 serial port with no laptop, Omron CPM2AH-60CDR type PLC, Cx-Programmer V5.0 programming software.
1. Cx-Programmer V5.0 and the PLC communications instability:
The connection of computer and PLC: the computer USB port (RS232 serial port of the computer does not have) ??? ???? [USB RS232 Cable USB plug transfer ??? ???? USB transfer cable RS232 (computer installed drivers, and the default port has been set COM4 COM1) middle ??? ???? USB transfer cable RS232 RS232 male] ??? ???? [[computer and PLC connection cable RS232 Female ??? ???? PC and PLC connection cables in the middle part of ??? ???? PC and PLC connection cable RS232 public head]] ??? ???? PLC s RS232 female.
In parentheses above the single RS232 USB transfer cable, double the brackets for the computer and PLC connection cable. Computer and PLC connection cable wiring is as follows: (1). Male (to connect PLC) of the 2,3,9 and female respectively, the 2,3,5 (for connecting a computer or USB-RS232 cable) short Then, this is the official connection method Omron; (2). male and femaleThe 2-2,3-3,5-5 were shorted, it is conventional RS232 cable connection method. Was proven: the above two kinds of computer and PLC connection cable can be used. The first one kind of cable communications stable and reliable. For the first two kinds of cables, as between the computer and PLC applications Cheng Xu Tong Guo VC ineffective to communicate, easy to frame dropping (Yong serial debugging aides see), only when the computer and the PLC share Dian Yuan (Gong De) when Mei You found the problem. So, as far as possible the first one kind of connection cables.
Time computer and PLC to the normal communication, but it s not time - display "Modem has been selected, to continue to code?" Failure (in fact, "code" should be "you"), in the event of the failure information, we will be the following fault information:
When the communication is not the time, I had clone before using the normal operating system, reinstall the Cx-Programmer V5.0 programming software and other methods, but also the normal communication, but communication is not possible once the break went after. On several occasions also found that some programs can and PLC communications, while some programs are not! Therefore, I will communicate the PLC program can back up, and then delete all program instructions, the final goal of the program will copy over all the instructions (copy can be automatically copied when the notes), so the computer can actually communicate with normal and PLC a! But - and maybe next time this procedure had not properly communicate! Depressed ... ...
According to communication error message "Modem has been selected, to continue to code?", I found the solution: Right-click on the desktop "My Computer" and then click "Properties" - "Hardware" - "Device Manager "and then double-click the" modem ", then right-click to start the modem type, click the" disabled "on it.
In addition, the correct connection method is as follows: the computer did not boot or (and) PLC no power (or electric plug communication port may cause damage to communications port (although this is not likely, but you better not take a chance)) the situation Next connect the USB transfer RS232 cable, computer and PLC connection cable, and then through the Cx-Programmer connected to the computer and the PLC. [This total of 2, the current is 1] < < Previous Next > >