Professional Documents
Culture Documents
ACDC╡τ╘┤+PLC═╕┤½░µ▓┘╫≈╓╕╥²V1 3
ACDC╡τ╘┤+PLC═╕┤½░µ▓┘╫≈╓╕╥²V1 3
ACDC╡τ╘┤+PLC═╕┤½░µ▓┘╫≈╓╕╥²V1 3
3121N-H
AC/DC power supply +PLC transparent version operation guide
Version: 1.3
Date: 2020-05-28
Machine Translated by Google
revision history
A revision record accumulates descriptions of each documentation update. The latest version of the documentation contains updates from all previous versions of the
documentation.
document version
4.5.1 Delay Test for Sending and Receiving Commands in the Whole Network
Table of contents
1 Overview
This operation guide is applicable to the use of the 3121N-H+ AC/DC power supply transparent transmission version, and no specific instructions will be given for unused function pins.
2. Pin definition
necessary to connect it. 2. P1/P10 is recommended to be grounded. When working with RS232
serial tools, a grounding line is required. 3. FG can be disconnected if unconditional . foot definition
Page 1
Machine Translated by Google
3. Firmware burning
2. Use three lines to connect the serial port tool and the corresponding debugging port of the
module. TXD of the serial port tool is connected to the module RXD, RXD is connected to the module TXD, and GND is connected to the module GND (as shown in the
figure below)
page 2
Machine Translated by Google
1. Connect the serial port tool to the computer and power on the
RomBoot for blank module burning, and FlashBoot for firmware version update. 4. Click Connect and
display hisilicom$, then the connection is successful. , power on again. 5. Select the .bin file that needs to be burned or upgraded 6. Enter the
burning command burn 2000000 0 7f000 and click send 7. Click to transfer the file, wait for the progress bar to finish, and the burning is successful (see
Assistant wiring is the same as firmware burning wiring, please refer to "3.1 Firmware Burning Wiring" method 4.2 Connection 1. Power on the
module, start HiAssistant, click the login button (as shown in the figure) to open the serial port setting dialog box
Page 3
Machine Translated by Google
2. Select the correct serial port number, enter the password (the default password is cih518@AMR), and click OK
Information 1. Double-click "Network Topology Information", right-click on the blank space, and select "Refresh" to check whether the CCO or
STA is in the network, or refresh to view information such as channel quality and attenuation
"Open Whitelist" to open the whitelist. If no whitelist address is added, the STA cannot be viewed . You can click "Read Whitelist" to view the
page 4
Machine Translated by Google
TXT file, change the suffix name to .csv, and enter the MAC address that needs to be added to the whitelist in the format shown in the figure below
the path of the whitelist file, click "Download the whitelist" and the output column below will prompt the number of addresses that have been
successfully imported
page 5
Machine Translated by Google
4. Open "Network Topology", right-click the blank space to refresh, and you can see that the STA with the added MAC address is already in the
network
you do not need the whitelist function, click "Clear Blank List" and then click "Close Whitelist"
Use the method of sending and receiving commands of the whole network:
1. Double-click "Entire network command sending and receiving" to pop up the entire network receiving command sending and receiving
interface 2. Select the desired command in the "Command ID" drop-down box 3. Click "Read Node" 4. Check the node MAC that needs to be
viewed and tested 5. Click "Send Command" 6. After sending successfully, the return value of the command will be displayed under VALUE 7.
Double-click the VALUE value, and the detailed value can be viewed in the pop-up Dialog dialog box
Using the entire network to send and receive commands, you can perform functions such as version number viewing, memory statistics viewing, delay, and sending and receiving statistical performance tests. For specific command
functions, please see the figure below and select the command according to your needs
Page 6
Machine Translated by Google
4.5.1 Delay Test for Sending and Receiving Commands in the Whole Network
Use the PlcTestFrame command in the whole network sending and receiving command to test the delay and success rate of mutual transmission between PLC
modules. Test method: 1. Open the entire network sending and receiving command interface 2. Select "Command ID": PlcTestFrme 3. Check "Performance
Test".
message 7. Click "Send Command" Check "Performance Test" and need to stop manually
4.6 Point-to-point
as shown in the figure below: 2. Fill in the MAC address to be communicated in the MAC address column, which supports up to
three jumps. 3. Fill in the data in the content of the sending message, up to 384 bytes. 4. Click Send, and you will receive the
The firmware upgrade is used to update the target file as a business upgrade file, which is used for users to update when there is a business incremental update
or modification of the module. 1. Double-click "Upgrade" to open the upgrade interface 2. Select the upgrade file
page 7
Machine Translated by Google
Whole network upgrade, all terminals are upgraded. No need to choose 3.2 Single-point
upgrade, click a single point to upgrade 3.3 List upgrade, check the PLC in the list to upgrade
as required
4. Click "Start Upgrade", after the upgrade starts, "File Transferring" will display the number of transfers, and "Progress" will display the progress of the transfer.
Every time
5. After the file transfer is completed, upgrade verification is required. "Upgrade Verification" will display the number of verifications being performed. 6. "Upgrade
Successful" will display the number of successful upgrades. 7. Restart the upgraded PLC to update the data in the Assistant
Note: The NV item cannot be modified arbitrarily, please consult the FAE first, so as not to cause abnormal equipment. 1.
Double-click "Write NV on the whole network" to pop up the NV writing interface on the whole network 2. Select the
corresponding NV ID NV name
Function
0x89 management initialization parameters (including initial frequency band and preferred
0xf network) user parameters. Including working mode, UART0 serial port parameters, etc. Adjust
0x24 the digital transmit power for the frequency band and adjust the analog transmit power for the
"0x3" to read the node, check the PLC whose MAC address needs to be modified in the obtained list, and click
"Read NV"
page 8
Machine Translated by Google
2. After reading successfully, double-click the data value under VALUE, and the "DiaLog" dialog box will pop up
3. MAC address modification: double-click the Value value of plc_mac, the 12 digits after the start of 0x in the Value is the mac address,
modify it 4. After confirming, click Write to NV, and it will prompt that the writing to NV is successful
5. Check the newly modified PLC, re-read the NV, the status changes to "read successfully", you can see that the modified NV information has
Page 9
Machine Translated by Google
is a parameter of CCO and STA equipment, which can be modified according to actual needs. Commonly used NV commands are as follows: NV name
Function
0x89 management initialization parameters (including initial frequency band and preferred
0xf network) User parameters. Including working mode, UART0 serial port parameters, etc.
1. Read the NV node method. For specific steps and methods, please refer to 4.8 Write NV on the whole network to modify parameters. 2. Then read
NV to get the node to be modified in the list, choose to read NV, and double-click to open the corresponding dialog box after getting the VALUE value Check and modify the required
value, the specific method can refer to: 4.8.1 Modify MAC address
as follows: 0x89: Network management initialization parameters (including initial frequency band and
page 10
Machine Translated by Google
0xf: user parameter. Including working mode, UART0 serial port parameters, etc.
NV(0xf)
hw_ver Functional
Page 11
Machine Translated by Google
work_mode Working
used); 2: AT mode multicast_mac multicast address, does not support serial port parameters, baud
rate baund_rate
921600 and other serial ports Parameters, supports
data bits support2400,
6,7,8 9600, 38400,
serial port 115200, 380400,
parameters, stop bits
support 1,2
data_bits
stop_bits
0x24: The user adjusts the transmit power for the frequency band, the setting range [20 to -6], the value minus 1 is equivalent to the transmit power drop
1DB
0x25: User setting range [10 to 0], the value minus 1 is equivalent to a 2DB drop in transmit power (modification is not recommended)
page 12
Machine Translated by Google
5. Online test
5.1 The connection mode of
online test refers to the pin definition, P3 is connected to TX, P8 is connected to RX, P1 is connected to GND, and L/N is connected to 220V AC
1. Two serial port adapters, one connected to CCO and one connected to STA, respectively connected to the computer, pay attention to distinguish between
CCO and STA 2. Start XCOM, select the corresponding serial port, and set the parameters such as baud rate and data bits as shown in the figure below
5.3 Test 1.
Enter the data and click send directly, and the corresponding terminal will receive the message 2. You can
choose to send regularly, set the cycle, and it will be sent automatically
Page 13
Machine Translated by Google
Note: CCO and STA need to open two XCOMs to send each other, set the serial port numbers of CCO and STA respectively, and then send and
6. Application testing
STA are connected to an external MCU, and both CCO/STA are connected to the PlC communication serial port TX/RX.
the PLC, and check whether the MCU at the CCO end receives the data. For the method, see <5. Connection test>
page 14
Machine Translated by Google
After the PLC-IOT module is powered on, it works in transparent transmission mode by default. Users can connect to the UART0 serial port of the
module and switch to other working modes through serial port commands. This operation guide, AT command control mode operation methods and commands
are applicable to firmware version 2.10.02 and previous versions. 7.1 Test Wiring For testing wiring, please refer to 5.1 Online Test Wiring . AT command
control is implemented using XCOM software. For software configuration, please refer to 5.2 Software Preparation and Configuration. 7.2 Entering
1. Input "+++" and the return value is OK, and the AT mode is turned on; 2. Input
"AT+EXIT" and the return value is OK, and the AT mode is exited, and then the data can be sent and received normally;
-END-
Page 15