Function Overview: The remote maintenance function uses the Windows version of the programming software (GX Developer) to perform program transmission and monitoring functions between a modem (MODEM) and a programmable controller connected to the telephone line.
Required equipment:
1 Two Taiwan Heshan Technology F-E56CSD-V1 embedded MODEM module, comes with two serial port conversion cable 2 Mitsubishi FX2N (C) PLC + FX2N-232-BD serial port module 3 computers and a 4 internal program-controlled switch telephone line (inside)
step:
Modem selection:
In FX programmable controllers, you can use AIWA's (PV-AF288) or Omron's (ME3314B) modems. Because these two modems are too expensive and not very attractive to buy, use Heshan F-E56CSD-V1 embedded MODEM module for debugging. In the FX programmable controller modem initial setting, you can select [user login module], [AIWA PV-AF288], [OMRON ME3314B].
Communication Specifications: Please select a modem that meets the communication specifications.
User login mode Communication: Half-duplex start-stop synchronization baud rate: 9,600 bps
Start bit: 1 data bit: 7-bit parity check: Even check stop bit: 1-bit control line: None Note: When a modem that cannot be set to the above communication standard is used, communication cannot be performed.
wiring:
1. Disconnect the programmable controller power supply;
Be sure to confirm that the programmable controller's power supply has been disconnected before starting wiring.
2, programmable controller and modem connection;
The cable connection between the modem and the RS-232C communication port of the programmable controller directly connects the MODEM's own serial port conversion cable to the RS-232C of the programming controller;
3, computer and modem connection;
The cable connection between the modem and the computer's RS-232C communication port, directly connect the MODEM's own serial port conversion cable to the computer's RS-232C;
Wiring diagram:
1. For the cable used to connect the modem, please use the serial port conversion cable provided in the F-E56CSD-V1.
F-E56CSD-V1 Embedded MODEM Module
F-E56DM-V1 Embedded MODEM Module
2. The pin arrangement in the RS-232C communication device of the FX programmable controller is as follows.
3. How to set the modem on the programmable controller Mainly introduce the method of setting the communication of the parameters and baud rate for the modem connected to the programmable controller and sending the AT command to perform the initialization.
3.1. Set the initial setting of the modem and the setting method of the communication via GX Developer. Start GX Developer first.
3.2. The communication setting between the RS-232C port and the serial communication between the modems need not be set.
However, please use the following procedure to confirm whether other communication functions are used or whether the settings are incorrect.
The FX programmable controller can perform communication settings in any of the following ways.
Write a value "0" to the data register (D8120) using a sequence program
If the communication setting has been executed for other uses, delete the sequence program that writes the value to the D8120.
Proceed as follows:
3.2.1. Click “Project†on the toolbar and select “Create New Projectâ€. Select “FXCPU†in PLC series; select “FX2N(C)†in PLC type. Other parameters are fine by default. Click OK.
3.2.2. Double-click [Parameters] under the project list - [PLC Parameters]
Note: If the project list is not displayed, select the "Show" - "Project Data List" tab.
3.2.3. Click [PLC System (2)] to confirm that "Confirm Setup Operation" is not checked beforehand. If yes, remove the checkmark. Then click "end setting".
Select the modem initialization method.
3.2.4. Click [PLC System (1)] in the dialog box and select "User Login Mode" from "Modem Initialization".
3.3. Setting AT Command of Unregistered Modem
3.3.1. When selecting "User Login Mode", the following settings need to be made:
Add device memory, click "Device Memory" right, select "New"
3.3.2. After clicking on the confirmation, ask “Whether to create new data MAIN. Are you sure?†and click “Yesâ€.
3.3.3. Display device list.
The number of the set device (data register) is different depending on the programmable controller series. The device range of the FX2N and FX2NC programmable controllers is: D1000 to D1059. Enter (D1000) in the device name and click " "Show", in addition to decimal to hexadecimal.
3.3.4, enter the AT command
The AT command input starts from D1000, enters one character in one word, and inputs one by one. After double-clicking the data register to be input, “string input†is displayed. After entering a character, click the [OK] button.
.AT instruction format
Example of entering an initialization AT command: ATE0S0=2Q1&D0&M4\Q0\J0&W
At the end of the AT command, it is necessary to input [CR], [LF], and the hexadecimal numbers "000D" and "000A" are respectively input to the two data registers after the AT command has settled.
F-E56CSD-V1 input ATS0=1&D0&K0E0Q1&W, you must enter "000D" and "000A" after input, or the product can not work normally.
F-E56DM-V1 inputs ATS0=1&D0&K0Q1\N2U0&W. After inputting, you must input "000D" and "000A". Otherwise, the product will not work normally.
3.4. Set the COM port, click [Online] - [Transfer Settings] in the "Toolbar Menu Bar", double-click the "Serial" button, select the COM port to connect to the corresponding port on your computer, the transmission speed is selected 19.2 Kbps or 9,600 bps are fine.
3.5. Write parameters and programs to the programmable controller.
Select [Online] - [PLC Write] in the tool menu bar, click on the program in the tree view - MAIN, PLC parameters, device memory - MAIN, select and click "Execute" to write all data Programmable controller.
Note: Please connect the RS422 to RS232 line on the PLC to the serial port of the PLC and computer.
Through the above programmable controller settings have been completed.
Note: After the programmable controller passes the above settings, it will power on the modem first and then power on the programmable controller. When the programmable controller is powered on, the TXD(SD) and RXD(RD) of the RS-232C communication device The LED lights up momentarily and sends the above-configured AT command to the modem.
4, remote access to the computer side of the modem setting method
4.1. Select "Tools"/"Phone Function Settings/Connection via Modem"/"Line Connection...".
4. In the "Select PLC Series" dialog box that appears, set the PLC type, select "FXCPU" and confirm
4. In the "Circuit Connection" dialog box that appears, specify "Circuit Type", "Port", "Phone Number" and "AT Command".
The AT instruction is as follows:
AT&D0&K0
Note: The “Modem Initialization†button in the above dialog is equivalent to AT&F and restores the MODEM to factory settings. The AT command typed in the AT Command Specification text box will be sent to the MODEM after pressing “Connectâ€, and then the dial-up connection will be based on the number typed in the Phone Number text box.
4. Click “Connect†to connect to the remote site. The following dialog box will appear when the connection is established.
4.5. Click "OK" and the "Communication Destination Assignment" dialog box will appear.
4.6. Click “Communication Test†as normal connection will show that the connection with FX2N(C)CPU is successful.
4. Click on [PLC Read] in the [Online] menu bar of the tool. The "Read from PLC" dialog box appears. Check the items that need to be read. Click "Execute" to read the corresponding contents from the PLC.
4. If you want to disconnect, select "Tools" / "Telephone Function Settings / Modem Connection" / "Line Disconnected". Is there a need to disconnect the circuit? Click "Yes" to disconnect.
Note: The FX2N-232-BD and MODEM and between the computer and MODEM are connected with the line serial port conversion line of F-E56CSD-V1 MODEM itself;
Through testing, the computer can use the Heshan Technology F-E56C-V1, F-E56CSM-V1, F-ES56C-V1, F-E56DM-V1 to connect communication.
MPPT Controller,Mppt Solar Inverter,MPPT Solar Controller,MPPT Solar Charge Controller
Jinan Xinyuhua Energy Technology Co.,Ltd , https://www.xyhenergy.com