CDTP(Complex Data Transfer Protocol) Communication Driver is the driver to communicate with normal controller of Autobase Inc. in Korea.
<Figure 1> is read setting example of CDTP communication driver.
<Figure 1> Read setting example of CDTP communication driver |
Device part of <Figure 1> input Device Type(TCP/IP), IP address(127.0.0.1), Service port(7300) respectively.
CDTP communication driver¡¯s read schedule
Read schedule setting parameters are as follows:
1) STATION – Don't care.
2) Read command – Command = 1.
3) Read start address – Read start address = 0 ~ .
4) Save start address for Communication Server – Saving start address of Communication Server.
5) Read Size – Analog Data = 1 ~ 19, Digital = 1 ~ 400.
Read schedule example)
READ, 0, 1, 0, 0, 10,
READ, 0, 1, 10, 10, 10,
You can send data to slave equipment by using write settings.
Bit/Word Write
Bit/Word write setting parameters are as follows:
1) PORT Port no. (0 ~ 255)
2) STATION Don't care..
3) ADDRESS Writing address.(16 degit)
4) EXTRA1 Write command = 2.
5) EXTRA2 Don't care.
Write example 1)
Station : 0 Address : 0000 Extra1 : 2, EXTRA2 :
The setting parameter shown above is an example of address 0 data write to CDTP slave.
Write example 2)
Station : 0 Address : 000A Extra1 : 2, EXTRA2 :
The setting parameter shown above is an example of address 10 data write to CDTP slave.
CDTP slave program can set 'Export Server' program of Autobase.
<Figure 2> is CDTP slave example by 'Export Server' program.
<Figure 2> CDTP slave example by 'Export Server' program |
<Figure 3> is example of 'Export Server' program's 'Modify Item' dialog.
<Figure 3> Example of 'Export Server' program's 'Modify Item' dialog |