iView 100 User Manual

iVIEW
iVIEW----100
iVIEWiVIEW
Handheld
Handheld Controller
HandheldHandheld
100 Series
iVIEW-100/iVIEW-100-40
Controller
Controller Controller
Series
SeriesSeries
User’s Manual
Ver 2.0 / 2006/03
iVIEW-100 Series user’s Manual, 2006, v2.0 ----- 1
iVIEW
iVIEW----100 Series
iVIEWiVIEW
iVIEW-100/iVIEW-100-40
Handheld
Handheld Controller
HandheldHandheld
100 Series
100 Series100 Series
Controller
Controller Controller
User’s Manual
Warranty
All products manufactured by ICP DAS are warranted against defective materials for a period of one year from the date of delivery to the original purchaser.
Warning
ICP DAS assumes no liability for damages consequent to the use of this product. ICP DAS reserves the right to change this manual at any time without notice. The information furnished by ICP DAS is believed to be accurate and reliable. However, no responsibility is assumed by ICP DAS for its use, nor for any infringements of patents or other rights of third parties resulting from its use.
Copyright
Copyright© 2002~2006 by ICP DAS. All rights are reserved.
Trademark
The names used for identification only maybe registered trademarks of their respective companies.
iVIEW-100 Series user’s Manual, 2006, v2.0 ----- 2
Reference Guide 6
Table of Contents
CHAPTER 1. INTRODUCTION...................................................................7
1.1
P
1.2
1.3
1.4
1.5
ACKAGE LIST
I
VIEW-100 S
F
EATURES
S
PECIFICATIONS
C
ONTENTS OF
.......................................................................................................................................................... 7
ERIES
.................................................................................................................................................. 8
................................................................................................................................................................. 9
..................................................................................................................................................... 11
CD................................................................................................................................................... 12
CHAPTER 2. HARDWARE INFORMATION..........................................13
2.1
VIEW OF I
2.1.1 Front view......................................................................................................................................................... 13
2.1.2 Bottom view....................................................................................................................................................... 13
2.2
E
XPANDED PICTURE OF I
2.3
B
LOCK DIAGRAM OF I
2.4
P
IN ASSIGNMENT OF I
2.4.1 Pin assignment of Mini-DIN Connector ........................................................................................................... 16
2.4.2 Pin assignment of DB-15 Female Connector.................................................................................................... 17
2.5
P
IN ASSIGNMENT OF CABLES
VIEW-100 ............................................................................................................................................ 13
VIEW-100....................................................................................................................... 14
VIEW-100........................................................................................................................... 15
VIEW-100............................................................................................................................ 16
.................................................................................................................................. 18
2.5.1 Pin assignment of CA-M910 cable.................................................................................................................... 18
2.5.2 Pin assignment of CA-1509 cable..................................................................................................................... 19
2.6
W
IRING DIAGRAMS FOR APPLICATION
2.6.1 Connecting the COM1 (DB-9 Female connector of CA-1509) of iVIEW-100 to PC........................................ 21
2.6.2 Connecting COM2 (DB-9 Male connector of CA-1509) to PC ........................................................................ 22
2.6.3 Connect COM2 (DB-9 Male connector of CA-1509) to the COM1 Port of I-8000 series................................ 23
2.6.4 Connecting COM1 (DB-9 Female connector of CA-1509) to RS-232 Device.................................................. 24
2.6.5 Connect COM2 (DB-9 Male of CA-1509) to RS-232 Device............................................................................ 25
2.6.6 Connect COM2:RS-485 (DB-9 Male of CA-1509) to I-7000 & I-87K Remote I/O ......................................... 26
2.7
DI/DO
OPERATING PRINCIPLE
2.7.1 Digital inputs byte definition & wiring............................................................................................................. 28
2.7.2 Digital output definition & wiring: 2 Relay Outputs (default).......................................................................... 29
2.7.3 Digital output definition & wiring: 4 digital outputs........................................................................................ 30
2.7.4 DI/DO operating method .................................................................................................................................. 32
2.8
I/O
EXPANSION BUS &
2.9
C
OMPARISON TABLE
.............................................................................................................................................. 35
................................................................................................................................ 27
ODM
PROJECT
.................................................................................................................... 21
.................................................................................................................... 34
CHAPTER 3. GETTING START................................................................36
3.1
C
ONNECT TO POWER SUPPLY & HOST
iVIEW-100 Series user’s Manual, 2006, v2.0 ----- 3
-PC .............................................................................................................. 36
3.2
3.3
3.4
3.5
I
NSERT CD & INSTALL THE SOFTWARE
D
OWNLOAD PROGRAM TO I
E
XECUTE PROGRAM FROM
E
XECUTE PROGRAM IN I
...................................................................................................................38
VIEW-100 ...................................................................................................................40
PC................................................................................................................................. 43
VIEW-100 ........................................................................................................................ 46
3.5.1 Keypad usage .................................................................................................................................................... 46
3.5.2 Download program and execute in iVIEW-100 ................................................................................................51
3.6
A
UTO-EXECUTE PROGRAM IN I
VIEW-100..............................................................................................................53
CHAPTER 4. OPERATING SYSTEM - MINIOS7..................................54
4.1
D
EMO PROGRAMS OF MINI
4.2
M
INI
OS7 U
TILITY
...................................................................................................................................................55
4.2.1 Make MiniOS7 command .................................................................................................................................. 56
4.2.2 Toolbar and hot keys......................................................................................................................................... 57
4.3
T
YPICAL COMMANDS OF MINI
4.4
U
PGRADE MINI
4.5
7188XW.
4.5.1 7188xw.exe commands & hot key...................................................................................................................... 61
OS7................................................................................................................................................ 59
EXE UTILITY
OS7...............................................................................................................................54
OS7 ......................................................................................................................... 58
.............................................................................................................................................60
CHAPTER 5. LIBRARIES & COMPILER...............................................63
5.1
L
IBRARIES
5.1.1 iVIEWL.lib......................................................................................................................................................... 64
...............................................................................................................................................................63
5.1.2 LCD library: mmi100.lib...................................................................................................................................65
5.2
C
OMPILER & LINKER
5.2.1 Special settings and libraries information......................................................................................................... 66
5.2.2 Using Turbo C...................................................................................................................................................67
5.2.3 Using Turbo C++ .............................................................................................................................................70
...............................................................................................................................................66
CHAPTER 6. DEMO PROGRAMS............................................................77
6.1
D
EMO PROGRAMS LIST
6.2
D
ETAIL EXPLANATION FOR SOME DEMO PROGRAMS
6.2.1 Demo Keypad & LCD: Keypres.c ..................................................................................................................... 80
6.2.2 Demo all LCD functions: tsmi.c ........................................................................................................................82
6.2.3 Demo how to connect to I-7000 module: ts7065d3.c ........................................................................................ 86
6.3
L
OCAL LANGUAGE BITMAP SOLUTION
............................................................................................................................................77
...............................................................................................80
....................................................................................................................91
CHAPTER 7. OPERATION PRINCIPLES...............................................94
7.1
S
7.2
D
YSTEM MAPPING
OWNLOAD/DEBUG PROGRAM WITH
...................................................................................................................................................94
COM1...........................................................................................................96
7.3
7.4
U
SING
COM1
AS A
COM P
U
SING
COM2
FOR
RS-232 A
ORT
.............................................................................................................................. 97
PPLICATION
iVIEW-100 Series user’s Manual, 2006, v2.0 ----- 4
...............................................................................................................98
7.5
7.6
7.7
U
SING
COM2
FOR
RS-485 A
COM
PORT COMPARISON: I
H
OW TO USE
COM1/2......................................................................................................................................... 101
PPLICATION
VIEW-100 & PC....................................................................................................... 100
............................................................................................................... 99
7.7.1 How to use COM............................................................................................................................................. 101
7.7.2 How to print COM .......................................................................................................................................... 103
7.7.3 How to send command to I-7000 .................................................................................................................... 104
7.8
H
7.9
RTC & NVSRAM................................................................................................................................................ 106
7.10 U
7.11 W
OW TO USE FLASH MEMORY
SE
EEPROM...................................................................................................................................................... 107
ATCHDOG TIMER
............................................................................................................................................... 108
............................................................................................................................... 105
APPENDIX A. USER FUNCTION............................................................110
A.1. P A.2.
AGE INDEX FOR USER FUNCTION
I
VIEWL.
A.2.1 Type 1: Standard IO........................................................................................................................................ 113
A.2.2 Type 2: COM port........................................................................................................................................... 117
A.2.3 Type 3: EEPROM ........................................................................................................................................... 121
A.2.4 Type 4: NVRAM & RTC.................................................................................................................................. 124
A.2.5 Type 5: Flash Memory.................................................................................................................................... 127
A.2.6 Type 6: Timer & Watchdog Timer .................................................................................................................. 129
LIB
......................................................................................................................................................... 112
........................................................................................................................ 110
A.2.7 Type 7: file ...................................................................................................................................................... 138
A.2.8 Type 8: Connect to I-7000/I-87K series.......................................................................................................... 141
A.3.
MMI
100.
LIB
.......................................................................................................................................................... 144
A.3.1 Type 1: Initial & close LCD............................................................................................................................ 145
A.3.2 Type 2: Draw & BMP picture (pixel) ............................................................................................................. 147
A.3.3 Type 3: Text & icon (character) ..................................................................................................................... 149
A.3.4 Type 4: Cursor................................................................................................................................................ 152
A.3.5 Type 5: Page & bright .................................................................................................................................... 154
APPENDIX B. IVIEW.H & MMI100.H....................................................156
B.1.
I
VIEW.H.............................................................................................................................................................. 156
B.2.
MMI
100.H............................................................................................................................................................. 181
APPENDIX C. DIMENSIONS ...................................................................184
C.1. D C.2. D C.3. D
IMENSIONS OF I
IMENSIONS OF
IMENSIONS OF DAUGHTER BOARD
VIEW-100................................................................................................................................. 184
LCD ........................................................................................................................................... 185
...................................................................................................................... 186
C.4. D
IMENSIONS OF
CPU
BOARD
................................................................................................................................ 187
iVIEW-100 Series user’s Manual, 2006, v2.0 ----- 5
Reference Guide
MiniOS7 Operating Description
CD-ROM: \Napdos\MiniOS7\MiniOS7_2.0\”minios7.txt”
I-7000 Series IO Module Selection Guide
http://www.icpdas.com/products/Remote_IO/i-7000/i-7000_list.htm
7000 Series User’s manual
http://www.icpdas.com/download/7000/manual.htm
7188XA/B/C & 7521/2/3 Series User’s Manual
CD-ROM: \nopdos\7188XABC\7188XA/B/C\document\usermanual
8000 Series User’s manual
CD-ROM: \nopdos\8000\”8000manual.pdf”
8K & 87K Series IO Module Selection Guide
http://www.icpdas.com/products/PAC/i-8000/8000_IO_modules.htm
All the reference information is given in our website listed below:
http://www.icpdas.com/ http://www.icpdas.com/download/download-list.htm
iVIEW-100 Series user’s Manual, 2006, v2.0 ----- 6
Chapter 1. Introduction
1.1 Package List
Package List
The all-in-one pack of iVIEW-100 series includes the following items:
One iVIEW-100 series handheld controller One CA-M910 cable with 4 Di / 2 relay Do One CA-1509 cable with one RS-232 port, one RS-232/485 port, and
one power connect line
One user’s manual (this manual) One utility CD with Software drivers, demo programs & User’s Manual
Note
If any of these items are missing or damaged, contact the local distributors for more information. Save the shipping materials and cartons in case you want to ship in the future.
It is recommended to read README.TXT first. The README.TXT is given in the
CD\README.TXT. Some important information are provided in CD\README.TXT.
Ordering Information
iVIEW-100 Series Handheld Controller
iVIEW-100-40 CPU: 40MHz, Flash: 512k, SRAM: 512k iVIEW-100 CPU: 20MHz, Flash: 512k, SRAM: 512k
Optional Accessories for iVIEW-100
S-512 / S-256 512/256K battery backup SRAM Module DP-640 24V / 1.7 A DIN-Rail mounting power supply CA-1509 / CA-M910 cables for iVIEW-100 series
Call distributor or check web site: www.icpdas.com for more information.
iVIEW-100 Series user’s Manual, 2006, v2.0 ----- 7
1.2 iVIEW-100 Series
The iVIEW-100 is a compact handheld controller with low cost / high performance text/graphic LCD display, specially designed for industrial environment that requires high reliability and PC-compatibility.
The iVIEW-100, an all-in-one pack controller, can work independently with its own CPU, I/O Board, full keys Keypad, Text/Graphic LCD, inside buzzer and in-packed connecting cables to monitor and control the Data Inputs and Outputs.
The iVIEW-100-40, the representation of iVIEW-100 series, is powered by an 80188-40 CPU with 512K bytes of SRAM and 512K bytes of flash memory, and built in MiniOS7, RTC, NVSRAM and EEPROM. It supports optional battery backup memory for retaining more data. There are 4 DI, 4 DO (or 2 relay), 2 COM for RS232 / RS485 communication.
The iVIEW-100 can be also used as a HMI device for our I-7188 and I-8000 series embedded controller. Since the basic hardware design of iVIEW-100 series is similar to that of I-7188 series, all our available software can be used in iVIEW-100 series. User can design iVIEW-100 application with C Language. We are porting ISaGRAF software PLC to iVIEW-100-ISaGRAF for more programming options and providing iVIEW­100E with a 10/100 mega Ethernet port for internet.
iVIEW-100 Series
iVIEW-100 Handheld Controller, CPU:20MHz, Flash:512k, SRAM:512k
iVIEW-100-40 Handheld Controller, CPU:40MHz, Flash:512k, SRAM:512k
iVIEW-100-ISaGRAF
iVIEW-100E
iVIEW-100E-ISaGRAF
Handheld Controller, CPU:40MHz, Flash:512k, SRAM:512k with ISaGRAF software (available soon) Handheld Controller, CPU:40MHz, Flash:512k, SRAM:512k Ethernet port:10/100m (available soon) Handheld Controller, CPU:40MHz, Flash:512k, SRAM:512k Ethernet port:10/100m, with ISaGRAF software (available soon)
iVIEW-100 Series user’s Manual, 2006, v2.0 ----- 8
1.3 Features
LCD display
Provides 128x64 dots, 16x8 characters, 72x40 mm view area, STN, Yellow-
Green Backlight LCD
Shows text, number, real, Boolean icon, BMP graphic in the same page Draws pixel, line, box, Lamp icon Max to 48 pages.
Membrane keypad
Full numeric membrane keypad with number, character, direction, shift, enter,
BS, ESC, function keys
Handheld controller
Embedded CPU, 80188, 40MHz(for iVIEW-100-40) or 20MHz(for iVIEW-100) 512K SRAM & 512K Flash ROM MiniOS7 inside, support RTC time & date Built-in RTC, NVSRAM & EEPROM One buzzer inside C programmable
64-bit hardware unique serial number
Equipped with a 64-bit unique hardware serial number, each serial number is
distinct and individual. The application program can check this number for illegal copies. It is a low cost protection mechanism.
DI/O
Default has 4 digital inputs and 2 relay outputs connected with a Mini-DIN
connector (CA-M910).
Jumper selected to switch the output from 2 relay to 4 open collector output
channels via the internal jumper.
COM: RS232 & RS485
Built-in COM1:RS232, COM2:RS232/RS485 port, Max Speed up to 115200,
COM driver support interrupt & 1K QUEUE input buffer
iVIEW-100 Series user’s Manual, 2006, v2.0 ----- 9
Allows C programming which can be downloaded from PC through COM1 via
its in packed cable (CA-1509).
Connects up to 64 numbers of remote I/O modules, and combines host PC, and
power supply via its CA-1509 cable with one 5-wire RS-232 port, one RS­232/485 port, and one power connect line.
Real Time Clock
Supports Real time clock with time & date. RTC leap year compensation from
1980 to 2079.
Watchdog
Built-in watchdog timer for harsh environment. When iVIEW-100 is power-up,
the watchdog is enabled. It can reset the controller in 0.8 seconds.
Protection
Built-in power and RS-485 network protection circuit. A wide temperature endurance ranged from -30 up to +85 for the storage
temperature, and from -25 up to +75 for operating temperature.
Application
Provides particular C programming Libraries so that user can easily call the
functions to design their applications, such as using LCD, keypad, R/W COM port, EEPROM, RTC, I/O, FLASH memory, timer, watchdog, getting file system & connecting to I-7000…
Provides several solutions combined with our I-7188 and I-8000 controller to
control more DI/O even with different protocol.
ODM project
Supports user adding battery backup memory (S-256/ S-512) to retain more data. Customized I/O Expansion Boards can be ordered through ODM project for
user’s special need.
iVIEW-100 Series user’s Manual, 2006, v2.0 ----- 10
1.4 Specifications
ic membrane keypad with number, character, direction, shift, enter, BS, ESC,
upports compilers TC 1.0~3.0/TC++ 1.0~3.0/BC 2.0/BC++ 3.1~5.02/MSC 8.00c/MSVC++
Power supply Power requirements 10 to 30 VDC power, Consumption: 3.0 W Protection Built-in power protection and RS-485 network protection circuit General environment Operating temperature -25°C to +75°C Storage temperature -35°C to +85°C Humidity 5 to 90 % System CPU 80188, iVIEW-100-40: 40M Hz, iVIEW-100: 20M Hz SRAM 512K bytes Flash Memory 512K bytes, Erase unit is 64K bytes, 100,000 erase/write cycles OS MiniOS7 of ICP DAS (64K bytes) NVSRAM 31 bytes, battery backup, data valid up to 10 years EEPROM 2048 bytes, data retention > 100 years. 1,000,000 erase/write cycles Real time clock Gives time(sec, min, hour) & date, leap year compensation from 1980 to 2079 Watchdog timer Yes, Serial ports
COM1
COM2 Ethernet 10M/100M bps, provides in iVIEW-100E & iVIEW-100E-ISaGRAF only
DIO channel Input 4 digital input channels for 3.5V~30V
Output HMI interface LCD display
Keypad buzzer One internal buzzer
Development tool
C programming
Protocols Remote I/O User defined protocol User can write his own protocol applied at COM1, COM2
Battery backup SRAM S-256 / S-512 Case
Dimensions 181mm X 116mm X 42mm Weight 550g (375g when cables not included)
RS232 (5 pins): TXD,RXD,RTS,CTS,GND, Program download port. Speed: 115200 bps max. Double buffer RS232 (5 pins) / RS485 self-tuner, Speed: 115200 bps max. RS232: TXD,RXD,RTS,CTS,GND, RS485: Data+, Data-
2 relay outputs (default) for contact rating: 30 VDC/ 1A to 125 VDC/ 0.5A or 4 open collector outputs (jumper selected) for 30V / 100mA maxi load / per channel
128x64dots, 16x8 character, text / BMP graphic, STN, yellow-green back light LCD, View area: 72 X 40mm Full numer function keys
S
1.52. Provides C Lib functions for LCD, keypad, COM port, EEPROM, FLASH Memory, timer, watchdog, I/O, NVRAM, RTC, getting file system, connecting to I-7000… Program downloaded from PC via COM1
Supports I-7000 I/O modules & (I-87K base + I-87K serial I/O boards) as remote I/O. Max. 64 remote I/O module for one controller
Supports S-256:256K bytes and S-512:512K bytes optional battery backup SRAM for retaining data
iVIEW-100 Series user’s Manual, 2006, v2.0 ----- 11
1.5 Contents of CD
You can find all the iVIEW-100 series driver, manual & data files in the folder of
CD\
Napdos\iVIEW100, or you can reach to our FTP web site to find newly released information. Web site: http://www.icpdas.com/download/iVIEW-100_series.htm.
CD :
MiniOS7: driver, demo programs, utility software iVIEW-100 library files Source code of demo programs iVIEW-100 User’s Manual
References are given in ReadMe.txt in the CD
iVIEW-100 Series user’s Manual, 2006, v2.0 ----- 12
Chapter 2. Hardware Information
2.1 View of iVIEW-100
2.1.1 Front view
2.1.2 Bottom view
6
6
6
11
11
11
15
15
15
10
10
10
1
1
1
5
5
5
Mini-DIN Connector
iVIEW-100 Series user’s Manual, 2006, v2.0 ----- 13
DB-15 Female ConnectorMini-DIN Connector
DB-15 Female Connector
(1)
(2)
(3)
(4)
(5)
2.2 Expanded picture of iVIEW-100
iVIEW-
100
iViEW-100= Upper CASE(1)+LCD(2)+I/O Board(3) + CPU Board(4) + Lower CASE(5)
iVIEW-100 Series user’s Manual, 2006, v2.0 ----- 14
2.3 Block Diagram of iVIEW-100
COM1
RS-232
COM2
RS-232/RS-485
D/I,D/O
Circuitry
Membrane
Keypad
512K SRAM 512K Flash-ROM
80188-40
Watchdog timer
16 bits timer
RTC &
NVSRAM
EEPROM
(2K)
LCD
+10V to +30V
Power converter
iVIEW-100 Series user’s Manual, 2006, v2.0 ----- 15
2.4 Pin assignment of iVIEW-100
2.4.1 Pin assignment of Mini-DIN Connector
1
5
3 7
4
8
6
9
2
Mini-DIN Connector
Pin assignment of Mini-DIN connector:
Pin Name Description 1 DI1 2 DI2
Digital Input,3.5V~30V,channel1 Digital Input,3.5V~30V,channel2
3 DI3 4 DI4 5 DO PWR
Digital Input,3.5V~30V,channel3 Digital Input,3.5V~30V,channel4 Input Pin of external power supply for open collector output Note: no need for relay output
6 Relay1+
DO1
7 Relay1-
DO2
8 Relay2+
DO3
9 Relay2-
DO4
Relay 1 Output (default setting) N.O. Digital Output 1 (jumper setting)
Relay 1 Output (default setting) N.O. Digital Output 2 (jumper setting)
Relay 2 Output (default setting) N.O. Digital Output 3 (jumper setting)
Relay 2 Output (default setting) N.O. Digital Output 4 (jumper setting)
iVIEW-100 Series user’s Manual, 2006, v2.0 ----- 16
2.4.2 Pin assignment of DB-15 Female Connector
5
5
15
15
10
10
1
1
11
11
6
6
DB-15 Female Connector
Pin assignment of DB-15 Female Connector:
Pin Name Description 1 N/C 2 TXD1 TXD pin of COM1 (RS-232) 3 DATA+ DATA+ pin of COM2 (RS-485) 4 TXD2 TXD pin of COM2 (RS-232) 5 +VS V+ of power supply (+10 to +30VDC
unregulated)
6 INIT* Initial pin for ROM-DISK download 7 CTS1 CTS of COM1 (RS-232) 8 RTS1 RTS of COM1 (RS-232) 9 CTS2 CTS of COM2 (RS-232) 10 RTS2 RTS of COM2 (RS-232) 11 GND GND of power supply and COM1 12 RXD1 RXD pin of COM1 (RS-232) 13 DATA- DATA- pin of COM2 (RS-485) 14 RXD2 RXD pin of COM2 (RS-232) 15 GND GND of COM2
Note 1: COM1 ( DB-9 Female connector of CA-1518A) Note 2: COM2 ( DB-9 Male connector of CA-1518A)
iVIEW-100 Series user’s Manual, 2006, v2.0 ----- 17
2.5 Pin assignment of cables
2.5.1 Pin assignment of CA-M910 cable
1
1 2
2 3
3 4
4 5
5 6
6 7
7 8
8 9
9
10
10
1
1
5
5
3
3 7
7
4
4
2
2
8
8
6
6
9
9
White
White Gray
Gray Yellow
Yellow Brown
Brown Green
Green Black
Black
Light Blue
Light Blue
Red
Red Blue
Blue
Cable Shelding
Cable Shelding
Shielding
Pin Name Color Description 1 2 DI2 Gray
3 DI3 Yellow 4 DI4 Brown 5 DO PWR Green
6 Relay1+ 7 Relay1­8 Relay2+ 9 Relay2-
DI1 White
Black
DO1
Light
DO2
Blue Red
DO3
Blue
DO4
Digital Input,3.5V~30V,channel1 Digital Input,3.5V~30V,channel2
Digital Input,3.5V~30V,channel3 Digital Input,3.5V~30V,channel4 Input Pin of external power supply for open collector output Note: no need for relay output Relay 1 Output (default setting) N.O. Digital Output 1 (jumper setting) Relay 1 Output (default setting) N.O. Digital Output 2 (jumper setting) Relay 2 Output (default setting) N.O. Digital Output 3 (jumper setting) Relay 2 Output (default setting) N.O. Digital Output 4 (jumper setting)
Wiring:
Signal Ground: All digital inputs and outputs (except relay outputs) signal grounds are the same as the grounds of power used by the module.
iVIEW-100 Series user’s Manual, 2006, v2.0 ----- 18
2.5.2 Pin assignment of CA-1509 cable
CA-1509 cable
Connect to
iVIEW-100
DB-9 Female
Connector
DB-15 Male
Connector
DB15-Male
DB15-Male
DB-9 Male
Connector
Com1:RS232
Connect to host-PC
Com2:RS232/RS485
Red (24V+) Black (24V-)
White (*Init)
INIT *
INIT * 24V+
24V+ 24C-
24C-
1314
1314
1314
1314
1112
1112
1112
15
15
15
15
89
89
89
89
10
10
10
10
5
5
5
5
RTS2
RTS2 CTS2
CTS2
DATA-
DATA-
1112
67
67
67
67
12
12
12
12
34
34
34
34
DATA+
DATA+
1
1
1
6
6
6
2
2
2
7
7
7
3
3
3
8
8
8
4
4
4
GND
GND
9
9
9
5
5
5
DB9-Male
DB9-Male
(COM2)
(COM2)
RTS1
RTS1 CTS1
CTS1
RXD2
RXD2
TXD1
TXD1
GND
GND
5
5
5
9
9
9
4
4
4
RXD1
RXD1
8
8
8
3
3
3
7
7
7
TXD1
TXD1
2
2
2
6
6
6
1
1
1
DB9-Female
DB9-Female
(COM1)
(COM1)
iVIEW-100 Series user’s Manual, 2006, v2.0 ----- 19
Pin assignment of COM1 connector (DB-9 Female connector of CA-1509):
Pin Name Description
1 N/C 2 TXD Transmit Data 3 RXD Receive Data 4 N/C 5 GND Signal ground 6 N/C 7 CTS Clear To Send 8 RTS Request To Send 9 N/C
Pin assignment of COM2 connector (DB-9 Male connector of CA-
1509):
Pin Name Description
1 DATA+ DATA+ pin 2 RXD Receive Data
3 TXD Transmit Data 4 N/C 5 GND Signal ground 6 N/C 7 RTS Request To Send 8 CTS Clear To Send 9 DATA+ DATA- pin
iVIEW-100 Series user’s Manual, 2006, v2.0 ----- 20
2.6 Wiring diagrams for application
2.6.1 Connecting the COM1 (DB-9 Female connector of CA-1509) of iVIEW-100 to PC
Download Application Program
Download Application Program
from PC to iVIEW-100
F1
F1
F1
F1
PWR
PWR
PWR
PWR
RUN
RUN
RUN
RUN
Shift
Shift
Shift
Shift
1
1
1
1
GHI2JKL
GHI2JKL
GHI2JKL
GHI2JKL
4
4
4
4
PQRS
PQRS
PQRS
PQRS
7
7
7
7
+ - * /
+ - * /
+ - * /
+ - * /
F2
ABC
ABC
ABC
ABC
TUV9WXYZ
TUV9WXYZ
TUV9WXYZ
TUV9WXYZ
8
8
8
8 0 #
0 #
0 #
0 #
F8F5
F7F6
F8F5
F7F6
F8F5
F7F6
F8F5
F7F6
F4
F3F2
F4
F3F2
F4
F3
F4
F3F2
DEF
DEF
DEF
DEF
ESC
ESC
ESC
ESC
3
3
3
3
MNO
MNO
MNO
MNO
B.S.
B.S.
B.S.
B.S.
65
65
65
65
POWER SUPPLY
POWER SUPPLY
POWER SUPPLY
$ % ~
$ % ~
$ % ~
$ % ~
8
8
8
8
POWER SUPPLY
+10V~+30VDC
+10V~+30VDC
+10V~+30VDC
+10V~+30VDC
DB-9 Female
DB-9 Female
DB-9 Female
DB-9 Female
from PC to iVIEW-100
COM1
Connctor
Connctor
Connctor
Connctor
DB-15 Male Connector
DB-15 Male Connector
DB-15 Male Connector
DB-15 Male Connector
COM1/2 of
COM1/2 of
COM1/2 of
COM1/2 of
HOST COMPUTER
HOST COMPUTER
CA-1509
CA-1509
CA-1509
CA-1509
DB-9 Male Connector
DB-9 Male Connector
DB-9 Male Connector
DB-9 Male Connector
COM2
HOST COMPUTERHOST COMPUTER
Note:
The CA-1509 cable has a female DB-9 connector, a male DB-9 connector,
and a power cable.
The iVIEW-100 needs external power via power cable. Refer to Sec.2.5 for more information about the pin assignment of cable. Connect the female DB-9 connector to COM1/2 port of PC for downloading
an application program from PC.
iVIEW-100 Series user’s Manual, 2006, v2.0 ----- 21
2.6.2 Connecting COM2 (DB-9 Male connector of CA-1509)
CA-1509
to PC
F8F5
F7F6
F1
Shift
1
GHI2JKL
4
PQRS
7
+ - * /
PWR RUN
F4
F3F2
ABC
DEF
ESC
3
MNO
B.S.
65
TUV9WXYZ
8
$ % ~
0 #
DB-15 Male
Connector
POWER SUPPLY
+10V~+30VDC
DB-9 Female
Connector
COM1/2 of
CA-1518A
DB-15 Female
DB-9
HOST COMPUTER
Connector
COM1
COM2
DB-9 Male
Connector
DB-9 Female
DB-9DB-9
Connector
Note:
The CA-1509 cable has a female connector, a male DB-9 connector, and a
power cable.
The iVIEW-100 needs external power via power cable. Refer to Sec.2.5 for more information about the pin-assignment of cable Using a female-to-female cable as a bridge between PC and COM2 of CA-
1509, the lines of communication are as follows:
TxD(3) RxD(2) DTR(4)
TxD(3) RxD(2) DTR(4)
DSR(6) GND(5)
iVIEW-100 Series user’s Manual, 2006, v2.0 ----- 22
DSR(6) GND(5)
2.6.3 Connect COM2 (DB-9 Male connector of CA-1509)
CA-1509
to the COM1 Port of I-8000 series
F8F5
F7F6
PWR RUN
ABC
TUV9WXYZ
8 0 #
F4
F3F2
DEF
ESC
3
MNO
B.S.
65
$ % ~
DB15 Male Connector
POWER SUPPLY
+10V~+30VDC
841X/881X
DB9 Female
Connector
COM1(RS-232)
of 8000 series
F1
Shift
1
GHI2JKL
4
PQRS
7
+ - * /
CA-1518A
DB15 Female
DB-9
Connector
COM1
COM2
DB-9
Connector
DB9 Female
DB-9
Connector
DB9 Male
Note:
The CA-1509 cable has a female DB-9 connector, a male DB-9 connector,
and a power cable.
The iVIEW-100 needs external power via power cable. Refer to Sec.2.5 for more information about the pin-assignment of cable.
Using a female-to-female cable as a bridge between 8000 series’
COM1 port and COM2 of CA1509, the lines of communication are as follows:
TxD(3) RxD(2)
TxD(3)
RxD(2) DTR(4) DSR(6) GND(5)
iVIEW-100 Series user’s Manual, 2006, v2.0 ----- 23
DTR(4)
DSR(6)
GND(5)
2.6.4 Connecting COM1 (DB-9 Female connector of CA-
CA-1509
1509) to RS-232 Device
F8F5
F7F6
F1
PWR RUN
Shift
1
GHI2JKL
4
PQRS
7
+ - * /
F4
F3F2
ABC
DEF
ESC
3
MNO
B.S.
65
TUV9WXYZ
8
$ % ~
0 #
DB-15 Male
Connector
POWER SUPPLY
+10V~+30VDC
DB-9 Female
Connector
COM1
RS-232 DEVICE
CA-1518A
DB-9 Male
Connector
COM2
Note:
The CA-1509 cable has a female DB-9 connector, a male DB-9 connector,
and a power cable.
The iVIEW-100 needs external power via power cable. Refer to Sec.2.5 for more information about the pin assignment of cable.
Connect the DB-9 Female to COM port of RS-232 devices
iVIEW-100 Series user’s Manual, 2006, v2.0 ----- 24
2.6.5
CA-1509
Device
Connect COM2 (DB-9 Male of CA-1509) to RS-232
F8F 5
F7F6
F1
PWR RUN
Shift
1
GHI2JKL
4
PQRS
7
+ - * /
F4
F3F2
ABC
DEF
ESC
3
MNO
B.S.
65
TUV9WXYZ
8
$ % ~
0 #
DB-15 Male
Connector
POWER SUPPLY
+10V~+30VDC
DB-9 Female
Connector
RS-232
DEVICE
CA-1518A
COM1
DB-15 Female
DB-9
Connector
COM2
DB-9 Male Connector
DB-9 Female
Connector
Note:
The CA-1509 cable has a female DB-9 connector, a male DB-9 connector,
and a power cable.
The iVIEW-100 needs external power via power cable. Refer to Sec.2.5 for more information about the pin assignment of cable. Using a female-to-female cable as a bridge between RS-232 device’s COM
port and COM2 of CA-1509, the lines of communications are as follows:
TxD(3)
TxD(3)
RxD(2) DTR(4) DSR(6) GND(5)
RxD(2) DTR(4) DSR(6) GND(5)
iVIEW-100 Series user’s Manual, 2006, v2.0 ----- 25
2.6.6
iVIEW
-
100
& 9
Connect COM2:RS-485 (DB-9 Male of CA-1509) to
I-7000 & I-87K Remote I/O
DB-15 Male
DB-9 Female, COM1
CA-1509
iVIEW-100 Pin 1
to Data+ & Data-
DB-9 Male
COM2
Red(24V+)
I-87K Remote I/O
I-87K4
Black(24V-)
White(*Init)
I-7000
Note:
The CA-1509 cable has a female DB-9 connector, a male DB-9 connector,
and a power cable.
The iVIEW-100 needs external power via power cable. Refer to Sec.2.5 for more information about the pin assignment of cable.
Connect iVIEW-100 Pin 1 & 9 to the Data+ & Data- of I-7000 or I-87K remote I/O. The communication of lines is as follow:
iVIEW-100 I-7000 I-87K IO Pin1 Data+ Data+
Pin9 Data- Data-
iVIEW-100 Series user’s Manual, 2006, v2.0 ----- 26
2.7 DI/DO operating principle
The iVIEW-100 has 4 digital inputs and 4 digital outputs. The 4 digital outputs can be configured as 2 relay outputs by pin assignment. The default setting is relay type.
Here is the pin configuration:
8:9:Relay 2 output
1
2
6 8 5 3
9
4
7
6:7:Relay 1 output 5:VCC 4:DI4 3:DI3 2:DI2 1:DI1
If it is configured as a 4 digital outputs, pin configuration will be:
9:DO4 8:DO3
2
1
7:DO2 6:DO1
6 8 5 3
5:VCC 4: DI 4
9
4
7
3: DI 3 2: DI 2 1: DI 1
Wiring:
Signal Ground: All digital inputs and outputs (except relay outputs) signal grounds are the same as the grounds of power used by the module.
iVIEW-100 Series user’s Manual, 2006, v2.0 ----- 27
2.7.1 Digital inputs byte definition & wiring
DI byte definition is as follows:
Bit 8 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1
DI2
DI3
DI4 Relay 1 output state Relay 2 output state Test7: signal from outport bit 7 Test8: signal from outport bit 8
Wiring:
DI1
Signal Ground: All digital inputs and outputs (except relay outputs) signal grounds are the same as the grounds of power used by the module.
iVIEW-100
+5V
DI
block diagram
If Pin 1,2,3, or 4 is float ( without connect any line), then input value is “1”. If pin is connected to ground, the input value is “0”.
iVIEW-100 Series user’s Manual, 2006, v2.0 ----- 28
2.7.2 Digital output definition & wiring: 2 Relay Outputs (default)
DO byte definition:
Bit 8 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1
X
X
X
X
Relay 1
Relay 2
Test 7
Test 8
Wiring
N.O
iVIEW-100
relay 1
relay 2
block diagram
.
6 7
8 9
iVIEW-100 Series user’s Manual, 2006, v2.0 ----- 29
2.7.3 Digital output definition & wiring: 4 digital outputs
1
DO byte definition:
Bit 8 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1
DO1
DO2
DO3
DO4
X
X
Test 7
Test 8
Wiring: Signal Ground: All digital inputs and outputs (except relay output)
signal grounds are the same as the Power ground. Jumper setting: This kind of DO needs to re-config jumper setting.
Please change jumper settings to the following (default setting is 1-2 short for relay output):
J12 J11 J10 J9 J8
iVIEW-100 Series user’s Manual, 2006, v2.0 ----- 30
Loading...
+ 157 hidden pages