The means for comm
How to establish PC connection with the Premium controller in the PL7 programming environment?
Published date: 16 July 2019
The means for communicating the Premium controller in PL 7 are as follows:
for the COM port with order numbers - TSXPCX1031;
For the USB port, the converter and cable with zazyzny numbers are TSXCUSB485 and TSXCRJMD25 (cable), and also the cable previously released with the order number TSXPCX 3030 (currently not available) can be used . With third-party cables, contact is not recommended because UNITELWAY (closed protocol) is used.
The switch on the converter must be in the “0” position ( OTHER MULTI ) or in the “2” position. For TSXCUSB485 converter, the switch " PolarizationMust be in the OFF position . For the TSXPCX1031 cable, the connection to the Premium controller can only be made to the “ TER ” port , since the +5 Volt converter power is taken from the Premium controller , other cables can be plugged into the “ TER ” or “ AUX ”. Note: the two ports " TER " and " AUX " have a single control and the first one is predominant. When programming, it is recommended to disconnect the other device (if there is a connection to “ AUX ”).
After installing the drivers, the first time you connect the cables, you must double confirm the driver installation (usually the drivers are not digitally signed). Cable
Features:
for TSXPCX1031 COM port - it can be turned on when you turn on the computer right before Windows starts up ;
the rest of the cables should be connected to the PC after loading Windows , as there may be a port lock. Some laptops block power supply via USB when running on battery power, and for TSXCUSB485 and TSXPCX 3030 converters, power to the converter comes from the USB port.
Before you connect the computer with the controller, we recommend checking the drivers and physical health of the controller port, cable and computer port.
To implement cable and port checks, you must perform the following steps:
Communication with the controller using the programming environment PL 7.
for the COM port with order numbers - TSXPCX1031;
For the USB port, the converter and cable with zazyzny numbers are TSXCUSB485 and TSXCRJMD25 (cable), and also the cable previously released with the order number TSXPCX 3030 (currently not available) can be used . With third-party cables, contact is not recommended because UNITELWAY (closed protocol) is used.
The switch on the converter must be in the “0” position ( OTHER MULTI ) or in the “2” position. For TSXCUSB485 converter, the switch " PolarizationMust be in the OFF position . For the TSXPCX1031 cable, the connection to the Premium controller can only be made to the “ TER ” port , since the +5 Volt converter power is taken from the Premium controller , other cables can be plugged into the “ TER ” or “ AUX ”. Note: the two ports " TER " and " AUX " have a single control and the first one is predominant. When programming, it is recommended to disconnect the other device (if there is a connection to “ AUX ”).
After installing the drivers, the first time you connect the cables, you must double confirm the driver installation (usually the drivers are not digitally signed). Cable
Features:
for TSXPCX1031 COM port - it can be turned on when you turn on the computer right before Windows starts up ;
the rest of the cables should be connected to the PC after loading Windows , as there may be a port lock. Some laptops block power supply via USB when running on battery power, and for TSXCUSB485 and TSXPCX 3030 converters, power to the converter comes from the USB port.
Before you connect the computer with the controller, we recommend checking the drivers and physical health of the controller port, cable and computer port.
To implement cable and port checks, you must perform the following steps:
- Connect the cable to the PC and connect the cable to the controller
- Run the program "Control Panel"
- Go "System" on the "General" version must be " Professional " for XP must be SP 2 and above
- Go to the “Hardware” tab and then to the “Device Manager”
- Reservation of the virtual port occurs through the "Ports (COM and LPT )"
- When a cable is connected via USB , a port is reserved, for example, TSX C USB ( COM 3)
- It is necessary to double-click the left mouse button to open the " TSX C USB Properties ( COM 3)" at the bottom of "Device Use" - This device is used (enabled)
- Go to the "Port Parameter" tab and check the port parameters, they should be as follows:
- Speed - 9600
- Data Bits - 8
- Parity - Odd (Odd)
- Start bits - 1
- Flow Control - No
- If you need to change the COM port number for this, go to "Advanced ..." and change the port number to be reserved (recommended from 3 to 9 COM port for USB )
- After setting the parameters, we recommend checking what is exposed. To check in the Device Manager, go to "Action" and perform "Update hardware configuration." The set parameters must comply with the parameters in paragraph 9.
- Log in to the Control Panel. Usually in the control panel there is a “ Drivers Manager ”.
- Enter the “ Drivers Manager ” or launch this program through the “Start” - “All Programs” - “ Modicon Telemecanique ” - “ Drivers Manager ”
- After launching “Drivers Manager” , the “ Properties : SCHNEIDER Drivers management” window will open .
- Go to the “ UNITELWAY Driver ” tab and click “ Configuration ” (indicates the type of driver used above this button for XP - version 1.9 IE 20)
- The UNITELWAY Configuration window opens .
- You need to create a string using the button " Add Station ...", for example the name USB 485 - COM 3 port
- If this cable is connected and the parameters and driver are set, then “ COM 3 ( TSXCUSB 485) [ ready ]” appears . Below the parameters are set by silence " Base = 1" and " Numbers = 3", " Use modem " option is missing
- Go to the “ Line Parameters ” tab and set the same parameters as in paragraph 9, the option for silence USE ( present) 1 second and Use CTS (absent)
- Go to the next tab " Advanced ". In this tab, by default, the values are set.
- Unitelway (installed); NumPLC (not available); Force Virtual Com Port (not available);
- Link Timeout -1 (silently) (set 2 ONLY if the link fails)
- RX / TX Delay -1 (by default) (set 2 ONLY if communication fails)
ONLY for rare chips in laptops when implemented via USB
- In the window «Station Parameters» , press button OK. The window closes.
- In the open UNITELWAY Configuration window , go to another line and then return to the newly entered line. The Apply key should be active. You must click on the " Apply " button . This will reset the internal error window opens with the words « the Reset Unitelway Driver ...» and will automatically close the window and open the window « Unitelway the Configuration » with the message « Driver ' s the Reset is the OK ». You need to confirm and click OK.
- THIS IS A POSSIBILITY TO RESET AN INTERNAL ERROR UNITELWAY !!! Another possibility to reset an internal error is to restart the computer.
- Close the UNITELWAY Configuration window . In the open window "Properties: SCHNEIDER Drivers management " go to the tab " XWAY Test "
- In the Zone " Driver " set the following parameters:
- Name: UNITELWAY
- Driver instance : 1 (by default - do not change)
- Remote address : 0.254.0 (by default - do not change)
- Local address : not available for change
- Set the following parameters in the Request Zone :
- Type: MIRROR (3 octets) ( flip 3 bytes)
- Timeout ( ms ): 3000 (3 seconds by silence)
- Press the " Connect " button and the result will be the activation of the " Start " button . The backlight of the key name will be bright dark (in 3-5 seconds, depending on the computer)
- Press the " Start " key . The result will be the changing value of “ Request : # xxxxx ”, other parameters in the window will not be active.
- If “ Request : # xxxxx ” changes (with an increase) then the following components are fixed:
- Computer port
- Cable
- Port in the controller
- All drivers and settings are installed correctly.
- To terminate the connection, press the “ Stop ” button and then press the “ Disconnect ” button .
Communication with the controller using the programming environment PL 7.
- Run the PL7 program
- Without opening the project, select “ PLC ” in the command line and select “ Define PLC Address ...” from the drop-down menu . The “ Define the address of the PLC ” window opens .
- Set parameters : Driver UNTLW01; Address SYS. Click OK
- It is necessary in the command line to select " PLC " and from the down drop-down menu, select " Connect "
- The “ Connect ” window will open with information about the project in the controller, then you should click YES
- The project will start downloading into the computer’s memory; after downloading, the project remains open and in touch. Under normal conditions, the “ Animate ” option is already set in the “ Utilities ” command line .
- You can enter the blocks and watch the performance of the program
0 nhận xét:
Đăng nhận xét