وجدت الحل في احد المتنديات
و قمت بتجربته شخصيا
IOServer Configuration:
IOServer
Name: IOServer
Board Configuration:
IOServer Name: IOServer
Board Name: BOARD1
Board Type: COMX
Address: 0
Port Configuration
IOServer Name: IOServer
Port Name: PORT1_BOARD1
Number: 1 (This is the COM port number)
Board Name: Board1
Baud Rate: 19200 ( as per your Filed Device)
Data Bits: 8 ( as per your Filed Device)
Stop Bits: 1 ( as per your Filed Device)
Parity: EVEN_P ( as per your Filed Device)
IODevice Configuration:
IOServer Name: IOServer
Name: System_1
Number: 1
Address: 1 (The RTU station number (Modbus address) configured on PLC)
Protocol: MODBUS
Port Name: PORT1_BOARD1
Variable Tag Configuration:
Variable Tag Name: Test
Data Type: INT
I/O Device Name: System_1
Address: 40001
The Citect address range is 40001-49999
This Modbus communication needs the following parameter in the Citect.ini file:
[modbus]
InitType=3
ارجو ان يكون فيه فائدة للجميع