uR1800 Recorder is the driver to communicate with recorder controller of Yokogawa Co., in Japan.
<Figure 1> is read setting example of uR1800 Recorder communication driver.
<Figure 1> Read setting example of uR1800 Recorder communication driver |
Device settings are input, Device type(COM1), Com Baud(9600), Parity Bit(0), Data Bit(8), Stop Bit(1).
Read schedule example of uR1800 Recorder
Memory | Station | Data Type | Read start address | Save start address | Read size |
FLOAT, | 1, | TS0, | 2, | 0, | 1, |
FLOAT, | 1, | TS1, | 1, | 20, | 24, |
READ, | 1, | TS2, | 1, | 0, | 1, |
1) Station : STATION number which is set in controller.
2) Data type : Data type to read. (Input among TS0, TS1, TS2), <Table 2>~<Table 4> is refer to each read memory contents.
3) Read start address : 1 ~ 24.
4) Save start address for Communication Server : Buf position to save the read status value.
5) Read size : The number of items to read at a time. 1 ~ 24 channel.
6) EXTRA: If TS0 memory type is TLOG, input value as '1' or don't care.
Memory contents for each read command of UR1800 Recorder are same such as <Table 2> ~ <Table 4>.
Memory Position |
Data Type |
Data Contents |
Save addr+0 |
Year |
(Read several channels at the same time but it is one date) |
กฐ + 1 |
Month |
|
กฐ + 2 |
Day |
|
กฐ + 3 |
Hour |
(Read several channels at the same time but it is one time) |
กฐ + 4 |
Min |
|
กฐ + 5 |
Sec |
|
กฐ + 6 |
Data status 1 |
1 = N: normal, 2 = D: differential, 3 = O: overrange, 4 = S: skip, 0 = Blank: space, 255 = Etc: New status. |
กฐ + 7 |
Data status 2 |
1 = Blank: space, 2 = E: end of data, 255 = Etc: New status. |
กฐ + 8 |
Alarm status |
1 = H: High alarm, 2 = L: Low alarm, 3 = R: rate-of-change limit increase alarm, 4 = h: High limit alarm, 5 = l: Low limit alarm, 6 = r: rate-of-change limit decrease alarm, 0 = Blank: space, 255 = Etc: New alarm. |
กฐ + 9 |
Unit(units) |
1 = mV: Milli-volt, 2 = V: Volt, 3 = กษ: Celsius, 4 = ขต: Fahrenheit, 0 = Blank: space, 255 = Etc: New unit. |
กฐ + 10 |
Channel number |
Display 1 ~ 24 channel number |
กฐ + 11 |
Data of channel |
5 digit or 8 digit(TLOG) number |
<Table 2> Memory storage position of TS0 read command |
Memory Position |
Data Type |
Data Contents |
Display several channels |
Save addr+0 |
PS:Run/Stop |
(Read several channels at the same time but it is one state) |
PS = None |
กฐ + 1 |
SR:Channel number |
01 ~ 24 channel number. |
SR = Several channels |
กฐ + 2 |
SR:Setting type |
0 = SKIP, 1 = VOLT, 2 = TC, 3 = RTD, 4 = DELT, 5 = DI, 6 = SCL, 7 = SQRT, 255 = Etc. |
|
กฐ + 3 |
SR:Input range |
VOLT - 20mV, 60mV, 200mV, 2V, 6V, 20V, etc, TC – 1= R, 2 = S, 3 = B, 4 = K, 5 = E, 6 = J, 7 = T, 8 = N, 9 = W, 10 = L, 11 = U, 255 = Etc. RTD – 1 = JPT, 2 = PT, 255 = Etc. |
|
กฐ + 4 |
SR:Setting minimum value |
|
|
กฐ + 5 |
SR:Setting maximum value |
|
|
กฐ + 6 |
SN:Channel number |
01 ~ 24 channel number. |
SN = Several channels |
กฐ + 7 |
SN:Setting up unit |
1 = mV: Milli-volt, 2 = V: Volt, 3 = กษ: Celsius, 4 = ขต: Fahrenheit, 0 = Blank: space, 255 = Etc: New unit. |
|
กฐ + 8 |
SA1:Channel number |
01 ~ 24 channel number. |
SA = Several channels |
กฐ + 9 |
SA1:Alarm level |
1 ~ 4 Level. |
|
กฐ + 10 |
SA1:Alarm setting |
1 = ON or 0 = OFF. |
|
กฐ + 11 |
SA1:Alarm status |
1 = H: High alarm, 2 = L: Low alarm, 3 = R: rate-of-change limit increase alarm, 4 = h: High limit alarm, 5 = l: Low limit alarm, 6 = r: rate-of-change limit decrease alarm, 0 = Blank: space, 255 = Etc: New alarm. |
|
กฐ + 12 |
SA1:Alarm setting value |
5 digit number. |
|
กฐ + 13 |
SA1:Alarm output value |
ON or OFF. |
|
กฐ + 14 |
SA1:Alarm output Relay number |
01 ~ 24 relay number. |
|
กฐ + 15 |
SA2:Channel number |
01 ~ 24 channel number. |
|
กฐ + 16 |
SA2:Alarm level |
1 ~ 4 level. |
|
กฐ + 17 |
SA2:Alarm setting |
1 = ON or 0 = OFF. |
|
กฐ + 18 |
SA2:Alarm status |
1 = H: High alarm, 2 = L: Low alarm, 3 = R: rate-of-change limit increase alarm, 4 = h: High limit alarm, 5 = l: Low limit alarm, 6 = r: rate-of-change limit decrease alarm, 0 = Blank: space, 255 = Etc: New alarm. |
|
กฐ + 19 |
SA2:Alarm setting value |
5 digit number. |
|
กฐ + 20 |
SA2:Alarm output value |
1 = ON or 0 = OFF. |
|
กฐ + 21 |
SA2:Alarm output Relay number |
01 ~ 24 relay number. |
|
กฐ + 22 |
SA3:Channel number |
01 ~ 24 channel number. |
|
กฐ + 23 |
SA3:Alarm level |
1 ~ 4 level. |
|
กฐ + 24 |
SA3:Alarm setting |
1 = ON or 0 = OFF. |
|
กฐ + 25 |
SA3:Alarm status |
1 = H: High alarm, 2 = L: Low alarm, 3 = R: rate-of-change limit increase alarm, 4 = h: High limit alarm, 5 = l: Low limit alarm, 6 = r: rate-of-change limit decrease alarm, 0 = Blank: space, 255 = Etc: New alarm. |
|
กฐ + 26 |
SA3:Alarm setting value |
5 digit number. |
|
กฐ + 27 |
SA3:Alarm output value |
1 = ON or 0 = OFF. |
|
กฐ + 28 |
SA3:Alarm output Relay number |
01 ~ 24 relay number. |
|
กฐ + 29 |
SA4:Channel number |
01 ~ 24 channel number. |
|
กฐ + 30 |
SA4:Alarm level |
1 ~ 4 level. |
|
กฐ + 31 |
SA4:Alarm setting |
ON or OFF. |
|
กฐ + 32 |
SA4:Alarm status |
1 = H: High alarm, 2 = L: Low alarm, 3 = R: rate-of-change limit increase alarm, 4 = h: High limit alarm, 5 = l: Low limit alarm, 6 = r: rate-of-change limit decrease alarm, 0 = Blank: space, 255 = Etc: New alarm. |
|
กฐ + 33 |
SA4:Alarm setting value |
5 digit number. |
|
กฐ + 34 |
SA4:Alarm output value |
1 = ON or 0 = OFF. |
|
กฐ + 35 |
SA4:Alarm output Relay number |
01 ~ 24 relay number. |
|
กฐ + 36 |
SC:Chart speed |
5 ~ 12000mm/h(82 mm unit) or 1 ~ 1500 mm/h(1 mm unit). |
SC = None |
กฐ + 37 |
SS:Recording format setting |
1 = AUTO, 2 = FIX, 255 = Etc. |
SS = None |
กฐ + 38 |
SZ:Recording setting Channel number |
01 ~ 24 channel. |
SZ = Several channels |
กฐ + 39 |
SZ:left boundary ฐช |
0 ~ 75. |
|
กฐ + 40 |
SZ:right boundary value |
5 ~ 180. |
|
กฐ + 41 |
SP:partial expanded setting |
01 ~ 24 channel. |
SP = Several channels |
กฐ + 42 |
SP:partial expanded ON |
1 = ON or 0 = OFF. |
|
กฐ + 43 |
SP:span % |
1 ~ 99%. |
|
กฐ + 44 |
SP:span boundary value |
-1 ~ 1. |
|
กฐ + 45 |
SF:Print output Setting channel |
01 ~ 24 channel. |
SF = Several channels |
กฐ + 46 |
SF: ON/OFF |
1 = ON or 0 = OFF, 255 = Etc. |
|
กฐ + 47 |
ST:TAG setting channel |
01 ~ 24 channel number. |
ST = Several channels |
กฐ + 48 |
ST: TAG existence |
1 = TAG existence, 0 = No TAG. |
|
กฐ + 49 |
SG1:Message number |
No.1 message. |
SG = None |
กฐ + 50 |
SG1: Message existence |
1 = Message existence, 0 = No message. |
|
กฐ + 51 |
SG2:Message number |
No.2 message. |
|
กฐ + 52 |
SG2: Message existence |
1 = Message existence, 0 = No message. |
|
กฐ + 53 |
SG3:Message number |
No.3 message. |
|
กฐ + 54 |
SG3: Message existence |
1 = Message existence, 0 = No message. |
|
กฐ + 55 |
SG4:Message number |
No.4 message. |
|
กฐ + 56 |
SG4: Message existence |
1 = Message existence, 0 = No message. |
|
กฐ + 57 |
SG5:Message number |
No.5 message. |
|
กฐ + 58 |
SG5: Message existence |
1 = Message existence, 0 = No message. |
|
กฐ + 59 |
SE:Chart speed2 |
5 ~ 12000mm/h(82 mm unit) or 1 ~ 1500 mm/h(1 mm unit). |
SE = None |
กฐ + 60 |
UD:Select display |
0 = AUTO, 1 = MANUAL, 2 = CLOCK, 4 = VIEW. |
UD = None |
กฐ + 61 |
UD:Displays channel |
01 ~24 channel number when display selection is MANUAL(1). |
|
<Table 3> Memory save position of TS1 read command |
Memory Position |
Data Type |
Data Contents |
Save addr+0 |
Data status 1 |
1 = N: normal, 2 = D: differential, 3 = S: skip, 0 = Blank: space, 255 = Etc: New status. |
กฐ + 1 |
Data status 2 |
1 = Blank: space, 2 = E: end of data, 255 = Etc: New status. |
กฐ + 2 |
Channel number |
Display 1 ~ 24 channel number |
กฐ + 3 |
Units |
1 = mV: Milli-volt, 2 = V: Volt, 3 = กษ: Celsius, 4 = ขต: Fahrenheit, 0 = Blank: space, 255 = Etc: New unit. |
กฐ + 4 |
Decimal point position |
|
<Table 4> Memory save position of TS2 read command |
Write to direct address of controller, regardless of SCAN File.
Digital Write
You can set or controll uR1800 Recorder by using digital output command.
Digital write setting parameters are as follows :
1) PORT Connected PORT number(0 ~ 255)
2) Station Station number.
3) ADDRESS Don't care.
4) Extra1 Setting or control command and setting(output) parameter, etc.
If Extra2 is '2', input filename of setting command.
Setting command : SR, SA, SN, SC, SD, SY, SS, SZ, SP, SF, ST, SG, SE, SW, etc.
Control command : PS, MP, LS, SU, MS, MC, AK, AC, UD, BO, etc.
* Refer to instruction manual of uR1800 Recorder about detailed setting and control command and parameters.
5) Extra2 Set command method.
1 : ON/OFF operation – Mode to combine setting and control command of Extra1 and ON/OFF operation.
2 : Output the contents of file(in SCAN folder of Project folder sub) which are input to Extra1, to uR1800 Recorder.
Etc : Output Extra1 sentence, as it is.
Write example 1)
Port:0, Station:1, Extra1:PS, Extra2:1
If you set as above and output the digital value, you can START/STOP uR1800 Recorder.
Write example 2)
Port:0, Station:1, Extra1:1.txt, Extra2:2
If you set as above and output the digital value, you can set or output uR1800 Recorder as set or output sentence which are input at 1.txt.
Write example 3)
Port:0, Station:1, Extra1:UD1,03, Extra2:0
If you set as above and output the digita value, it displays no.3 channel value(03) as MANUAL(UD1) for screen display selection of uR1800 Recorder.
Analog Write
You can set or controll uR1800 Recorder by using analog output command.
Analog write setting parameters are as follows :
1) PORT Connected PORT number(0 ~ 255)
2) Station Station number.
3) ADDRESS Don't care.
4) Extra1 Setting or control command and setting(output) parameter, etc.
If Extra2 is '2', input filename of setting command.
Setting command : SR, SA, SN, SC, SD, SY, SS, SZ, SP, SF, ST, SG, SE, SW, etc.
Control command : PS, MP, LS, SU, MS, MC, AK, AC, UD, BO, etc.
* Refer to instruction manual of uR1800 Recorder about detailed setting and control command and parameters.
5) Extra2 Set command method.
2 : Output the contents of file(in SCAN folder of Project folder sub) which are input to Extra1, to uR1800 Recorder.
Etc : Output Extra1 sentence, as it is.
Write example 1)
Port:0, Station:1, Extra1:data.01, Extra2:2
If you set as above and output the analog value, you can set or output uR1800 Recorder as set or output sentence which are input at data.01.
Write example 2)
Port:0, Station:1, Extra1:MP0, Extra2:0
If you set as above and output the analog value, you can start manual printing of uR1800 Recorder.