background image

 

Serial Communications Manual 

  
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 

 

 

 

 

 

 

 

 

 
 
 
 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 
 
 
 
 
 
 
 
 

Ramsey 
Micro-Tech

 3000 

Model 3104

 

Loss in Weight Controller 

Serial Comm-
3104 Rev  
Part No.:  XXXXX 

Summary of Contents for Ramsey Micro-Tech 3000 Series

Page 1: ...Serial Communications Manual Ramsey Micro Tech 3000 Model 3104 Loss in Weight Controller Serial Comm 3104 Rev Part No XXXXX ...

Page 2: ......

Page 3: ... may seek to protect this work as an unpublished copyright In the event of either inadvertent or deliberate publication Thermo Electron intends to enforce its rights to this work under the copyright laws as a published work Those having access to this work may not copy use or disclose the information in this work unless expressly authorized by Thermo Electron All registered and unregistered tradem...

Page 4: ...Revision History Preliminary December 2003 Manual first released ...

Page 5: ... 3 2 Printer Scroll 3 1 3 3 Print Formats 3 1 3 3 1 Totals 3 2 3 3 2 Batch 3 2 3 3 3 Alarms 3 3 3 3 4 Audit Trails 3 3 3 4 Communication Set Up 3 3 3 4 1 Clock Calendar Set Up 3 4 3 4 2 COMM A and Print Scroll Set Up 3 5 3 4 3 Multidrop Operator Set Up 3 7 3 4 4 Printer Set Up 3 8 3 4 5 Define Printing Format 3 10 3 5 Communication Protocols 3 14 3 5 1 Registers Definition 3 15 3 5 2 Type Limits a...

Page 6: ...Serial Communications 3104 REC XXXXX ii 3 9 1 Read Registers 3 32 3 9 2 Write Registers 3 33 3 10 Register Mapping 3 35 Chapter 4 Maintenance 4 1 4 1 General 4 1 Chapter 5 Parts 5 1 5 1 General 5 1 ...

Page 7: ...04 REC XXXXX iii List of Figures Figure 2 1 COMM A Board 2 2 Figure 2 2 Micro Tech 3000 Mother Board 2 3 Figure 2 3 Serial Connection RS232 2 4 Figure 2 4 Serial Connection RS485 2 5 Figure 2 5 Mother Board Area of Detail 2 8 ...

Page 8: ...s 2 1 Table 2 2 Mother Board COMM1 Communications Wiring Config TB3 RS485 2 6 Table 2 3 Mother Board Wiring Configuration TB3 RS232 Communications 2 6 Table 2 4 Mother Board Wiring Configuration TB3 20mA Serial Communications 2 7 Table 2 5 Mother Board Communication Jumper Setting 2 7 ...

Page 9: ... one can be set up for printing the other one for transferring data to and from other intelligent devices such as computers and PLC s The system cannot support two printers or two COMM lines Each COMM A contains a perpetual clock calendar circuit with battery backup The battery is located on the mother board and is the same battery used for system memory backup The system automatically detects and...

Page 10: ...ters as listed in this document During the communication activity the Micro Tech 3104 always acts as Slave meaning it responds to a request from a Master device on the line but never attempts to send messages out The following rules apply a The Micro Tech 3104 responds only if the message is completely received b The Micro Tech 3104 reads the message and looks for the address which is contained in...

Page 11: ...gn but shall apply to the workmanship incorporated in the installation of such items in the complete equipment To the extent purchased parts or accessories are covered by the manufacturer s warranty seller shall extend such warranty to buyer Seller s obligation under said warranty is conditioned upon the return of the defective equipment transportation charges prepaid to the seller s factory in Mi...

Page 12: ...Y INCIDENTAL OR CONSEQUENTIAL DAMAGES Purchaser agrees to underwrite the cost of any labor required for replacement including time travel and living expenses of Thermo Electron Field Service Engineer at closest factory base THERMO ELECTRON 501 90TH AVE NW MINNEAPOLIS MN 55433 PHONE 763 783 2500 FAX 763 783 2525 Disclaimer Though the information provided herein is believed to be accurate be advised...

Page 13: ... the electrical interface Refer to Figure 2 1 for jumper locations TABLE 2 1 COMM A BOARD JUMPERS JUMPERS Mode OP1 OP2 OP3 OP4 OP5 OP6 RS 232 A A A A A B RS 485 B A B B MDP TRM Default 20 mA B B A A A C TABLE MDP TABLE TRM FOR RS 485 ONLY FOR RS 485 ONLY OP5 OP6 A NORMAL A TERMINATED B MULTIDROP B NOT TERMINATED 2 Open the Micro Tech wall mount enclosure and turn power off at the mains or remove p...

Page 14: ...Serial Communications 3104 REC XXXXX 2 2 Figure 2 1 COMM A Board ...

Page 15: ...he following screen appears when power is applied and remains on for 10 seconds The screen disappears after 10 seconds if the question is not answered and the Micro Tech 3104 assumes the answer is NO HW CONFIG CHANGED alarm is on and cannot be reset The above screen appears each time power is cycled if the question is not answered Answer YES because this is a hardware configuration change 10 This ...

Page 16: ...Serial Communications 3104 REC XXXXX 2 4 Figure 2 3 Serial Connection RS232 ...

Page 17: ...Serial Communications 3104 REC XXXXX 2 5 Figure 2 4 Serial Connection RS485 ...

Page 18: ...cations Wire to the Terminal Block 3 on the motherboard for the communication standard selected RS 485 RS 232c 20 mA current loop Table 2 2 Mother Board COMM 1 Communications Wiring Configuration TB3 RS 485 Motherboard RS 485 Communications TB 3 25 Shield 29 RX 28 Rx 24 Common 21 TX 20 TX Maximum cable length 4000 ft Use Beldon 9830 or equivalent Table 2 3 Mother Board Wiring Configuration TB 3 RS...

Page 19: ...5 Shield 26 20 mA out 27 20 mA out 28 20 mA in 24 20 mA in Maximum cable length 4000 ft Use Beldon 9829 or equivalent Table 2 5 Mother Board Communication Jumper Settings JUMPERS Mode OP1 OP2 OP3 OP10 OP13 OP11 RS 485 A A A A A Normal B Multi drop A Terminated B Not Terminated Default RS 232 B B B A A Normal B Not Terminated A Terminated Default 20 mA A A A B A C ...

Page 20: ...Serial Communications 3104 REC XXXXX 2 8 Figure 2 5 Mother Board Area of Detail ...

Page 21: ...e screen menu which allows the operator to select a report and start a printing The following screen is displayed Password Not required The second line 1 gives the status of the printer NO DATA Indicates the printer is idle no data are being sent to printer IS RUNNING The system is sending data to the printer The third line 2 indicates what data is printed when the PRINT key is pressed The Up and ...

Page 22: ...00 Tons RESET TOTAL 0 00 Tons If two scales TOTALS REPORT DATE 09 10 2002 TIME 8 12a SCALE 1 MASTER TOTAL 0 00 Tons RESET TOTAL 0 00 Tons SCALE 2 MASTER TOTAL 0 00 Tons RESET TOTAL 0 00 Tons 2 USER PROGRAMMABLE The USER PROGRAMMABLE format includes three programmable Strings The position of each datum on the paper can be assigned by row and column making it easy to fulfill custom requirement 3 3 2...

Page 23: ... Trails is installed the recorded data can be printed out in the following format TRAIL RECORD NR 1 DATE 09 10 2002 TIME 11 59p VARIABLE scale cap NEW 400 00 OLD 500 00 TRAIL RECORD NR 2 DATE 09 10 2002 TIME 11 31p VARIABLE span NEW 250000 OLD 300000 TRAIL RECORD NR 3 DATE 09 10 2002 TIME 11 59p VARIABLE div e NEW 0 05 OLD 0 1 Each record contains a description of the variable which has been alter...

Page 24: ...l DIAGNOST SCROLL 7 appears The following scroll is provided to set up the date and enter the day month and year in sequence Password SERVICE Default 00 00 0000 Min 01 01 0000 Max 12 31 2096 Time is entered in a similar way The AM PM key is used when time is in the English mode see Display Scroll 7 below Password SERVICE 24 hour am pm Default 00 00 01 00 Min 00 00 01 00 Max 23 59 12 59 2 Press the...

Page 25: ...ected using DISPLAY SCROLL 9 Password Operator Default NO DISPLAY Selections NO DISPLAY LOAD SPEED DATE TIME 3 4 2 COMM A and Print Scroll Set Up Main Menu 5 is dedicated to the serial line COMM A is used to set up the serial line of the COMM A regardless if the serial line is connected to a computer or a PLC or for printing The PRINT scroll is used for setting up the printer and it only appears i...

Page 26: ...rvice Default 8 Selections 7 8 The next screen defines the port use Some commonly used protocols are implemented in the system Possible selections are PC MASTER Thermo Ramsey proprietary protocol Multidrop Master Slave SIEMENS 3964R A proprietary protocol of Siemens Point to point Multi Master ALLEN BRADLEY A proprietary protocol of Allen Bradley DF1 Multidrop Master Slave MODBUS A proprietary pro...

Page 27: ...The Clear To Send CTS line of the port can be used for hardware handshake Select Enabled if you want to connect the CTS input of the system to a control signal generated by the other device WARNING THE CTS INPUT CAN ONLY BE USED WHEN JUMPERS ARE SET FOR RS232 ATTEMPTING TO ENABLE THE CTS SOFTWARE CONTROL IN RS485 MODE WILL RESULT IN LOCK UP OF THE LINE Password Service Default DISACTIVE Selections...

Page 28: ...ter format The following section explains how to program the Print scroll according to the specific needs The system can be configured to operate without any handshake NONE or using the Clear To Send signal CTS or the XON XOFF sequence Refer to the instruction manual of the printer to define which selection is required The selection NONE is only supplied for testing purposes but is not recommended...

Page 29: ...f line is helpful Password Service Default 0 sec Min 0 sec Max 5 sec A Form Feed character can be sent to the printer after each report to force the printer to eject the paper Password Service Default NO Selections NO YES If you want to generate periodical printing enter the number of minutes hours or days in the following screen By entering 0 the periodical printing is prevented Use the INTV key ...

Page 30: ...re xx xx xxxx Day Month Year printed according to the local format as defined in Main Menu 2 Display yy yyz Hour Minutes am pm printed according to the local format as defined in Main Menu 2 Display kkkkkkkkkkkkkkkkkkkk Alarm message same message appearing on the screen For example 09 10 2002 8 14a High rate Password Service Default NO Selections NO YES If YES is selected the system prints all ala...

Page 31: ...s other information that you want to include in the print format Password Operator Default xxxxxxxxxxxxxxxxxxxx Once you have defined the string you have to specify where the string is to be placed on the printed report The coordinate is given in the following way 0000000000111111111122222222223 0123456789012345678901234567890 Y 00 This line printed first 01 This line printed second 02 DIRECTION O...

Page 32: ...ected YES the next two scrolls are displayed Password Operator Default xxxxxxxxxxxxxxxxxxxx Password Operator Default 2 1 Min 0 1 Max 24 80 There is a third string If only one scale is defined it is a third heading string exactly as the previous two If more scale are defined it may be used to define a scale identifier String definition is different for each scale and it used as scale heading Passw...

Page 33: ...eries of variables can be added in the report Variable are MASTER TOTAL RESET TOTAL DATE TIME WEIGHT and RATE The position must be defined for each variable If you do not intend to add a variable in the report you should set its X position to 0 Password Operator X Y Default 4 1 Min 0 1 Max 24 80 Password Operator X Y Default 5 1 Min 0 1 Max 24 80 Password Operator X Y Default 6 1 Min 0 1 Max 24 80...

Page 34: ...s have passed since the previous one it is lost The data is received by an interrupt routine while it is processed in a task which is executed each 100 ms If the Master sends variables to be written in memory the system checks the correctness of the message and immediately sends an answer message if it is correct This does not necessarily mean that the data is written in memory The system first ch...

Page 35: ...ten Write is subject to protection control low limit The minimum acceptable value for the variable Lower values are considered as errors high limit The maximum acceptable value for the variable Higher values are considered as errors refresh time The time between two updates of the variable in the instrument s memory protection The minimum protection level which must be in place to allow access to ...

Page 36: ...tch_total RO 100 float reset_total RW 0 1 0 1 100 none float rate RO 100 float weight RO 100 float rate_cap RO 1 service float scale_cap RO 1 service float h_rate_set RW 0 105 0 limited float l_rate_set RW 0 105 0 limited float h_weight_set RW 0 105 0 limited float l_weight_set RW 0 105 0 limited float h_pos_dev_set RW 0 105 0 limited float hh_pos_dev_set RW 0 105 0 limited float h_neg_dev_set RW ...

Page 37: ...rument in form of an ASCII string For example the screen Will be stored in registers in the following way display 1 2DH 20H Characters 1 and 2 from left of first row display 2 4DH 45H display 3 4EH 55H display 4 20H 4DH display 5 41H 49H display 6 4EH 20H display 10 Characters 19 and 20 from left of first row display 11 Characters 1 and 2 from left second row display 20 Characters 19 and 20 from l...

Page 38: ...h status Only applicable if Load Out option installed xxs0 H Batch not running xxxs H Not used xxs2 H Batch running at high rate xxs3 H Batch running at low rate xxs4 H Waiting start delay time xxs5 H Waiting stabilization time s can be 0 Normal status 1 Stand by status e alarms In the alarms register each bit represents the status of an alarm If the alarm is active the relevant bit contains 1 oth...

Page 39: ...GATIVE DEV alarms 4 bit description 15 Not Used 14 REFILL TIMEOUT 13 12 Not Used 11 OVERFLOW TOTALIZER 10 09 Not Used 08 BATCH DEVIATION 07 00 Not Used f i_o The instrument has physical inputs and outputs to which logical input and output functions are associated As far as communication is concerned only the status of physical inputs and outputs are transferred i_o 1 bit description 15 04 not used...

Page 40: ... in 05 board 16in 4out 1 04 in 04 board 16in 4out 1 03 in 03 board 16in 4out 1 02 in 02 board 16in 4out 1 01 in 01 board 16in 4out 1 00 in 00 board 16in 4out 1 i_o 4 bit description 15 in 15 board 16in 4out 2 14 in 14 board 16in 4out 2 13 in 13 board 16in 4out 2 12 in 12 board 16in 4out 2 11 in 11 board 16in 4out 2 10 in 10 board 16in 4out 2 09 in 09 board 16in 4out 2 08 in 08 board 16in 4out 2 07...

Page 41: ...6 in 06 board 16in 4out 4 05 in 05 board 16in 4out 4 04 in 04 board 16in 4out 4 03 in 03 board 16in 4out 4 02 in 02 board 16in 4out 4 01 in 01 board 16in 4out 4 00 in 00 board 16in 4out 4 i_o 7 bit description 15 04 not used mother board 03 out 3 mother board 02 out 2 mother board 01 out 1 mother board 00 out 0 mother board i_o 8 bit description 15 out 3 board 16in 4out 1 14 out 2 board 16in 4out ...

Page 42: ...12 board 4in 16out 2 11 out 11 board 4in 16out 2 10 out 10 board 4in 16out 2 09 out 09 board 4in 16out 2 08 out 08 board 4in 16out 2 07 out 07 board 4in 16out 2 06 out 06 board 4in 16out 2 05 out 05 board 4in 16out 2 04 out 04 board 4in 16out 2 03 out 03 board 4in 16out 2 02 out 02 board 4in 16out 2 01 out 01 board 4in 16out 2 00 out 00 board 4in 16out 2 i_o 11 bit description 15 out 15 board 4in ...

Page 43: ...ch can resume if a Start command is sent later 10 Stop Batch Only if Load Out option installed Stops a Load Out batch sequence 09 Start Batch Only if Load Out option installed Start a Load Out batch sequence 08 02 Not used 01 Clear RESET total 00 Reset Alarms Reset any pending alarm In order to give a command the Host must set the relevant bit to 1 and write send the register to the instrument The...

Page 44: ...value of the master totalizer p Reset_total The current value of the reset totalizer Reset total can be zeroed by writing zero to this register or by command register q Rate The instantaneous rate in engineering units as currently displayed on the RUN screen r Weight The instantaneous weight in engineering units s Rate_cap The rate capacity of the loss in weight system Entered by the user at first...

Page 45: ...set point in rate units When write it is the remote regulation set point It will be used by the instrument when it is switch in remote gg Control_dev It is the actual regulation error in percent 3 6 PC Master Protocol The PC Master protocol is fully described in the following manual available from Thermo Ramsey on request PC MASTER COMMUNICATION PROTOCOL Rev 08 01 1996 The following messages are u...

Page 46: ...FOUR 34H LOC REM 3CH FIVE 35H START 3DH SIX 36H STOP 3EH SEVEN 37H Example 1 The Host sends the MENU key to 3104 Address of Slave 1 HOST PLC SLAVE 3104 02H 10H 01H 61H 01H 4DH B0H 03H Æ 2 Message 98 SEND A VARIABLE TO THE 3104 With this command the master sends registers to the slave unit QUERY MESSAGE Begin of frame STX 02 DLE 10H Address xxx xxx Code 98 62H Stamp xxx xxx Data Address 1WORD WordC...

Page 47: ...H Æ Å 02H 10H 01H 62H 01H 00H 6CH 00H 02H D2H Å 02H 10H 01H 62H 01H 00H 7AH 00H 02H 50H 03H 3 Message 99 READ REGISTER With this command the master asks the slave unit for registers QUERY MESSAGE Begin of frame STX 02 DLE 10H Address xxx xxx Code 99 63H Stamp xxx xxx Data Address 1WORD WordCount 1WORD Error check xxx xxx End of frame ETX 03 RESPONSE MESSAGE Begin of frame STX 02 DLE 10H Address xx...

Page 48: ...le Simatic S5 Siemens Two communication modes are provided FETCH The HOST asks the slave unit for register SEND The HOST sends registers to the slave The choice between requesting or sending data is made using a specific code inside the message 3 7 1 Write Register HOST PLC SLAVE 3104 STX 02H Æ Å DLE 10H HEDING TEL HI 00H Æ HEDING TEL LO 00H COMMAND HI 41H COMMAND LO 44H DESTINATION DB 00H DESTINA...

Page 49: ...H 10H 03H E5H Æ Å 10H 02H Å STX 02H 10H Æ Å 00H 00H 00H 00H 10H 03H 13H 10H Æ 3 7 2 Read Register HOST PLC SLAVE 3104 STX Æ Å DLE 10H HEDING TEL HI 00H Æ HEDING TEL LO 00H COMMAND HI 41H COMMAND LO 44H DESTINATION DB 00H DESTINATION DW XXH NUMBER BYTES HI 00H NUMBER BYTES LO XXH no CF FFH all CPUs FFH DLE 10H ETX 03H BCC XXH Å DLE 10H HOST PLC SLAVE 3104 STX 02H DLE 10H Æ Å HEDING TEL HI 00H HEDIN...

Page 50: ...0H 00H 10H 03H 99H 10H Æ 3 8 Modbus This protocol has been implemented as described in Gould Modicon Modbus Protocol Reference Guide November 1993 Rev A Gould Inc Programmable Control Division NOTE Only a subset of the protocol has been implemented as described in this chapter 3 8 1 Read Register QUERY Address xxx function 03H add hi xxx add lo xxx n data hi xxx n data lo xxx crc16 lo xxx crc16 hi...

Page 51: ...ion code 2 address is not correct or number of registers overlaps the max limit 42 QUERY Address xxx function 10H add hi xxx add lo xxx n data hi xxx n data lo xxx n bytes xxx data MSB xxx xxx data LSB xxx crc16 lo xxx crc16 hi xxx REPONSE MESSAGE Address xxx function 10H 90H in case of error add hi xxx add lo xxx n data hi xxx n data lo xxx crc16 lo xxx crc16 hi xxx Example 1 The Host wants to wr...

Page 52: ...ds used to read or write the registers are typed read code 68h and typed write 67h 3 9 1 Read Registers Connect message This message must be sent from Host to Slave before a request of sending data can be performed HOST PLC SLAVE 3104 DLE 10H Æ SOH 01H ADDRESS OF SLAVE DLE 10H STX 02H ADDRESS OF SLAVE ADDRESS OF HOST COMMAND OFH STS 00H TMS xxH TMS xxH FNC 68H PACKET OFFSET LOW PACKET OFFSET HIGH ...

Page 53: ...3 High load set 100 0 Address of Slave 02 Address of Host 01 HOST PLC SLAVE 3104 10H 01H 02H 10H 02H 02H 01H 0FH 00H Æ 00H 00H 78H 00H 00H 01H 00H 07H 00H 08H 0AH 01H 00H 10H 03H 69H Å 10H 06H 10H 05H 01H FFH Æ Å 10H 02H 01H 02H 4FH 00H 00H 00H 99H 09H 06H 94H 08H 00H 00H C8H 42H 10H 03H A2H 10H 06H Æ 3 9 2 Write Registers Send data This message is used from the Host to download registers into the...

Page 54: ...0H ETX 03H BCC Æ Å DLE 10H ACK 06H Ask if data ok HOST PLC SLAVE 3104 DLE 10H Æ ENQ 05H ADDRESS SLAVE BCC Å DLE 10H STX 02H ADDRESS OF HOST ADDRESS OF SLAVE 4FH COMMAND STS 00H TMS xxH TMS xxH DLE 10H ETX 03H BCC DLE 10H Æ ACK 06H If the message is incorrectly received the instrument will not respond The character 10H is doubled sent two times but it is computed once only in the BCC Example The Ho...

Page 55: ... 7 display 8 41 28H N7 8 display 9 42 29H N7 9 display 10 43 2AH N7 10 display 11 44 2BH N7 11 display 12 45 2CH N7 12 display 13 46 2DH N7 13 display 14 47 2EH N7 14 display 15 48 2FH N7 15 display 16 49 30H N7 16 display 17 50 31H N7 17 display 18 51 32H N7 18 display 19 52 33H N7 19 display 20 53 34H N7 20 display 21 54 35H N7 21 display 22 55 36H N7 22 display 23 56 37H N7 23 display 24 57 38H...

Page 56: ... 92 5BH N7 59 i_o 12 93 5CH N7 60 Commands 94 5DH N7 61 Batch_number 95 5EH N7 62 Batch_dev 96 5FH N7 63 Batch_set 1 97 60H F8 0 Batch_set 2 98 61H Batch_preset 1 99 62H F8 1 Batch_preset 2 100 63H Batch_preset_sp 1 101 64H F8 2 Batch_preset_sp 2 102 65H Batch_preact 1 103 66H F8 3 Batch_preact 2 104 67H Batch_total 1 105 68H F8 4 Batch_total 2 106 69H Master_total 1 107 6AH F8 5 Master_total 2 10...

Page 57: ...et 2 128 7FH Hh_pos_dev_set 1 129 80H F8 16 Hh_pos_dev_set 2 130 81H H_neg_dev_set 1 131 82H F8 17 H_neg_dev_set 2 132 83H Hh_neg_dev_set 1 133 84H F8 18 Hh_neg_dev_set 2 134 85H Start_ref 1 135 86H F8 19 Start_ref 2 136 87H End_ref 1 137 88H F8 20 End_ref 2 138 89H Ing_ratio 1 139 8AH F8 21 Ing_ratio 2 140 8BH Control_set 1 141 8CH F8 22 Control_set 2 142 8DH Control_dev 1 143 8EH F8 23 Control_d...

Page 58: ......

Page 59: ...Serial Communications 3104 REC XXXXX 4 1 Chapter 4 Maintenance 4 1 General Refer to the Micro Tech 3104 manual for maintenance information ...

Page 60: ......

Page 61: ...Serial Communications 3104 REC XXXXX B 1 Chapter 5 Parts 5 1 General Refer to the Micro Tech 3104 manual for parts information ...

Reviews: