Ned-red work as modbus tcp server communicate with scada application

Dear Expert
I want to buid node-red as Modbus TCP server to communicate with SCADA.
I need Node-red Mobus TCP server send data to SCADA via FC4 and FC2. And receive command from SCADA with FC3/FC6 and FC1/FC5.
I tried do with Modbus server in contrib modbus tcp pạkage, it seem not support FC4 and FC2
DO anyone have solution
Many thank

Can't the scada system do MQTT?

To send data (FC2/FC4) to a SCADA is a client like node-red-contrib-modbus

A Server (Slave) sits passively, listening on a specific port (usually 502), waiting for the a Client (Master) to ask for data or command it to change a state.

Thank for your reply.
My scada application connected to Node-red via Modbus TCP OK.
I uses Function before input of Modbus Server block like Picture with code: msg.payload = { 'value': [10, 20, 30, 40, 50, 60, 70, 80, 90], 'register': 'input', 'address': 0, 'disableMsgOutput': 0 }; return msg;
With above Code, I can only transmit one Function code into Modbus Server block.
How can I transit multiple fuctioncode value into Modbus server block at the same time?
Many thank

Looking at the readme for node-red-contrib-modbus it seems that the server function is being split out into node-red-contrib-modbus-flex-server, but since that has not been updated for a year I don't know whether it is working. You could try that.

You did not answer my question asking whether the SCADA system can communicate using MQTT. That would be much easier than trying to simulate a modbus slave device in node-red.

Dear sir
Scada only use modbus or iec60870-5-104

Dear sir
Do you know other package can work as modbus tcp server?

No, have you tried the other one I suggested?