Super PLC M Series Host Link is driver to communicate with M Series(T100MD+, MX+) PLC of Triangle Research International, Inc., in America.
<Figure 1> is read setting example of Super PLC M Series Host Link communication driver.
<Figure 1> Read setting example of Super PLC M Series Host Link communication driver |
Device part of <Figure 1> input Device type TCP/IP, IP address of equipment(192.168.1.45), Service port(9080) respectively.
Also, you can enter whether to use Xserver ( 0 : Not use, 1 : Use, Default = 0 ), User name when use Xserver(enter the set user name) and User password when use Xserver(enter the set user password) by classifying as comma(,) at option part of <Figure 1>.
Notice) In case of TCP/IP communication by connecting Xserver device to Super PLC M Series, additionally, it is structured as communicating by entering user name and password(in case of there isn't password, set as blank).
Also, in case of serial communication, default communication speed is fixed as 38400, 0, 8, 1.
Super PLC M Series Host Link driver's read schedule
Read schedule setting parameters are as follows:
1) Device ID – Enter Device ID between 0 and 256.
2) I/O Memory Type to Read – Set among DI, DO, TIMER, COUNTER, RELAY, PTIMER, PCOUNTER, CLOCK, DATE and DM. (Refer to <Table 1>)
3) Read Start Address – Read start address of I/O memory to read.
4) Save Start Address for Communication Server - Saving start address of Communication Server.
5) Read Size – Set between 1 and 50.(WORD unit)
Read schedule example)
READ, 1, DI, 0, 0, 6,
READ, 1, DO, 0, 10, 6,
READ, 1, RELAY, 0, 20, 6,
READ, 1, DM, 1, 30, 50,
<Table 1> is I/O memory type and contents of Super PLC M Series Host Link communication driver.
I/O memory type |
Contents |
Remarks |
DI |
Digital Input |
It is composed of 96 bits(6 WORD) |
DO |
Digital Output |
|
TIMER |
Timer value |
It is composed of 64 bits(4 WORD) |
COUNTER |
Counter value |
|
RELAY |
Relay |
It is composed of 512 bits(32 WORD) |
PTIMER |
Timer Present value |
It is composed of 64 WORD |
PCOUNTER |
Counter Present value |
|
CLOCK |
Current Time value |
It is composed of 3 WORD value |
DATE |
Current Date value |
It is composed of 4 WORD value |
DM |
Data Memory |
It is composed of 4000 WORD between 1 and 4000 (There is from address no.1) |
<Table 1> I/O memory type and contents of Super PLC M Series Host Link communication driver |
If you click the icon in protocol option part at <Figure 1>, you can see the dialog box such as <Figure 2>. you can also set read schedule by using this part.
<Figure 2> Example of Super PLC M Series Host Link communication driver's Option dialog box |
You can set read schedule by using , , button and listbox of <Figure 2>.
Also, you can set whether to use Xserver at 'User Xserver' area of <Figure 2>, and can set user name and password at 'Username' and 'Password' area when use Xserver.
<Figure 3> Super PLC M Series Host Link communication driver's read schedule Add/Edit dialog box |
When you click Add button or Edit button in dialog box of <Figure 2>, dialog box of <Figure 3> is shown.
You can PLC data value by using writing settings.
Digital Write
Digital write setting parameters are as follows:
1) Port Connected Port number. (Not COM number)
2) Station Enter device number between no.1 and no.20.
3) Address Enter output address of designated I/O memory.
Upper 3 digits : Decimal number, starts from 0 address, but DM area address starts from no.1 address.
Sub 1 digit : Hexadecimal number(Value between 0 and F).
4) Extra1 Set among DI, DO, TIMER, COUNTER, RELAY, PTIMER, PCOUNTER, CLOCK, DATE and DM. (Refer to <Table 1>)
5) Extra2 Don't care.
Write example 1)
PORT : 0 STATION : 1 ADDRESS : 001A EXTRA1 : DO EXTRA2 : Blank
The setting parameter shown above is example of controlling(ON/OFF) DO no.27 bit value of no.1 Super PLC M Series device connected with port no.0.
Write example 2)
PORT : 0 STATION : 1 ADDRESS : 003F EXTRA1 : DM EXTRA2 : Blank
The setting parameter shown above is example of controlling(ON/OFF) DM no.3 Word(second) F bit value of no.1 Super PLC M Series device connected with port no.0.
Write example 3)
PORT : 0 STATION : 1 ADDRESS : 0256 EXTRA1 : DM EXTRA2 : Blank
The setting parameter shown above is example of controlling(ON/OFF) DM no.25 Word(24th) 6 bit value of no.1 Super PLC M Series device connected with port no.0.
Analog Write
Analog write setting parameters are as follows:
1) Port Connected Port number. (Not COM number)
2) Station Enter device number between no.1 and no.20.
3) Address Enter output address of designated I/O memory.
Enter decimal number, starts from 0 address, but DM area address starts from no.1 address.
4) Extra1 Set among DI, DO, TIMER, COUNTER, RELAY, PTIMER, PCOUNTER, CLOCK, DATE and DM. (Refer to <Table 1>)
5) Extra2 Don't care.
Write example 1)
PORT : 0 STATION : 1 ADDRESS : 0002 EXTRA1 : DO EXTRA2 : Blank
The setting parameter shown above is example of controlling no.2 Word value(write 33 ~ 48 DO as Word unit) of no.1 Super PLC M Series device connected with port no.0.
Write example 2)
PORT : 0 STATION : 1 ADDRESS : 0003 EXTRA1 : DM EXTRA2 : Blank
The setting parameter shown above is example of changing DM no.3 Word(second) value of no.1 Super PLC M Series device connected with port no.0 as set value.
Write example 3)
PORT : 0 STATION : 1 ADDRESS : 0035 EXTRA1 : DM EXTRA2 : Blank
The setting parameter shown above is example of changing DM no.35 Word(34th) value of no.1 Super PLC M Series device connected with port no.0 as set value.
Connect basic power and communication cable of Super PLC M Series device as follows.
Basic power connection
Connect Super 24V DC power to basic power input section of PLC M Series device.
Serial communication cable connection
Connect general serial RS-232C communication cable to 9pin serial communication connection terminal of Super PLC M Series device.
Communication cable connection, in case of using Xserver
In case of doing TCP/IP communication, by connecting Xserver to Super PLC M Series, connect general Ethernet communication cable to RJ45 Ethernet terminal which is attached to Xserver device.
<Figure 4> is example of connecting basic power and communication cable, etc to Super PLC M Series device(in case of using Xserver by connecting).
<Figure 4> Example of connecting basic power and communication cable, etc to Super PLC M Series device(in case of using Xserver by connecting) |
Reference) Set the IP address, etc for Xserver by using 'XserverConfg' program which is supported when you purchase SUPER PLC.
At this point, communication method is using general(cross) RS-232C communication cable to Xserver 9 pin serial terminal.