The Fredericks Company RS485 Скачать руководство пользователя страница 3

The Fredericks Company l 2400 Philmont Ave ● HuntingdonValley, PA 19006-0067 

Tel: 215.947.2500 l Fax: 215.947.7464 l Email: [email protected] l www.frederickscom.com

  

1-6200-008_im Revision: B 

 

Page 3 of 4

 

 

 

 

 

 

 

          2.4 Data-bus connections 

 

Before connecting the modules to the bus, make sure they all have different addresses (see 3.3       
command 81). Connect all ‘A’ of each module and all ‘B’ of each module. 
NOTE: RS485 cannot be connected to RS232 interface. 

 

MASTER                           MODULE      MODULE      MODULE                              MODULE 
          ]-------------------------A-------------A-------------A  -   -   -   -   -   -   -   -   -   A 
          ]-------------------------B-------------B-------------B  -   -   -   -   -   -   -   -   -   B 
                                                                                          

Max 32 modules in one bus     

If communication fails to work, switch A and B polarity at Master end 

 

2.5 Communication setup 

 

              For communication, use  e.g. Hyper-terminal software (standard in MS Windows). The following 

parameters are either fixed or factory default for setting up the communications. 

 

Function 

Setting 

Comments 

Baud rate  

9600  
(factory default) 

Settable from 1200 to 38400 

Number of data bits 

Fixed 

No parity 

Fixed 

Number of stop bits 

Fixed 

 

3.

 

COMMANDS          

     
3.1 Command format   

 

The following is the command format to read the sensor output and board temperature 

               *XXYY#

   (* = start of string,   XX = address,   YY = command,   # = end of string) 

 

a.

 

Data commands 

Command description 

Command 

Output 

X axis data 

*9911# 

ascii (16 bit) 

Y axis data 

*9921# 

ascii (16 bit) 

Board temperature 

*9941# 

ascii (10 bit)    see note 

                   

 

NOTE: To convert the 10 bit data returned from the on board MCP9700 use the following formulas, 

           MCP9700 output voltage = 10 bit value / 1023 * supply voltage  
           Temperature C = (MCP9700 output voltage – 0.5) / 0.010

 

                            

SUNSTAR传感与控制 http://www.sensor-ic.com/ TEL:0755-83376549 FAX:0755-83376182 E-MAIL:[email protected]

SUNSTAR传感与控制 http://www.sensor-ic.com/ TEL:0755-83376549 FAX:0755-83376182 E-MAIL:[email protected]

Содержание RS485

Страница 1: ...board in mounted in a horizontal position when a sensor in installed into the board If external single axis sensors are connected thru cables then the board can be mounted in any position Following are the board dimensions Board dimensions 1 25 x 1 25 inches or 32mm x 32mm square Mounting hole and spacing 0 089 inches diameter and 1 05 inches center to center 2 2 Electrical connections Below is a ...

Страница 2: ...n L1 R5 is 10 0K ohms R6 is not installed Single axis sensors mounted off board Single axis sensors are connected to J3 x axis and J4 Y axis No sensor is installed in L1 R5 is not installed R6 is 1 0K ohms Note If R5 is not removed then R6 must be less than 100 Ohms Note J2 is for factory use only J1 SIGNAL CONNECTOR PIN 1 J3 X AXIS X axis X AXIS J4 Y AXIS AAAAAXIS AXIS L1 DUAL AXIS SENSOR SENSOR ...

Страница 3: ...or factory default for setting up the communications Function Setting Comments Baud rate 9600 factory default Settable from 1200 to 38400 Number of data bits 8 Fixed No parity N Fixed Number of stop bits 1 Fixed 3 COMMANDS 3 1 Command format The following is the command format to read the sensor output and board temperature XXYY start of string XX address YY command end of string a Data commands C...

Страница 4: ...ormation entered by the user 9984Z Zero unit to current position Ver 2 0 Zeroing 9984R Reset zero clears offset value Ver 2 0 Resetting zero 9988Rx x code for baud rate Code Rate 1 1200 2 2400 3 4800 4 9600 5 19200 6 38400 none 9989B Reset to factory defaults Address 99 Baud rate 9600 none Note There is a hardware reset if the baud and or address is unknown This is done by placing a short on R9 on...

Отзывы: