The ibaLogic project (ibaLogic V5) contains two programs:
-
P1_DP_Simulation:
The data is evaluated by the DP master and the response data to the DP master is generated. The data is exchanged with the P2_DP_Communication program as arrays with 244 bytes. The following tasks are carried out:
-
Definition of the slaves to be simulated
-
Converting the received data (arrays) into the slave-specific data structures (see table above).
-
Processing the received values and generating the data to be sent (simulation)
-
Collecting and converting the data structure to be sent into the 244 byte arrays for data transfer
-
-
P2_DP_Communication:
The TCP/IP communication with ibaBM-DP is handled here. The user data is sequentially processed, i.e., the headers are added and the data is sent consecutively to ibaBM-DP via TCP/IP. The following functiond are performed:
-
Process control of sending and receiving TCP/IP telegrams.
-
Selection of output data per slave
-
Calling the macro “transmit/receive”
The macro adds the headers before sending, and evaluates and removes them after the reception.
-
The receive telegram is copied into the slave specific data array.
-
