Contents
HJ3200 series use PROFINET and S7-200 SMART networking
HJ32XX series is configured in profinet mode
Configure the device name
The device name can only contain 26 letters (including upper and lower case), 10 numbers and underscores, and cannot use other special characters.

Configuring device PROFINET parameters
PROFINET parameters include COM port parameters and IO parameters:
The COM port parameter contains two parts: COM attribute and MODBUS parameter:
The parameters of COM attribute include COM type (RS232/RS485), COM port baud rate, data bit, stop bit, checksum and sampling time.
Note 1: The sampling time of the COM port is limited by the baud rate of the COM port, the number of MODBUS terminals connected to the COM port, etc. The set sampling time must ensure that each MODBUS terminal can sample data.
Note 2: The list of MODBUS terminals is distinguished by device ID, and different device IDs represent different MODBUS terminals. Only RS485 supports simultaneous access to multiple MODBUS terminals.

The IO parameters include the sampling interval (minimum 1MS) and the number of input and output (different HJ32XX devices, according to the actual device configuration).
For example, HJ3204 has 16 digital inputs, 14 digital outputs and 4 analog inputs.

Generate GSDML file

The generated GSDML file is saved to the sub-file bluedatabase in the current path, which is required by Siemens software.
The generated GSDML file name format is as follows:

Contains the name of the device HJ3200 and the date it was generated, other parts are in a fixed format.
Add GSDML file to STEP 7-MicroWIN SMART

Select the File Options/GSDML Management menu command:

Import the correct GSDML file and add it successfully.
Add PROFINET devices to the project

Select the PROFINET command under the Tools menu.

Select the PROFINET controller mode from the drop-down menu.

Select the CPU on the left, select the IO device of PROFINET on the right, and then click Add.

Note: The device name must be the same as the HJ3200 name, case sensitive:

Click the Generate button and the PROFINET I/O device is ready to use.
Using PROFINET I/O devices

Via the PROFINET wizard, you can see the assigned I/O addresses:
The digital input addresses 128 and 129 are two bytes, and the output is also two addresses, 128 and 129, for a total of 32 I/Os.
The starting address of the analog quantity is 130, with a total of 32 bytes and 16 channels.
Write a PLC program to use these IO units:
