The following provides the wiring of the FBM224 terminals:

If you use RS422 communication, you need to make corresponding changes at MODBUS PORT.
Note: This project is for Maoming Petrochemical DCS system, TRICONEX is defined as 485 protocol. But from TRICONEX to FBM224 terminal is 4 wires, so the MODBUS PORT in DCS needs to be defined as 422 protocol. So the DCS needs to judge the protocol type according to the wiring method of the user to the terminal and not necessarily consistent with TRICONEX.
In the ESD manual: (485 uses a 9-pin connector that leads to terminals 2.3.7.8 respectively)
(3) SDA = Send Data A = TX +
(7) SDB = Send Data B = TX-
(2) SDA = Receive Data A =RX+
(8)SDB = Receive Data B = RX-
However, it is not necessarily the case that all + and – correspond to the corresponding terminals, but sometimes the opposite may be true.
You can check the DC voltage by using a multimeter, and if it is greater than 2.5V, it is +, and if it is less than 1V, it is negative.
Then you need to set up the corresponding settings under IA:
Step 1: Define the MODBUS port by selecting MODBUS PORT under the CONFIG option:

PORT MODE: Select the communication mode of the port: RS-232,RS485,RS422
BAUD RATE: Define the baud rate of communication
PARITY: Define the parity
STOP BITS: Define the stop bits, which is related to the parity mode. It cannot be modified.
After setting, save it, the system will save it as a file with MMA suffix.
Step 2: Set the FBM224 in ECB.

It should be noted that the parameter of PORTEX is filled according to the above table, and this parameter indicates the enable status of the ports of FBM224.
If only PORT1 is used, fill in 1 here. Fill in 15 to open all 4 ports, and close the unused ports within the system management.
Then you need to fill in the FILEID of the MMA file you set and saved in the previous step.
Step 3: Define the data that needs to be read in the station (we set a device that needs to be read as a station, our FBM224 is a bus type port. A bus can take more than one device. Each device has a corresponding station number)

USED: Check to enable
SCAN RATE: Indicates the port scanning speed
FUNCTION CODE: Users need to set according to the parameters provided by the device manufacturer.
START ADDRESS: the start address of variable reading.
| Data Type of DCS | Function Code | Start Address of ESD | Start Address of DCS | Register or Coil |
| RIN | 04 | 33001 | 5001 | 2 Registers |
| ROUT | 16 | 41001 | 2001 | 2 Registers |
| BIN | 02 | 1 | 1 | 1 coil |
| BOUT | 05 | 1 | 1 | 1 coil |

Different address areas in the ESD have different read/write permissions, but external devices that need to read these special address areas need to read the corresponding address area instead of the address in the ESD.
For example: ESD33001, this address can only read data. When the external device reads this address, the data is combined into one address of 33001 through two registers of 35001 and 35002. The address in DCS only needs to remove the first bit and only fill in the remaining address.

Different function codes in the ESD correspond to different starting addresses, and then the absolute address in the ESD is reassigned based on this starting address.
NUMBER DATA: The number of registers occupied by the variable.
If you need to fill in more than one variable that needs to be read, use to open the next page, 64 pages can be defined in one station. A page can read a maximum of 125 registers (16-bit registers) and 1000 coils. By implication, a page can read 62 floating point numbers and 1000 switches.
Therefore, a station can read a maximum of: 62 x 64 = 3968 floating point numbers
1000 x 64 = 64000 switching quantities.
After all the settings have been made, save them, and the system will save them as a file with the MSL suffix.
Step 4: Set the station information, you need to go to the ECB of the ICC to establish a BLOCK, the specific parameters are as follows:

PARENT: Fill in the ECB address of the corresponding FBM224.
DVNAME: Fill in the address of the corresponding station number (here fill in the station number in ESD).
PORTNO: Fill in the port number of FBM terminal reading.
FILEID: Fill in the MSL file generated by MODBUS DEVICE.
Step 5: Set the corresponding FBM224 module:

Find the corresponding FBM module and select the EQUIP CHG button for the above interface. Hit the module to OFF-LINE first, then select DB DOWNLOAD, the system will download the data of the MMA file set by the user into the FBM224 then hit the ON-LINE mode.

We have created station information within FBM224, so that clicking NEXT LEVEL of FBM224 will see the corresponding station information set by the user.
Also click EQUIP CHG for device definition interface, switch the module to OFF-LINE and then select DB DOWNLOAD The system will download the information of the corresponding MSL file to the CP.
If the module display is white, it means the communication has been established. One channel corresponds to one MSL file, please use one channel to read the content of one station number. Do not use different channels to read the data of one station number. Otherwise, an Unresolved Connection error may occur.
If the address is filled in incorrectly, a red Connection Error report in System Manager may also appear. If such a situation occurs, do a test using a data type with which you are most confident. Make sure there are no problems with the hardware connection.
Below we build a RIN module to display the device data in IA.
The following types of blocks can be defined in DCS and only need to be modified in the corresponding parameters.

The corresponding parameter needs to be filled in the PNT_NO of the RIN module with the following rules:

Take 12A201F4 as an example, 12 means the reading is the 12th page, which is consistent with the MODBUS DEVICE definition.
A201 means that the starting address of the variable is 201, F means that the variable is a floating-point number, and 4 means that the length is 4 bytes.

If the format of the data uploaded by the device needs to be exchanged, define it according to the table above. W3 Indicates that the third, second, first, and zeroth direct data are adjusted in the order of first, zeroth, third, and second.
Please follow W3 with 12A201F4 to form the parameter of PNT_NO.
After DONE, you can see in the FOXSELECT interface, if the display is U or E, it means that the settings in RIN are not harmonized with those in MODBUS DEVICE. If R is displayed normally, it means that the data of the device has been read successfully.
Please ask the ESD manufacturer whether or not the data for communication needs to be exchanged and how to do it. If you fill in the exchange parameter without exchange, the data read up may be zero.
Also, if you find that the created block is Error when doing CIO configuration, but you are sure that there is no error in the filled address, please try to make the whole Compound. Please try to turn the whole Compound OFF and then ON again.
The above situation may occur if two channels are used to read data from one station at the same time. The above situation may also occur if a page is used to read an address area with a PAKIN type block, but some addresses in the area are not defined in the ESD, resulting in address discontinuities.







