0623 Roselle Street, San Diego, CA 92121 C (858) 550-9559 C Fax (858) 550-7322 info@accesio.com C www.accesio.
Notice The information in this document is provided for reference only. ACCES does not assume any liability arising out of the application or use of the information or products described herein. This document may contain or reference inform ation a nd p rodu cts protected by copyrights or patents and does not convey any license under the patent rights of ACCES, nor the rights of others. IBM PC, PC /XT, and PC/AT are registered trademarks of the International Business Machines Corporation. Printed in USA.
Warranty Prior to shipment, ACCES equipment is thoroughly inspected and tested to applicable specifications. How ever, should equipment failure occur, ACCES assures its customers that prompt service and support will be available. All equipment originally manufactured by ACCES which is found to be defective will be repaired or replaced subject to the following considerations. Terms and Conditions If a unit is suspected of failure, contact ACCES' Custom er Service de partm ent.
Table of Contents Chapter 1: Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Figure 1-1: Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Chapter 2: Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter 1: Introduction Features • RS2 32 Serial Interface to Host Co m puter. • 900 MHz W ireless Connection Between Host Computer Modem and W M-IIRO-8. • 8 Optically-Isolated, Non-Polarized Digital Inputs with Change of State(COS) Detection. • 8 SPDT Electro-Mechanical Relay Outputs that Switch Up to 1 Amp Each. • Digital Outputs May Be Either Level or Pulsed. • Type 8031 Microcontroller w ith 8K R AM and 8K E EP ROM.
Figure 1-1: Block Diagram 6 Man ual W M-IIRO -8
Chapter 2: Installation POWER W M-IIRO -8 Plug the provide d AC wall adapto r to any stand ard A C w all outlet. W IRELESS SERIAL MODEM Lap tops : Desktops: Plug the provide d AC wall adapto r to any stand ard A C w all outlet. Ins tall th e provided two sectio n pow er cable. The Molex ~ DB 9-F c able section goes inside the host computer. The DB9-M ~ Modem cable goes outs ide the hos t com pute r. SERIAL COMMUNICATION Plug the provided DB9-F / Modem cable into one of the host computer’s COM Ports.
Chapter 3: Option Selection FILTER RESPONSE SWITCH Jumpers are used to select input filtering on a channel-by-channel basis. W hen jumper FLT0 is installed, additional filtering is introduced for input bit 0, FLT1 for bit 1, etc. This additional filtering must be used whe n AC inputs are a pplied.
Connections The signal assignment to each of the screw terminal board’s pins are as follows: ‘Isolated Input’ Terminal Block PCB Signal ‘Relay Outp ut’ Terminal Block PCB Signal 1 GND 1 Relay 7 - normally closed 2 GND 2 Relay 7 - comm on 3 +PWR* 3 Relay 7 - normally open 4 +PWR* 4 Relay 6 - normally closed 5 N/C 5 Relay 6 - comm on 6 N/C 6 Relay 6 - normally open 7 N/C 7 Relay 5 - normally closed 8 N/C 8 Relay 5 - comm on 9 N/C 9 Relay 5 - normally open 10 N/C 10 R
+PW R*: Power is power from a local power supply. The voltage can be anywhere from 7.5 VDC to 16 VDC. Higher local power, 24 VDC for example, can be used if an external zener diode is used to reduce the voltage applied to RIOD24. (See Temperature de-rating com m ents in the Specification sectio n of this manual under "Power Re quired".
Chapter 4: Software General You received ASII-based software on CD for use with W M-IIRO-8. ASCII programm ing permits you to write app lications in any high level language that supp orts A SC II string fu nction s. The comm unication protocol has two forms: addressed and non-addressed. Non-addressed protocol can be used when only one W M-IIRO-8 is in use. W hen more than one module (pod) is in use, addressed protocol must be used.
Command List I Ixx Oxx0xx Ox± Oxx± Ox±xx Oxx±xx Y Txx Dx± Dxx± Cxx or Rxx Ra ll V N H* BAUD=xxx POD=xx PROG RAM= D FASTDATA Re ad a ll 8 digital bits. Read a single digital bit. (00<=xx<=0 7) Ou tput all 8 digital bits.
Command Functions The following paragraphs give details of the command functions, describe what the comm ands cause, and give examples. Please note that all comm ands have an acknowledgment response. You m ust w ait for a resp ons e from a com m and befo re an othe r com m and is sen t. Read Digital Inputs I Ixx Re ad 8 bits Read bit number xx These comm ands read the digital input bits from the pod. All byte or word wide responses are sent m ost-s ignificant nibb le first. Exam ples: Re ad A LL 8 bits.
W rite zeros to every od d bit SEND: OAA RECEIVE: [CR] Read Change-of-state Y Re ad C OS bit. The pod can set a change-of-s tate flag for any input th at has been configured to do so. This comm and will read then reset that bit. Therefore, this comm and will always return "N[CR]" unless the T c om m and has first been u sed to enable cha nge -of-s tate detec t for an y given b it.
Read Digital Input Counter cxx Read digital input counter xx Tthis comm and will read how m any tim es b it xx ha s ch ang ed to its active state (as c onfigured with dx± or dx x±) since the last res et com m and (rxx). Input counters are configured as 16-bit counters. Counter conte nt is provided m ost s ignificant bit first. Outpu t return values are divided into two eight-bit counte rs.
Exam ple: Assum ing that the last comm and was "I", ask pod to resend last response SEND: n RECEIVE: FF[CR];or whatever the data was Note: This comm and may not be used for the FASTDATA comm and, as they exceed the 255 character limit. Use the "D" comm and to perform the sam e task for these three comm ands. Hello Message H* Hello message Any string of characters sta rting with "H " will be interpreted as this comm and. ("H[CR]" along is also acc epta ble.
Read and Store Digital Input Data FASTDATA Read digital bits 0-7 as fas t as possible These comm ands read the respective byte of d igital input data and store it in SRAM at the fastest poss ible rate: 21 microseconds between samples. The comm ands will store as much data as the pod can hold: R A M size -1KB yte. T ypically, th is is 7Kbyte s of da ta, h ow ever, a 32k RA M version is optionally available, which would provide 31Kbytes of data storage.
Error Codes The following error codes can be returned from the pod: 1: 3: 4: 9: Invalid channel number (too large, or n ot a num ber. All channel numbers m ust be between 00 and 17 , in hex. (0-24 decima l)) Im prop er Syntax. (Not enough para m eters is the usua l culprit) Channel number is invalid for this task (For example, if you try to output to a bit that is set as an input bit, this error code will occur) Parity error.
Chapter 5: Specification General • Connectivity: A serial cable connec ts the host com puter’s CO M po rt with ACC ES’s W M-D P-232 m odem , which in turn communicates with the WM-IIRO-8 via a 900 MHz wireless connection. • Intelligence: Type 8051 microcontroller family provides capability of • Protection: W atch dog Tim er circ uit • Mem ory: Up to 32k RAM & 32k EEPROM. • Size of NEMA4 box: 4.53" long by 3.54" wide by 2.17" high • W eight: 19.0 oz local control.
Isolated Inputs • Num ber: Eight • Type: Non-polarized, optically isolated from each other and from the com puter. (CMOS compatible) • Logic Input Low: -0.5 V to 0.8 V • Logic Input High: +3.0 V to +33.0 V • Isolation: 60V channel-to-ground or channel-to-channel • Input Resistance: 1.8K ohms in series with two diodes and an LED.
For example, at an ambient temperature of 25 °C., the voltage VI can be up to 15.9V . At an ambient temperature of 100°F (37.8°C), the voltage VI can be up to 14V. • Storage Tem perature Range: -20 °C. to +70 °C. • Hum idity: 5% to 95% RH non-condensing.
Customer Comments If you experience any problems with this manual or just want to give us som e fe edback , please em ail us at: m a nu als @ ac ce sio .c om . Please detail any errors you find and include your mailing address so that we can send you any manual updates. 10623 Roselle Street, San Diego CA 92121 Tel. (858)550-9559 FAX (858)550-7322 www.accesio.