AB-PLC SLC 500 TCP/IP communication driver

 

AB-PLC SLC 500 TCP/IP Communication Driver is the driver to communicate with  AB SLC 500 PLC of Rockwell Automation in U.S.A.

1. Read settings

 

<Figure 1> is read setting example of AB-PLC SLC 500 TCP/IP communication driver.

<Figure 1> Read setting example of AB-PLC SLC 500 TCP/IP communication driver

Device part of  <Figure 1> input Device Type(TCP/IP), IP address of PLC(192.168.1.102), service port number(2222 : fixed) respectively.

 

AB-PLC SLC 500 TCP/IP communication driverí»s read schedule 

Read schedule setting parameters are as follows:

1) STATION – Don't care(fixed to 0).

2)  memory type(and file number) – memory type = B3, N7, F8, N9, F13 ...

3) Read Start Address – read start address of memory.

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

5) Read Size – word unit size. 

 

Read schedule example)

READ,   0,     N7,    2,    0,   5,

READ,   0,     B3,    0,   10,   5,

READ,   0,     I1,    0,   20,   9,

READ,   0,     O0,    0,   30,   1,

READ,   0,     T4,    0,   31,   6,

READ,   0,     C5,    0,   40,   6,

READ,   0,     R6,    0,   50,   6,

READ,   0,     B9,    0,   60,   6,

READ,   0,    T15,    0,   70,   6,

FLOAT,  0,    F13,    0,    0,  10,

 

 

2. Writing settings

You can write AB-PLC SLC 500 PLC by writing settings.

 

Bit Write

Bit write setting parameters are as follows:

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

2) STATION :  Don't care.

3) ADDRESS : Upper 3 digit = word unit writing address (10 digit), Lower 1 digit = 0 ~ F(16 digit) writing bit pos.. (ex : 001A = 1 word A bit)

4) EXTRA 1 :  Memory type = B3, N7...

5) EXTRA 2 :  R, T, C memory =  0 – status bit, 1 – setting value, 2 – count value,

Other memory  = Don;t care.

 

Write example 1)

PORT:0   STATION:0   ADDRESS:002F  EXTRA1:B3   EXTRA2 :

The setting parameter shown above is an example of bit write for 2 word, F bit of memory B3 for AB-PLC SLC 500 PLC connected with 0 port.

 

Write example 2)

PORT:0   STATION:0   ADDRESS:0007  EXTRA1:N7  EXTRA2 :

The setting parameter shown above is an example of bit write for 0 word, 7 bit of memory N7 for AB-PLC SLC 500 PLC connected with 0 port.

 

Write example 3)

PORT:0   STATION:0   ADDRESS:0010  EXTRA1:T4   EXTRA2 : 1

The setting parameter shown above is an example of setting value control for 1 word, 0 bit of memory T4 for AB-PLC SLC 500 PLC connected with 0 port.

 

Write example 4)

PORT:0   STATION:0   ADDRESS:0010  EXTRA1:T4   EXTRA2 : 0

The setting parameter shown above is an example of writing status bit for 1 word, 0 bit of memory T4 for AB-PLC SLC 500 PLC connected with 0 port.

 

 

Note) AB-PLC SLC 500 TCP/IP communication driver don't support 'Bit Write' for 'F' memory.

 

 

Word Write

Word write setting parameters are as follows:

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

2) STATION : Don't care.

3) ADDRESS : 10 digit word unit writing address. (ex : 0010 = 10 word address)

4) EXTRA 1 : memory type = N7, N10...

5) EXTRA 2 : R, T, C memory =  0 – status bit, 1 – setting value, 2 – count value,

Other memory  = Don;t care.

 

 

Write example 1)

PORT:0  STATION:0  ADDRESS:0015  EXTRA1:N10  EXTRA2 :

The setting parameter shown above is an example of word write for 15 word of memory N10 for AB-PLC SLC 500 PLC connected with 0 port.

 

Write example 2)

PORT:0   STATION:0   ADDRESS:0006  EXTRA1:N7  EXTRA2 :

The setting parameter shown above is an example of word write for 6 word of memory N7 for AB-PLC SLC 500 PLC connected with 0 port.

 

Write example 3)

PORT:0   STATION:0   ADDRESS:0011  EXTRA1:T4   EXTRA2 : 1

The setting parameter shown above is an example of word write(setting value) for 11 word of memory T4 for AB-PLC SLC 500 PLC connected with 0 port.

 

Write example 4)

PORT:0   STATION:0   ADDRESS:0002  EXTRA1:C5   EXTRA2 : 2

The setting parameter shown above is an example of word write(count value) for 2 word of memory C5 for AB-PLC SLC 500 PLC connected with 0 port.