SAMSUNG FARA-N Ethernet communication driver

 

SAMSUNG FARA-N Ethernet Communication Driver is the driver to communicate with FARA-N PLC of SAMSUNG in Korea.

1. Read settings

 

<Figure 1> is read setting example of SAMSUNG FARA-N Ethernet communication driver .

 

<Figure 1>  Read setting example of SAMSUNG FARA-N Ethernet communication driver

 

Device Setting of <Figure 1> are input, device type(TCP/IP), IP address of PLC(192.168.1.87), service port address(1000).

Also PLC address(1 ~ 63 or 238, default = 1), PC address(1 ~ 63 or 238, default = 2), whether to use of new protocol(0 = do not use, 1 = use, default = 0) are set by using option part (separated by commas each parameter).

 

SAMSUNG FARA-N Ethernet communication driver read schedule

Read schedule setting parameters are as follows:

1) STATION – PLC address1 ~ 63 or 238).

2) Read Command – read memory type or command. (Refer to <Table 1>)

3) Read Start Address – read start number of memory type.

4) Save Start Address for Communication Server – saveing start address of Communication Server.

5) Read Size – read wird size of word unit.

 

Read schedule example)

READ, 1, X, 0, 0, 2,
READ, 1, Y, 0, 2, 2,
READ, 1, R, 0, 4, 2,
READ, 1, L, 0, 6, 2,
READ, 1, T, 0, 8, 2,
READ, 1, C, 0, 10, 2,
READ, 1, DT, 0, 12, 2,
READ, 1, FL, 0, 14, 2,
READ, 1, Ld, 0, 16, 2,
READ, 1, IX, 0, 18, 1,
READ, 1, IY, 0, 19, 1,
READ, 1, SV, 0, 20, 2,
READ, 1, EV, 0, 22, 2,
DWORD, 1, ID, 0, 0, 1,

 

<Table 1> is a description of read commands type of SAMSUNG FARA-N Ethernet communication driver.

Command
(memory type)
Contents Read Bit Write Word Write
X Input Memory Enable Disable Disable
Y Output Memory Enable Enable Enable
R Internal Relay Data Enable Enable Enable
L Link Relay Data Enable Enable Enable
T Timer Enable Disable Disable
C Counter Enable Disable Disable
DT Data Register Enable Disable Enable
FL File Register Enable Disable Enable
Ld Link Register Enable Disable Enable
IX Index Register X Enable Disable Enable
IY Index Register Y Enable Disable Enable
SV Timer/Counter Setting Enable Disable Enable
EV Timer/Counter Elapse Enable Disable Enable
ID 2Word Index Register Enable Disable Enable
MG Monitor Data Read Enable - -
<Table 1> Read commands type of SAMSUNG FARA-N Ethernet Communication Driver

 

If you click the icon ¼³¸í: ¼³¸í: ¼³¸í: ¼³¸í: ¼³¸í: ¼³¸í: ¼³¸í: ¼³¸í: ¼³¸í: ¼³¸í: ¼³¸í: 2 in protocol option part, you can see the dialogue box such as <Figure 2>. you can also set read schedule by using this part.

<Figure 2> Example of SAMSUNG FARA-N Ethernet Communication Driver¡¯s Option dialogue box

 

PLC address, PC address, whether to use of new protocol are set by using by using the part of ¡®PLC Station Address', "PC Station Address', 'Use New Protocol¡¯ shown in <Figure 2>

You can set read schedule by using ¼³¸í: ¼³¸í: ¼³¸í: ¼³¸í: ¼³¸í: ¼³¸í: ¼³¸í: ¼³¸í: ¼³¸í: ¼³¸í: ¼³¸í: 3, ¼³¸í: ¼³¸í: ¼³¸í: ¼³¸í: ¼³¸í: ¼³¸í: ¼³¸í: ¼³¸í: ¼³¸í: ¼³¸í: ¼³¸í: 4, ¼³¸í: ¼³¸í: ¼³¸í: ¼³¸í: ¼³¸í: ¼³¸í: ¼³¸í: ¼³¸í: ¼³¸í: ¼³¸í: ¼³¸í: 5 button and listbox of <Figure 2>.

<Figure 3> Example of SAMSUNG FARA-N Ethernet communication driver¡¯s read schedule Add/Edit dialogue box

When you click Add button or Edit button in dialogue box of <Figure 2>, dialogue box of <Figure 3> is shown.

 

 

2. Write settings

You can change the memory values of FARA-N PLC by using write commands.

 

Bit write 

Bit write setting parameters are as follows:

1)  PORT :  Port no. (0 ~ 255)

2)  STATION : PLC address(1 ~ 63 or 238).

3)  ADDRESS : write address of memory type.

4)  EXTRA 1 : write memory type = Y, R, L.

5)  EXTRA 2 : Don't care.

 

Write example 1)

PORT:0,  station:238, ADDRESS:0000, Extra1:Y  Extra2 :

The setting parameter shown above is an example of bit write for Y0000 memory of FARA-N PLC connected with 0 port, 238 PLC address.

 

 

Word write

Word write setting parameters are as follows:

1)  PORT : Port no. (0 ~ 255)

2)  STATION : PLC address(1 ~ 63 or 238).

3)  ADDRESS : write address of memory type.

4)    EXTRA 1 : write memory type = Y,R,L,DT,FL,Ld,IX,IY,ID,SV,EV, MD.xxy(Refer to <Table 2>), MC.y(Refer to <Table 2>)

5)    EXTRA 2 : 1 = When exceeding 9999 write address of DT, FL, Ld memory type.

             0 or other=  Don't care.

 

<Table 2> is a description of monitor data(MD) and monitor point(MC) write commands for SAMSUNG FARA-N Ethernet communication driver.

Monitor Register Write Command Type Content Remark
MD.xx Monitor Data(Word) Register xx = DT, FL, Ld, IX, IY, SV, EV, WX, WY, WR, WL
MD.CL Reset of Monitor Data Register  
MC.y Monitor Point(Bit) Register y = X, Y, R, L, T, C
MC.CL  Reset of Monitor Point Register  
<Table 2> Monitor data(MD) and monitor point(MC) write commands for SAMSUNG FARA-N Ethernet communication driver

 

Write example 1)

PORT:0, Station:238, Address:0010, Extra1:SV Extra2 : 0

The setting parameter shown above is an example of word write for S0010(timer/counter setting memory type) memory of FARA-N PLC connected with 0 port, 238 PLC address.

 

¼³Á¤ ¿¹2)

PORT:0, Station:238, Address:0123, Extra1:DT, Extra2:1

The setting parameter shown above is an example of word write for D10123(Data Register) memory of FARA-N PLC connected with 0 port, 238 PLC address.

 

 

3. Setting of ethernet card

You can set ethernet  of  FARA-N PLC by using 'Ethernet Configurator' program.

 <Figure 4> is example of Ethernet Configurator program for SAMSUNG FARA-N PLC.

Snap5.bmp
 <Figure 4> Example of 'Ethernet Configurator' program for SAMSUNG FARA-N PLC