SYS-K040 communication driver is the driver to communicate with PC internal card to have digital input 16 channels and digital output 24 channels of TechMove Electronics, in Korea.
Device Setting of above figure input as None and input port number between 200 and 3FF value to Option part, because SYS-K040 is CARD to be equipped at PC SLOT.
If you write single line as READ, it saves value to 5 WORD area of AUTOBASE WORD memory
Contents for 5 WORD which are displayed at READ memory are as follows.
0 : Digital Input 8 Channel. (00~07)
1 : Digital Input 8 Channel. (10~17)
2 : Digital Output 8 Channel. (20~27)
3 : Digital Output 8 Channel. (30~37)
4 : Digital Output 8 Channel. (40~47)
SYS-K040 READ schedule
SYS-K040 communication protocol's read setting just needs single line as READ,.
Digital Write
Digital write setting parameters are as follows:
1) PORT : Communication port number of SYS-K040. (Number of SCAN.???)
2) ADDRESS : Address to output.(Select among 20~27, 30~37 and 40~47)
Write example)
PORT : 0 ADDRESS:27
The setting parameter shown above is example of controlling(ON/OFF) 8th channel of SYS-K040 card.
Analog Write
Analog write setting parameters are as follows:
1) PORT : Communication port number of SYS-K040. (Number of SCAN.???)
2) ADDRESS : Address to output.(Select between 2 and 4)
Write example)
PORT : 0 ADDRESS:2
The setting parameter shown above is example of controlling(ON/OFF) 8 channels of SYS-K040 card, simultaneously.