background image

27 

10. ASCII code 

b7  0 

0  0 0 1 1 1  1 

b6  0 

0  1 1 0 0 1  1 

 

b5  0 

1  0 1 0 1 0  1 

 

b4 b3 b2 b1 

 

2  3  4  5  6 

0 0 0 0 

0  NUL 

DLE 

(TC7

SP 0  @ P 

 

0 0 0 1 

SOH 

(TC1) 

DC1 ! 1 A Q a  q 

0 0 1 0 

STX 

(TC2

DC2 ” 2 B R b  r 

0 0 1 1 

ETX 

(TC3) 

DC3 # 3 C S c  s 

0 1 0 0 

EOT 

(TC4) 

DC4 $ 4 D T d  t 

0 1 0 1 

ENQ 

(TC5) 

NAK 

(TC8) 

% 5 E U e  u 

0 1 1 0 

ACK 

(TC6) 

SYN 

(TC9) 

& 6 F V  f  v 

0 1 1 1 

7  BEL 

ETB 

(TC10) 

’ 7 G W g w 

1 0 0 0 

BS 

(FEO) 

CAN ( 8 H X h  x 

1 0 0 1 

HT 

(FE1) 

EM ) 9 

Y i  y 

1 0 1 0 

LF 

(FE2) 

SUB 

 :  J Z  j  z 

1 0 1 1 

VT 

(FE3) 

ESC +  ;  K  [  k  { 

1 1 0 0 

FF 

(FE4) 

FS 

(IS4) 

, < L 

 

 

1 1 0 1 

CR 

(FE5) 

GS 

(IS4) 

– = M ] m  } 

1 1 1 0 

E  SO 

RS 

(IS4) 

. > N ^ n 

 

1 1 1 1 

 

F S

I

 

US 

(IS4) 

 

? O  -  o DEL 

 

 

 

 

 

 

 

 

 

 

 

 

 

Summary of Contents for PC-935 series

Page 1: ...COMMUNICATION INSTRUCTION MANUAL PC 935 PC 955 OPTION CODES C C5 SVTC ...

Page 2: ... 2 RS 485 option C5 5 3 Setting value digital transmission option SVTC 6 3 Setup of the PC 900 6 4 Communication procedure 7 5 Command configuration 5 1 Command configuration 7 1 Command 8 2 Response to the command 9 5 2 Checksum calculation 10 6 Contents of the command 6 1 Notes on the setting command and reading command 11 6 2 Command table 13 7 Sample program 7 1 Sample program list 20 7 2 Oper...

Page 3: ...2C option C 2 RS 485 multi drop connection option C5 3 Setting value digital transmission option SVTC When executing Setting value digital transmission with option C With option C With option C When executing Setting value digital transmission with option C5 With option C5 Max 31 units of FCD 100 or FCR 100 with option C5 Host computer RS 232C PC 900 PC 900 RS 232C FCD 100 or FCR 100 PC 900 RS 485...

Page 4: ...ansfer rate of the FCD 100 or FCR 100 to that of the PC 900 It is not necessary to set the instrument number for FCD 100 or FCR 100 When using the Setting value digital transmission function the communication function C C5 is not available 1 2 Communication interface 1 RS 232C option C Characteristic based on EIA RS 232C Connection Signal Code Signal direction Terminal No Transmitting data TX Outp...

Page 5: ... PC 900 and RXD Host computer with TX PC 900 as shown below Fig 2 1 2 RS 485 option C5 When using communication converter IF 300 C5 Connector D sub 9 pin D sub 25 pin Connection RS 232C RS 485 Data transfer rate 2400 4800 9600 19200bps COM TX RX PC 900 Shield wire D sub connector 25 pin 12 11 16 TXD RXD GND DCD DTR DSR RTS CTS RI 3 2 5 1 4 6 7 8 9 TXD RXD SG FG RTS CTS DSR DTR CD 2 3 7 1 4 5 6 20 ...

Page 6: ...ely has a built in terminator The terminator is mounted at the end of the wire when connecting a personal computer with multiple peripheral devices The terminator prevents signal reflection and disturbance 3 Setup of the PC 900 It is necessary to set an instrument number to each of the PC 900 units individually when communicating by connecting plural units Select a data transfer rate for the PC 90...

Page 7: ...t the transmitter from the communication line within a 1 character transmission period after sending the response Master side Notice on programming Set the program so that the master can disconnect the transmitter from the communication line within a 1 character transmission period after sending the command in preparation for reception of the response from the slave To avoid the collision of trans...

Page 8: ...ns each slave Instrument number 0 to 94 00H to 5EH and Global address 95 5FH The numbers 20H to 7EH are used by giving 20H of bias 95 7FH is called Global address which is used when the same command is sent to all the slaves connected However a response is not returned 3 Sub address 20H fixed 4 Command type Code to discern Setting command 50H and Reading command 20H 5 Data item Data classification...

Page 9: ...13 to 20 The same code with the received command is used for the response 163 In the case of 0 Represents setting items such as Fixed value control parameter PID Auto tuning performance Attached function and Auto Manual control change In the case of 1 Represents the Program pattern setting item In the case of 2 Represents the PID block setting group setting item In the case of 3 Represents the Wai...

Page 10: ... of hexadecimal 1 digit 1 31H Non existent command 2 32H Not used 3 33H Setting value outside the setting range 4 34H Status unable to set e g AT is performing 5 35H During setting mode by keypad operation 4 Checksum 2 character data to detect communication errors See page 10 for the calculation 5 Delimiter ETX 03H fixed End of text Control code to represent the end of response 5 2 Checksum calcul...

Page 11: ...rate of the slave cannot be set by communication Set them by the PC 900 front keypad Setting command The settable range is the same as the one that can be set with the keypad Refer to the instruction manual for PC 900 For communication command refer to the Command table of this manual All commands are composed of ASCII The data setting value decimal is converted to hexadecimal figures and ASCII is...

Page 12: ... is converted to hexadecimal figures and ASCII is used Negative numbers are represented by 2 s complement When the data setting value has a decimal point the response is returned as a whole number without a decimal point Example If the sample program is used P 20 21 and when Program pattern 0 Step 0 temperature setting value is read by the reading command Instrument number 0 B 1 0 0 0 02H 20H 20H ...

Page 13: ...utput OUT1 proportional band 20H 50H 0007H Fixed value control Alarm 1 A1 action point setting Setting value 20H 50H 0008H Fixed value control Alarm 2 A2 action point setting Setting value 20H 50H 0009H Fixed value control Alarm 3 A3 action point setting Setting value 20H 50H 000AH Fixed value control Alarm 4 A4 action point setting Setting value 20H 50H 000BH Automatic Manual control change mode ...

Page 14: ... 50H 0019H Loop break alarm time setting Setting value 20H 50H 001AH Loop break alarm span setting Setting value 20H 50H 001BH Control output OUT1 proportional cycle setting Setting value 20H 50H 001CH Control output OUT1 high limit setting Setting value 20H 50H 001DH Control output OUT1 low limit setting Setting value 20H 50H 001EH Control output OUT1 ON OFF hysteresis setting Setting value 20H 5...

Page 15: ...emperature setting value SV when program end holding function selection 0000H Hold function is not applied 0001H Hold function is applied 20H 50H 003AH Time signal 1 output Status output RUN selection 0000H Time signal 1 output 0001H Status output RUN 20H 50H 003BH Time signal 2 output Status output HOLD selection 0000H Time signal 2 output 0001H Status output HOLD 20H 50H 003CH Time signal 3 outp...

Page 16: ...ID block number selection to be used for Pattern 0 Step 0 0000H Block number 0 0001H Block number 1 0002H Block number 2 0003H Block number 3 0004H Block number 4 0005H Block number 5 0006H Block number 6 0007H Block number 7 0008H Block number 8 0009H Block number 9 20H 50H 1003H Time signal 1 Block number selection to be used for Pattern 0 Step 0 0000H Block number 0 0001H Block number 1 0002H B...

Page 17: ...number 9 20H 50H 100DH Output block number selection to be used for Pattern 0 Step 0 0000H Block number 0 0001H Block number 1 0002H Block number 2 0003H Block number 3 0004H Block number 4 0005H Block number 5 0006H Block number 6 0007H Block number 7 0008H Block number 8 0009H Block number 9 20H 50H 1010H Temperature setting value for Pattern 0 Step 1 Setting value 20H 50H 199DH Output block num...

Page 18: ...number 0 Setting value 20H 50H 5001H Control output OUT1 low limit setting for Block number 0 Setting value 20H 50H 5002H Control output OUT2 high limit setting for Block number 0 Setting value 20H 50H 5003H Control output OUT2 low limit setting for Block number 0 Setting value 20H 50H 5004H Control output OUT1 rate of change limit setting for Block number 0 Setting value 20H 50H 5904H Control out...

Page 19: ...for current output 22 digit Alarm 1 Pattern end output 0 OFF 1 ON 23 digit Alarm 2 Pattern end output 0 OFF 1 ON 24 digit Alarm 3 Pattern end output 0 OFF 1 ON 25 digit Alarm 4 Pattern end output 0 OFF 1 ON 26 digit Loop break alarm output 0 OFF 1 ON 27 digit Upscale 0 OFF 1 ON 28 digit Downscale 0 OFF 1 ON 29 to 215 digit Not used Always 0 20H 0087H Current output status reading From Time signal ...

Page 20: ...lumn pointer 1160 DIM KD 200 key input buffer 1170 CLS GOSUB 1690 1180 OPEN COM1 9600 E 7 1 AS 1 9600bps even data 7 bits data 1 stop bit 1190 ON COM 1 GOSUB 1420 1200 COM 1 ON 1210 1220 Main 1230 1240 B 1 1250 KD B 1260 WHILE KD B KD B INKEY WEND 1270 IF KD B CHR 2 THEN KD 1 KD B B 1 1280 IF KD B CHR HD THEN GOSUB 1340 ELSE GOSUB 1360 GOTO 1250 1290 FOR B 1 TO BMAX 1300 PRINT 1 KD B 1310 NEXT B 1...

Page 21: ...on method of the sample program 1 Before executing the sample program check the following Settings such as data transfer rate instrument number are correct option C5 for RS 485 See p 6 Wiring connections are correct When checking is completed turn the power on 2 Start up the GW BASIC Prepare the GW BASIC and input as BASIC by key operation and then press the Enter key 3 Input the sample program an...

Page 22: ...m pattern 0 Step 0 is set to 600 Address 0 To execute the command input it from header STX B to data with the key and press the Enter key Example 1 B P 1 0 0 0 0 2 5 8 Data 600 0258H Data item 1000H Command type Setting 50H Sub address 0 20H 00H 20H 20H space Address 0 20H 00H 20H 20H space Header STX 02H Press the B while the CTRL is being pressed The checksum is automatically calculated and it i...

Page 23: ... P 1 3 4 0 0 3 5 2 Data 850 0352H Data item 1340H Command type Setting 50H Sub address 0 20H 00H 20H 20H space Address 0 20H 00H 20H 20H space Header STX 02H Press the B while the CTRL is being pressed The checksum is automatically calculated and it is sent with the delimiter ETX B P 1 3 4 0 0 3 5 2 D E C Delimiter ETX 03H Checksum When the command finishes normally it responds as follows F E 0 C ...

Page 24: ...shes normally it responds as follows In the case of Main setting value 600 Program pattern 0 Step 0 F 1 0 0 0 0 2 5 8 1 0 C Delimiter ETX 03H Checksum Setting value Main setting value 600 Data item Command type Sub address Address 20H Header ACK 06H Acknowledgement Check if the display is as follows B P10000258E0 C B 1000DF C F E0 C F 1000025810 C Read the Main setting value Example 2 set at item ...

Page 25: ...t to hexadecimal figure Example Main setting value 1000 in Fixed value control 1000 03E8H Negative number Convert to hexadecimal figure Example Main setting value 10 in Fixed value control 10 FFF6H Decimal point Convert to hexadecimal figure ignoring the decimal point Example Control output OUT1 proportional band 2 5 25 0019H If power failure occurs during communication the data cannot be guarante...

Page 26: ...t accord with those of the slave See p 26 The instrument number address of the slave does not coincide with that of the command The instrument number address is duplicated in multiple slaves See p 6 When communicating without using Shinko communication converter IF 300 C5 make sure that the program is appropriate for the transmission timing See p 7 Check if the setting value memory number of FCD 1...

Page 27: ...b r 0 0 1 1 3 ETX TC3 DC3 3 C S c s 0 1 0 0 4 EOT TC4 DC4 4 D T d t 0 1 0 1 5 ENQ TC5 NAK TC8 5 E U e u 0 1 1 0 6 ACK TC6 SYN TC9 6 F V f v 0 1 1 1 7 BEL ETB TC10 7 G W g w 1 0 0 0 8 BS FEO CAN 8 H X h x 1 0 0 1 9 HT FE1 EM 9 I Y i y 1 0 1 0 A LF FE2 SUB J Z j z 1 0 1 1 B VT FE3 ESC K k 1 1 0 0 C FF FE4 FS IS4 L l 1 1 0 1 D CR FE5 GS IS4 M m 1 1 1 0 E SO RS IS4 N n 1 1 1 1 F SI US IS4 O o DEL ...

Page 28: ...O TECHNOS CO LTD OVERSEAS DIVISION Reg Office Mail Address URL E mail 1 2 48 Ina Minoo Osaka Japan P O Box 17 Minoo Osaka Japan http www shinko technos co jp overseas shinko technos co jp Tel Fax 81 72 721 2781 81 72 724 1760 ...

Reviews: