Acromag 901MB Скачать руководство пользователя страница 8

       BusWorks

  

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

       ___________________________________________________________________________________________ 

- 8 - 

 

Model 903MB-0900 Register Map…continued 

Ref 

Addr. 

Description 

Data Type/Format 

Holding Registers (4x References, Read/Write)

 

4

0009 

(0008) 

Port 2 
(CH 8-11) 
Timeout 
State 
(902MB and 
903MB Only) 
 

Default= 
65535, 
Disabled.

 

The four lower order bits of 
this 16-bit register value 
define the state the output 
channels of the port will be 
programmed to following a 
watchdog timeout. Bit 0 
corresponds to channel 8, 
bit 1 to channel 9, bit 2 to 
channel 10, and bit 3 to 
channel 11.  Write 65535 
(FFFFH) to this register to 
leave the outputs 
unchanged following a 
timeout (this is also the 
default value). 

4

0010 

(0009) 

Response 
Delay Time 
(Turnaround 
Delay) 

 
Default=0, 
No Delay

 

Can be set from 0 to 65500 
ticks (1 tick = 1.085us).  
This is the additional delay 
the module will wait before 
responding to a message 
from the host.  Increase 
this value if you have 
trouble communicating with 
the module or you 
encounter a high degree of 
error messages. 

4

0011 

10 

(000A) 

Alternate 
Method of 
Module 
Reset 

 

Writing 41429 (A1D5H) to 
this register will cause a 
module reset.  This is 
provided as an alternate 
method of Reset for 
software that does not 
support the Reset Slave 
(08) command. 
 
After a reset, this register 
reads 0 (no reset).   
 
This register is not 
maintained in EEPROM. 

41001 



This block 
mirrors 
1xxxx 
registers. 

Refer to Note 3.  1xxxx 
Discrete Input Registers 
are mapped to the 41xxx 
Holding Register space 
using an address offset of 
41000. 

42001 



This block 
mirrors 
0xxxx 
registers. 

Refer to Note 3.  0xxxx Coil 
Registers are mapped to 
the 42xxx Holding Register 
space using an address 
offset of 42000. 

43001 



This block 
mirrors 
3xxxx 
registers. 

Refer to Note 2.  3xxxx 
Input registers are mapped 
to the 43xxx Holding 
Register space using an 
address offset of 43000. 

 

Notes (Register Map): 

1. 

Configuration variables stored in holding registers (4xxxx 
reference addresses) are maintained in EEPROM except as 
noted.  Changes to these register parameters do not take 
effect until the next software or power-on reset of the 
module. 

 
Notes (Register Map)…continued: 

2. 

For your convenience, this module mirrors the contents and 
operation of 3xxxx registers into 43xxx holding register 
space for systems and controllers that cannot directly 
access 3xxxx registers.  That is, the 3xxxx registers of this 
model can be written to, or read from, using either the 
standard methods described in the Modbus specification, or 
through 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 Holding Registers, you 
would use the “Read Holding Registers” function with an 
address of 43001. 

3. 

For modules with a firmware revision later than G (as in 
9300-029G of 901MB, 9300-030G of 902MB, and 9300-
031G of 903MB), the mirroring function as described in Note 
2 is augmented as follows (0xxxx also maps to 42xxx space, 
and 1xxxx also maps to 41xxx space): 

 

For 1xxxx Input Status Registers (where supported), the 
return data is reformatted to match the Holding Register 
format.  For example, if you request Input Status for 12 
digital inputs, instead of getting 2 bytes returned with the 
first 12 bits representing 12 digital inputs, you will get 12 
separate words (2 bytes) instead, with each set to 0000H 
(OFF) or FFFFH (ON). 

 
For 0xxxx Coil Registers (where supported), reads are 
handled in the same way as noted for 1xxxx Input Status 
Registers.  That is, you may write to the coil registers using 
the “Preset Single Register” function with an address offset 
of 42000.  Setting the data to 0000H will turn the coil OFF, 
while setting the data to FF00H will turn the coil ON. 

 
AN INTRODUCTION TO MODBUS 

 

The Modbus protocol provides an industry standard method 

that Series 900MB modules use for parsing messages.  Modbus 
devices communicate using a master-slave technique in which 
only one device (the master) can initiate transactions (called 
queries).  The other devices (slaves) respond by supplying the 
requested data to the master, or by taking the action requested in 
the query.  The Series 900MB modules are slaves, while a typical 
master device is a host computer running appropriate application 
software.  Masters can address individual slaves, or can initiate a 
broadcast message to all slaves.  Slaves return a response to all 
queries that are addressed to them individually, but no response 
is returned to broadcast queries from a master device. 
 

Remote Terminal Unit (RTU) Mode 

 

The Series 900MB modules use the widely accepted Modbus 

network protocol in the RTU (Remote Terminal Unit) serial 
transmission mode.  In RTU mode, each 8-bit message byte 
contains two 4-bit hexadecimal characters, and the message is 
transmitted in a continuous stream.  The format for each byte in 
RTU mode is outlined below: 
 

RTU Mode Byte Format 

Coding System 

8-bit binary, hexadecimal 0-9, A-F, two 
hexadecimal characters contained in each 
8-bit field of the message. 

Bits Per Byte 

1 start bit + 8 data bits, lsb sent first + 1bit 
for even/odd parity or no bit for no  
1 stop bit if parity is used, or 1 or 2 stop 
bits with no parity. 

Error Check Field 

Cyclical Redundancy Check (CRC) 

Содержание 901MB

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Отзывы: