RKC REX Series communication driver

 

RKC REX-G9 F400~F900 communication driver is the driver to communicate with REX G9, F400, F700, F900 digital controller of RKC Instrument Corp., in Japan.

 

1. Read settings

 

<Figure 1> is read setting example of RKC REX-G9 F400~F900 communication driver.

<Figure 1> Read setting example of RKC REX-G9 F400~F900 communication driver

Device part of <Figure 1> input Device type(COM1), Com Baud(9600), Parity Bit(0), Data Bit(8), Stop Bit(1), respectively, according to controller settings.

 

RKC REX-G9 F400~F900 communication driver's read schedule

Read schedule setting parameters are as follows:

1) STATION – STATION number of controller(00~99).

2) Read command – Input memory type. Refer to <Table 1> or REX series manual.

3) Read start address – Don't care.

4) Save Start Address for Communication Server – Readed data saving start address of communication server.

5) Read Size – Fixed to 1.

 

Read size of each memory area for REX series is fixed according to system setting.

 

Read schedule example)

READ STATION Read Type Read Start Address Memory Save Address Read Size
(Fixed to 1)
READ, 1, M1 0, 0, 1
READ, 1, RA 0, 1, 1
READ, 1, SR 0, 2, 1
READ, 1, ZA 0, 3, 1
FLOAT, 1, S1, 0, 0, 1,
FLOAT, 1, P1, 0, 1, 1,
FLOAT, 1, I1, 0, 2, 1,
FLOAT, 1, D1, 0, 3, 1,
FLOAT, 1, CA, 0, 4, 1,

<Table 1> is part of memory area possible to use at RKC REX series protocol.

Area

Data Type

Remarks

M1

Measured Value : PV

Read only

AA, AB, AC

Alarm 1, 2, 3 status

0:OFF, 1:ON, Read only

B1,B2

Burnout 1, 2

0:OFF, 1:ON, Read only

SR

RUN/STOP function

0:OFF, 1:ON, Read/Write

S1

Set value(SV)

Set value(SV), Read/Write

A1, A2, A3

Alarm 1, 2, 3 setting

Read/Write

P1

Heat-side proportional band

Read/Write

I1

Integral time

1~3600 sec(0:PD control), Read/Write

D1

Derivative time

1~3600 sec(0:PI control), Read/Write

<Table 1> Part of memory area possible to use at RKC REX series protocol (Refer to manual offered at RKC for detailed area type)
2. Write settings

Write to direct address of controller, regardless of SCAN File.

Digital and analog output of RKC REX series only can be sent at Computer mode(remote).

In other words, it can be operated when status of RA(Read only : Possible to only control at panel) command is '1' only.

 

Digital Write

Digital write setting parameters are as follows :

1) PORT           Connected PORT number(0 ~ 255)

2) Station         Station number        00 ~ 99.

3) ADDRESS    Channel/Memory number

Units digit : Channel number - 1 ~ F

Tens digit : Output memory number – 0 – Current set memory, 1 ~ 8  (Memory K1 ~ K8 of parameter setting area : S1, A1, A2, A3, P1, I1, D1 area etc)

4) Extra1          Memory area         Refer to <Table 1> or REX series manual.

5) Extra2          Digital classification         Input 1 to digital output memory.

 

Write example 1)

Port:0, Station:1, Address:0000, Extra1:SR, Extra2:0

The setting parameter shown above is digital write of example for RUN/STOP RKC REX series controller.

 

Write example 2)

Port:0, Station:1, Address:0000, Extra1:J1, Extra2:0

The setting parameter shown above is digital write example for changing Auto/Manual status of RKC REX series controller.

 

Analog Write

Analog write setting parameters are as follows :

1) PORT           Connected PORT number(0 ~ 255)

2) Station         Station number        00 ~ 99.

3) ADDRESS    Memory number

Output memory number – 0 – Current set memory, 1 ~ 8  (Memory K1 ~ K8 of parameter setting area : S1, A1, A2, A3, P1, I1, D1, CA area etc)

4) Extra1          Memory area         Refer to <Table 1> or REX series manual.

5) Extra2          All and decimal point digits

Units digit : 0 = Memory without decimal point(AA, AB etc), 1 = Memory for 1 digit of decimal point.(P1, PB etc).

Tens digit : 1 = Memory which outputs as 1 digit, 0 = Memory which outputs as 7 digits(S1, P1, P2 etc).

 

Write example 1)

 Port:0, Station:1, Address:0003, Extra1:S1, Extra2:1

The setting parameter shown above is analog write example for setting 3 memory SV(set value) RKC REX controller.

 

Write example 2)

 Port:0, Station:1, Address:0000, Extra1:I1, Extra2:0

The setting parameter shown above is analog write example for setting Integral time of current channel RKC REX controller.