background image

 BusWorks

 Model 903MB/902MB/901MB Network I/O Module User’s Manual                                        Digital I/O 

___________________________________________________________________________________________ 
 

 - 23 - 

Host Communication 

Set via the Settings pull-down menu 

Host – Communications Port:  

COM1-COM4 can be selected 

via the scroll window, or you can type in any COM port from 
COM1 to COM99. 

Host – Baud Rate:

  Select 2400, 4800, 9600 (default), 14400, 

19200, 28800, 38400, 57600, 76800, or 115200 bits per 
second. 

Host – Parity:

  Select Even, Odd, or None (See Parity Checking) 

for error checking.  The odd or even parity bit is followed by 1 
stop bit.  If None is selected,  1 or 2 stop bits are used. 

Host – Slave Address:

  Select a valid slave address in the range 

of 1-247 (01H-F7H).  Address 247 is used to address a slave 
in the default mode. 

Host – Update Communication Settings at Download:

  Used 

to cause the host software to automatically change its 
communication parameters to match those set at the 
connected module following a download to it. 

 

Slave Communication 
Slave – ID:  

The Report Slave ID command will return the model 

number, run on/off status, firmware/model string, and module 
serial number. 

Slave – Reset:  

This command is used to trigger a reset of the 

module and its effect is equivalent to a power-on reset.  An 
alternate method of resetting a module can be accomplished 
via a write to the Calibration Access & Reset Register (see 
Reset Register 40011).  This is provided to accomplish reset 
with software that does not support the Reset Slave 
command. 

Slave – Address:

  Select valid slave addresses in the range of 1-

247 (01H-F7H).  Address 247 is the default mode slave 
address. 

Slave – Baud Rate:

  Select 2400, 4800, 9600 (default), 14400, 

19200, 28800, 38400, 57600, 76800, or 115200 bits per 
second. 

Slave – Parity:

  Select Even, Odd, or No Parity (See Parity 

Checking) error checking.  Odd or even parity bit is followed 
by 1 stop bit.  If no parity is selected, 1 or 2 stop bits are 
used. 

Slave - Response Delay:  

Can be set from 0-65500 ticks (1 tick 

= 1.085us) and refers to the additional delay a module will 
wait before it sends its response to a message from the host.  
Some signal converters or host/software systems cannot 
accept a response to a message immediately after sending 
the message without additional delay.

 

Slave – Status:

  The Module Status Register can be used to 

determine the internal flash or EEPROM checksum error 
status.  It also includes port watchdog timeout flags. 

Slave – Watchdog:

  A watchdog timer may be applied to each 

I/O port of this module (port 0 = I/O channels 0-3, port 1 = I/O 
channels 4-7, port 2 = I/O channels 8-11).  Use the Port 
Watchdog Time Register to select a timeout period from 1 to 
65534 seconds (18.2 hours).  A time of 65535 (FFFFH) will 
disable the watchdog timer for the port.  Use the Port 
Timeout State Register to define the states that the outputs 
of the port are to be programmed to upon timeout.  The four 
lower order bits of this register value define the timeout states 
of each of the port output channels.  Writing 65535 (FFFFH) 
to this register will leave the port outputs unchanged upon 
timeout.  A port watchdog fault indication flag (bits 2-0 of the 
Module Status register) will be set if any of the port output 
channels have not been written to over the specified time 
period, or if any of the port input channels have not been read 
over the specified time period.  

          In addition, the module status LED will blink rapidly if a 

watchdog timeout occurs (Note: A slow blink rate indicates 
the module is in the default communication mode and a 
timeout may temporarily mask default mode indication).  The 
port watchdog timer is reinitiated via a read or write to any 
input/output channel of the same port.

 

 

Digital Input 

No Channel Configuration Required. 

Input – Read State:

  Use the Read Input Status Command to 

read the status of the input/output channels.  Note that the 
Read Input Status command will also reinitiate the port 
watchdog timer if enabled. 

Input – Indication:

  The current input state is indicated by a 

yellow status LED at the front of the module—LED is ON 
when input is low (or tandem output is sinking current), and 
OFF when input is high (or tandem output not conducting). 

 
Digital Outputs 

No Channel Configuration Required. 

Output – Read State:

  Use the Read Coil Status Command to 

read the status of the output channels.  This is equivalent to a 
read of the gate signal of the n-channel mosfet driving the 
output.  As such, it may not reflect the actual output state if 
the output is not pulled-up or has no excitation. 

Output – Write State:

  Use the Force Single Coil command or 

Force Multiple Coils command to turn the outputs ON or 
OFF.  Note that the Force Coil commands will also reinitiate 
the port watchdog timer if enabled. 

Output – Indication:

  The current output state is indicated by a 

yellow status LED at the front of the module—LED is ON 
when output is ON or sinking current. 

Output – Timeout State:

  Use the Port Timeout State Register 

to define the states the outputs of the port are to be 
programmed to upon watchdog timeout.  The four lower order 
bits of this 16-bit value define the timeout states of each of 
the port output channels.  Writing 65535 (FFFFH) to this 
register will leave the port outputs unchanged upon timeout.  
Note that clearing a timeout via a read or write to any port I/O 
channel does not return the output to its pre-timeout state.  
The output remains in its timeout state until otherwise written. 

 

Other Modbus Configuration Software Capabilities 
 

In addition to configuring all features of the module described 

above, the Modbus Configuration Software includes additional 
capabilities for testing and control of this module as follows: 
 
1. 

Monitors the discrete I/O signal states and watchdog status.  
Allows discrete outputs to be turned on or off.  It also allows 
polling to be turned on or off.   

2. 

Allows a configuration to be uploaded or downloaded to/from 
the module via the RS485 interface. 

3. 

Provides controls to reset a module. 

4. 

Reads the contents of the Module Status Register. 

5. 

Allows optional user documentation to be saved with a 
module file.  Documentation fields are provided for tag 
number, comment, configured by, location, and identification 
information.  This information can also be uploaded from the 
module and printed via this software. 

6. 

Allows a module’s complete configuration to be printed in an 
easy to read, single-page format, including user 
documentation. 

Summary of Contents for 901MB

Page 1: ...t With Sinking Outputs And Active Low Inputs USER S MANUAL ACROMAG INCORPORATED 30765 South Wixom Road P O BOX 437 Wixom MI 48393 7037 U S A Tel 248 295 0880 Fax 248 624 9234 Copyright 2000 Acromag In...

Page 2: ...ning any type of control or monitoring system This is especially important where economic property loss or human life is involved It is important that the user employ satisfactory overall system desig...

Page 3: ...m with open drain outputs for convenient loopback monitoring of the output state High Speed Data Rates Supports half duplex RS485 baud rates up to 115K baud Key 903MB Module Features continued Conveni...

Page 4: ...LE INSTALLATION This transmitter module is packaged in a general purpose plastic enclosure Use an auxiliary enclosure to protect the unit in unfavorable environments or vulnerable locations or to main...

Page 5: ...ck wire insulation 1 4 inch on each lead before installing into the terminal block Since common mode voltages can exist on signal wiring adequate wire insulation should be used and proper wiring pract...

Page 6: ...s not require advanced familiarity with the Modbus protocol REGISTER MAP Modbus registers are organized into the following reference types identified by the leading number of the reference address Ref...

Page 7: ...bps Default 3 14400bps 4 19200bps 5 28800bps 6 38400bps 7 57600bps 8 76800bps 9 115200bps 40003 2 0002 Parity Default 0 None 0 None 1 or 2 stop bits 1 Odd Parity Checking 2 Even Parity Checking Model...

Page 8: ...mapping mirroring to the Holding Register space The format of the registers are identical and you only need to offset your address by 43000 For example if you want to read Input Register 1 through the...

Page 9: ...itional stop bit is normally transmitted to fill out the character frame for no parity Acromag units will accept one or two stop bits with no parity Modbus Addresses The master device addresses a spec...

Page 10: ...s Example Response Field Name Example Value Hex Slave Address 247 F7 Function Code 1 01 Byte Count 2 02 Data Coils 7 0 170 AA Data Coils 11 08 10 0A Error Check LRC or CRC To summarize the status of c...

Page 11: ...mmarize the contents of register 40001 two bytes is slave address 247 00F7H The contents of register 40002 two bytes is the baud rate setting 2 9600bps The contents of register 40003 is the parity set...

Page 12: ...t No response is returned to broadcast queries from a master device Force Multiple Coils 15 902MB 903MB Models Only This command will simultaneously force a sequence of coils 0x reference addresses ei...

Page 13: ...ta High Third Reg 0 00 Preset Data Low Third Reg 2 02 Error Check LRC or CRC Preset Multiple Registers Example Response Field Name Example Value Hex Slave Address 247 F7 Function Code 16 10 Starting R...

Page 14: ...6 bit signed integer value representing an A D count a DAC count or a time value with a range of 32768 to 32767 Percentage A 16 bit signed integer value with resolution of 0 005 lsb 20000 is used to r...

Page 15: ...nt a timeout error from occurring in the master 06 Slave Device Busy The slave is engaged in processing a long duration program command The master should retransmit the message later when the slave is...

Page 16: ...tly loaded configuration file Use File Print Preview to view the current configuration or preview the print documentation Use File Print Setup to select a printer and font style Module Upload Configur...

Page 17: ...g download Select from 1 to 247 Address 247 is reserved for Default Mode Use the Baud Rate scroll bar to select a new baud rate to be used by the module following download Select 2400 4800 9600 Defaul...

Page 18: ...k monitoring of the output state The source leads of each port output channel are tied in common to the port return lead RTN The drain leads are pulled up to the port excitation terminal via resistor...

Page 19: ...f each module Please refer to Acromag s Service Policy Bulletin or contact Acromag for complete details on how to obtain service parts and repair PRELIMINARY SERVICE PROCEDURE Before beginning repair...

Page 20: ...only Observe proper polarity Inputs include transient suppression devices and series connected 100K resistors plus diode over voltage clamps to the internal 5V supply Sockets are provided for installa...

Page 21: ...vision 2 Groups A B C D Consult Factory ENVIRONMENTAL SPECIFICATIONS Operating Temperature 25 C to 70 C 13 F to 158 F Storage Temperature 40 C to 85 C 40 F to 185 F Relative Humidity 5 to 95 non conde...

Page 22: ...ect outside of Default Mode until a software or power on reset has occurred Watchdog Timer A hardware watchdog timer is built into the microcontroller that causes it to initiate a self reset if the co...

Page 23: ...cation flag bits 2 0 of the Module Status register will be set if any of the port output channels have not been written to over the specified time period or if any of the port input channels have not...

Page 24: ...EXC1 100K SIP RES SOCKET INPUT BUFFER CONTROLS MULTIPLEXER 5V 5V 5V MICRO 100K 100K 5V STATUS LED 100K 100K 100K 100K INTEGRATED OUTPUT CONTROLS 5V PWR LED DEFAULT MODE SWITCH PUSH FOR DEFAULT MODE U...

Page 25: ...5 CH 3 42 CH 8 TB2 TB2 21 EXC2 23 CH 5 34 D 24 26 RTN 31 COM TB4 PWR D B A TB3 TB4 PWR D TB3 RS232 PORT COM 11 12 CJC 0 45 RTN OUT3 TB1 15 IN1 TB2 42 OUT1 TB3 COM TB2 23 26 25 IN2 IN3 IN3 INPUTS 2 3 3...

Page 26: ...FLASHES IN DEFAULT MODE PUSH FOR DEFAULT MODE DFT 9 8 7 6 ON WHEN OUTPUT CONDUCTING OR WHEN INPUT LOW DIGITAL CHANNELS STATUS LED YELLOW RUN PWR LED GREEN TB4 ST RUN Acromag DEFAULT MODE SWITCH SHIELD...

Page 27: ...OUTPUT IS OFF 0 FOR INPUT ONLY UNITS MODEL 901MB 0900 902MB 0900 903MB 0900 PAGE 3 OF 4 ELECTRICAL CONNECTIONS LED V 902MB 903MB OFF ON TO OTHER 3 CHAN OF PORT 100K I O RTN SOLID STATE RELAY SSR OR L...

Page 28: ...CTED TO EARTH GROUND AT THE SAME POINT TO AVOID CIRCULATING GROUND CURRENTS NOTE 2 DIODE ADDED LOCAL TO INDUCTIVE LOAD TO SHUNT THE REVERSE EMF THAT IS GENERATED WHEN CURRENT THROUGH THE INDUCTOR RELA...

Reviews: