ICP DASICP DAS reserves the right to change this manual at any time without notice. The information...
Transcript of ICP DASICP DAS reserves the right to change this manual at any time without notice. The information...
-
MMICON Hardware Manual ---- 1
MMICONHardware Manual
ICP DASIndustrial Computer Products
Data Acquisition System
-
MMICON Hardware Manual ---- 2
WarrantyAll 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.
WarningICP DAS assume 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.
CopyrightCopyright 1997 by ICP DAS. All rights are reserved.
TrademarkThe names used for identification only maybe registered trademarks of their
respective companies.
-
MMICON Hardware Manual ---- 3
Table of contents
1. INTRODUCTION.....................................................................................................................................4
1.1.1 Specifications ...............................................................................................................................6
1.1.2 Board Layout & Jumper Setting................................................................................................6
1.1.3 CN1: 5-24V DI and Power Input connector.............................................................................6
1.1.4 CN2 : 4*4 KBD input connector................................................................................................9
1.1.5 CN3 : RS232/RS485 connector................................................................................................10
1.1.6 VR1 : LCD Brightness Adjustment ..........................................................................................11
1.1.7 JP1 : VCOM Selection Connector ...........................................................................................11
1.1.8 J5,J6 : Frame Ground Selection Connector..........................................................................12
1.1.9 J7,J8 : RS232/RS485 Selection Connector............................................................................13
1.1.10 J9 : INIT State Selection Connector......................................................................................13
2. 5V-24V I/O INTERFACE APPLICATION........................................................................................14
2.1 DIO CONNECTION 1 : 24V NON-ISOLATED ...........................................................................................15
2.2 DIO CONNECTION 2 : 24V NON-ISOLATED ..........................................................................................16
2.3 DIO CONNECTION 3 : 24V ISOLATED ..................................................................................................17
2.4 DIO CONNECTION 4 : 5V ISOLATED ....................................................................................................18
3. PC RS232 INTERFACE APPLICATION.............................................................................................19
4. PLC RS232 INTERFACE APPLICATION .........................................................................................21
5. PC RS485 INTERFACE APPLICATION............................................................................................23
-
MMICON Hardware Manual ---- 4
1. Introduction
The MMICON is a compact size man-machine interface control board with a 4*4keyboard interface , a 240*64 dots graphics LCD interface ,a RS-232C or RS-485interface , 10 isolated digital input. This control board is designed to work with PC orPLC to implement a cost-effective man machine interface.
PC based user can use it to integrate a operator interface , instead of the regularmonitor and keyboard. The MMICON has RS-232C or RS-485 ( jumper selectable ) portto communicate with PC. The PC can send out command to change the display page orsend out the string to display on the specified location. The user should need a ND-6520(RS-232C/RS-485 converter) to implement a RS-485 network .The PC can control up to256 MMICON controllers in one 2-wire RS-485 network.
PLC user can use digital I/O port to communicate with the MMI-CON. The PLC sendthe page number through digital I/O and the MMI-CON will automatically display therelated image stored in EEPROM.
When the user use OMRON PLC ,he can use RS-232C to communicate with MMI-CON port. The PLC send the page number into the PLC internal data memory (DM). TheMMI-CON polls the data memory all the time and displays the value of the internal datamemory. The DM value can be mixed with the image stored in EEPROM . The inputvalue of the 4*4 KBD can be written into the data memory. Therefore it is also suitableas a man machine interface for PLC.
The user can edit the text and paint the Images using the utility in PC environment .The hex file can be programmed into the EEPROM by regular programmer.
The MMICON is a low cost man machine interface controller. The MMICONStarter-Kit is designed to demonstrate the function of MMICON. The Starter-Kitgives three demonstrations as following:
demo 1 : 5-24V digital I/O interface(for uP, PC or PLC I/O)(240*64 LCD*256 pages)
demo 2 : PC RS232 interface(240*64 LCD*256 pages+4x4 KBD + Function_Key*8)
demo 3 : Omron PLC RS232 interface (others soon)(240*64 LCD*256 pages+4x4 KBD + Function_Key*8)
-
MMICON Hardware Manual ---- 5
The MMICON can be applied to various application as following:
Application 1 : 5-24V digital I/O interface(for uP, PC, PLC I/O)(refer to Chap. 2)
Application 2 : PC RS232 interface àà refer to Chap. 3
Application 3 : PLC RS232 interface àà refer to Chap. 4
Application 4 : PC RS485 inteface àà refer to Chap. 5
Application 1 àà select MMICON mode 0 àà initial mode(with JP2 in INIT
position)
Application 2 àà select MMICON mode 1/2 àà (with JP2 in normal position)
Application 3 àà select MMICON mode 1 àà (with JP2 in normal position)
Application 4 àà select MMICON mode 3 àà (with JP2 in normal position)
Mode 0 : initial mode à with JP2 in INIT position Suitable for application 1
Module address = 00
Only in this mode can change to other mode
Mode 1 : PC RS232/RS485 mode à with JP2 in normal position Module address stored in MMICON internal eeprom (not LCD image EPROM)
Suitable for application 2 : PC RS232 interface(J7 in 1-2, J8 in 1-2)
Suitable for application 4 : PC RS485 interface(J7 in 2-3, J8 in 2-3)
KBD input will be stored in buffer until PC read
Mode 2 : PC RS232 mode à with JP2 in normal position Module address stored in MMICON internal eeprom (not LCD image EPROM)
Suitable for application 2 : PC RS232 interface(J7 in 1-2, and J8 in 1-2)
KBD input will return to PC immediately.
Mode 3: PLC RS232 mode à with JP2 in normal position Suitable for application 3 : PLC RS232 interface(J7 in 1-2 and J8 in 1-2)
Factory Setting :
(1) : JP2 in INIT position à mode 0
(2) : J7 in 1-2, J8 in 1-2
(3) : (if move JP2 to normal position à Mode 3)
Refer to “MMIDOS Software User Manual” for how to change operation mode.
-
MMICON Hardware Manual ---- 6
1.1.1 Specifications
Board dimension : 162 mm * 70 mm
LCD display area : 107.97 mm * 77 mm
LCD dots : 240 * 64 dots
EPROM size : 128K/256K/512K
DI input impedance : 3K
Power Requirement : 10V-30V DC, 1A
1.1.2 Board Layout & Jumper Setting
Board layout is given as following: (default setting)
J8
J7
J6J5JP1
J9MMICONnormalIinit state
CN1 CN2 CN3
VR1
1.1.3 CN1: 5-24V DI and Power Input connector
MMICON CN1
+10~30V
Ext Gnd
Ext Power
1
Ext VDI10
DI2DI4DI6DI8
DI1DI3DI5DI7DI9
2
20
-
MMICON Hardware Manual ---- 7
Pin Assignment of CN1.
Pin Assignment Description Pin Assignment Description
1 DI 1 2 DI 2
3 DI 3 4 DI 4
5 DI 5 6 DI 6
7 DI 7 8 DI 8
9 DI 9 10 DI 10
11 Ext V 12 Ext V
13 Ext Gnd 14 Ext Power
15 Ext Gnd 16 Ext Power
17 Ext Gnd 18 Ext Power
19 Ext Gnd 20 Ext Power
External Power : can be 10V to 30V
Block diagram of DI :
Vcom
DI(x)
Photo couple
+5VDigital input diagram
MMICON
Configuration 1 : single 10V-30V power supply (non-isolation ) (Refer Sec. 2.1/2.2)
MMICON CN1
1+10~30V
GND
Vcom=10V-30V
DI(x) can be relay contact
or open collector output
JP1
Vcom form
pin_13_20
-
MMICON Hardware Manual ---- 8
Configuration 2 : double 24V power supply (isolation input) (Refer to Sec. 2.3)
MMICON CN1
1
+10~30V
GND
24V
Configuration 3 : 5V TTL compatible DI (isolation input) (Refer to Sec. 2.4)
MMICON CN1
1
+10~30V
GND
5V
JP1
Vcom from
pin_11_12
JP1
Vcom from
pin_11_12
Vcom=24V
DI(x) can be relay contact
or open collector output
Vcom=5V
DI(x) can be TTL compatible signal
-
MMICON Hardware Manual ---- 9
1.1.4 CN2 : 4*4 KBD input connector
MMICON CN2
3
4
5
8
9
1
26
7
A0
A1
A2
A3D0
D1
D2
D3
Key switch
4*4 KBD definition in mode 3 (PLC-RS232)
4*4 KBD return code in mode 1/2/3 (PC-RS232/RS485)
KEY-CODE KEY NAME KEY-CODE KEY NAME KEY-CODE KEY NAME
0x01 0 0x11 ßß 0x20 Function-key10x02 . 0x12 àà 0x21 Function-key20x03 Enter 0x13 Enter 0x22 Function-key30x04 1 0x14 A 0x23 Function-key40x05 2 0x15 B 0x24 Function-key50x06 3 0x16 C 0x25 Function-key60x07 + 0x17 v 0x26 Function-key70x08 4 0x18 D 0x27 Function-key80x09 5 0x19 E0x0A 6 0x1A F0x0B - 0x1B ^0x0C 7 0x1C F10x0D 8 0x1D F20x0E 9 0x1E F30x0F Back
Space0x1F F4
-
MMICON Hardware Manual ---- 10
1.1.5 CN3 : RS232/RS485 connector
Pin assignment of CN3 :
1
2
3
4
5
6
7
8
9
MMICON CN3
RXD
TXD
GND
D-
D+
RS-232RS-485
RS232 connection for PC
1
2
3
4
5
6
7
8
9
1
2
3
4
5
6
7
8
9
MMICON CN3 PC RS-232
RS232 connection for PLC(Omron CQM1)
1
2
3
4
5
6
7
8
9
1
2
3
4
5
6
7
8
9
MMICON CN3 OMRON RS-232
J7
RS232
(default)
J8
RS232
(default)
J7
RS232
(default)
J8
RS232
(default)
-
MMICON Hardware Manual ---- 11
RS485 connection.
1
2
3
4
5
6
7
8
9
MMICON CN3
D-
D+
RS-485RS-485
1.1.6 VR1 : LCD Brightness Adjustment
Turn VR1 can change the brightness of LCD display.
1.1.7 JP1 : Vcom Selection Connector
Vcom is the common source of MMICON DI. The Vcom can be come from pin_11_12 of
CN1 of from pin 13-20 of CN1. There are various DIO connections introduced in Chapter
2 which will select the different Vcom configuration. Refer to Chapter 2 for details.
Block diagram of MMICON DI :
Vcom
DI(x)
Photo couple
+5VDigital input diagram
MMICON
J7
RS485
J8
RS485
-
MMICON Hardware Manual ---- 12
Pin assignment of CN1.
MMICON CN1
+10~30V
Ext Gnd
Ext Power
1
Ext VDI10
DI2DI4DI6DI8
DI1DI3DI5DI7DI9
2
20
Vcom : can be from pin_11_12 or pin_13_20
1.1.8 J5,J6 : Frame Ground Selection Connector
J5 : enable/disable the frame ground of CN2 connecting to GND of MMICON
J6 : enable/disable the frame ground of CN3 connecting to GND of MMICON
JP1
Vcom from
pin_13_20
(default)
JP1
J5
Vcom from
pin_11_12
disable
(default)
J5
enable
J6
disable
(default)
J6
enable
-
MMICON Hardware Manual ---- 13
1.1.9 J7,J8 : RS232/RS485 Selection Connector
1.1.10 J9 : INIT State Selection Connector
Select INIT position will force the MMICON go to initial state as following :
1. Module address=00
2. RS232 baudrate = 9600
3. Working in operation mode 0
4. Only this mode can change operation mode.
Refer to “MMIDOS Software User Manual” for details.
J9
INIT
(default)
J9
normal
J7
RS232
(default)
J8
RS232
(default)
J7
RS485
J8
RS485
-
MMICON Hardware Manual ---- 14
PLC
MMICON to uP, PC or PLC via digital I/O
(without RS-232C)Isolationdigitalinput
2. 5V-24V I/O Interface ApplicationJ9 must select INIT position.
uP àà use 5V TTL compatible DO (Sec. 2.4)PC based IO cards àà use 5V TTL compatible DO or 24V DO
(Sec. 2.1/2.2/2.3/2.4)PLC àà use 24V relay or open collector DO
(Sec. 2.1/2.2/2.3)
MMICON DI Block diagram :
Vcom
DI(x)
Photo couple
+5VDigital input diagram
MMICON
uP, PC, PLC DO change LCD page control diagram: DO1 to DO 8 à PAGE (0-255 )
DO 9 à trigger
-
MMICON Hardware Manual ---- 15
2.1 DIO Connection 1 : 24V non-Isolated
Single external power supply+PLC_relay_output+non-isolated-connection
DO1-DO8=Page
DO9=Trigger
MMICON CN1
+10~30V
Ext Gnd
Ext Power
1
Ext VDI10
DI2DI4DI6DI8
DI1DI3DI5DI7DI9
2
20
Relay(DO1,page)
Relay(DO2,page)
Relay (DO9,trigger)
Vcom
JP1
Select Vcom = pin_13_20
PLC(with relay output) MMICON(with default setting)
+24V
input
GND
input
External Power Supply
+24V
output
GND
output
-
MMICON Hardware Manual ---- 16
2.2 DIO Connection 2 : 24V non-Isolated
Single external power supply+PLC_O.C._output+non-isolated-connection
DO1-DO8=page
DO9=Trigger
MMICON CN1
+10~30V
Ext Gnd
Ext Power
1
Ext VDI10
DI2DI4DI6DI8
DI1DI3DI5DI7DI9
2
20
Open Collector(DO1)
Open Collector(DO2)
Open Collector (DO9,Trigger)
Vcom
JP1
Select Vcom = pin_13_20
PLC(with O.C. output) MMICON(with default setting)
+24V
input
GND
input
External Power Supply
+24V
output
GND
output
-
MMICON Hardware Manual ---- 17
2.3 DIO Connection 3 : 24V Isolated
Double external power supply+PLC_relay_output + isolated-connection
DO1-DO8=page
DO9=Trigger
MMICON CN1
+10~30V
Ext Gnd
Ext Power
1
Ext VDI10
DI2DI4DI6DI8
DI1DI3DI5DI7DI9
2
20
Relay(DO1)
Relay(DO2)
Relay (DO9,trigger)
Vcom
JP1
Select Vcom = pin_11_12
PLC(with relay output) MMICON(with JP1 changed)
+24V
input
GND
input
External Power Supply1+24Voutput
GND
outputExternal Power Supply2+24Voutput
GND
output
-
MMICON Hardware Manual ---- 18
2.4 DIO Connection 4 : 5V Isolated
Single external power supply+PC_TTL_output + isolated-connection
DO1-DO8=page
DO9=Trigger
MMICON CN1
+10~30V
Ext Gnd
Ext Power
1
Ext VDI10
DI2DI4DI6DI8
DI1DI3DI5DI7DI9
2
20
TTL (DO1)
TTL (DO2)
TTL (DO9,trigger)
Vcom
JP1
Select Vcom = pin_11_12
PC(with TTL output) MMICON(with JP1 changed)
+5V
outputt
GND
output
External Power Supply
+24V
output
GND
output
-
MMICON Hardware Manual ---- 19
RS-232C PC
4x4 KBD
MMICON to PC via RS-232C
Instead of the
regular monitor
and keyboard
3. PC RS232 Interface ApplicationJ9 must select normal position.
RS232 connection.
1
2
3
4
5
6
7
8
9
1
2
3
4
5
6
7
8
9
MMICON CN3 PC RS-232
4*4 KBD connection
MMICON CN2
3
4
5
8
9
1
26
7
A0
A1
A2
A3D0
D1
D2
D3
Key switch
Push botton
Ax
Dx
Function-Key * 8
J7
RS232
(default)
J8
RS232
(default)
-
MMICON Hardware Manual ---- 20
Function Key * 8 connection diagram.
Function Key 1
Function Key 2
Function Key 8
MMICON CN1
+10~30V
Ext Gnd
Ext Power
1
Ext VDI10
DI2DI4DI6DI8
DI1DI3DI5DI7DI9
2
20
Vcom
JP1
Select Vcom = pin_11_12
MMICON(with JP1 changed)
External Power Supply
+24V
output
GND
output
-
MMICON Hardware Manual ---- 21
MMICON to OMRON PLC via RS-232C
RS-232C
OMRON4x4 KBD
4. PLC RS232 Interface Application
J9 must select normal position.
RS232 connection for PLC(Omron CQM1)
1
2
3
4
5
6
7
8
9
1
2
3
4
5
6
7
8
9
MMICON CN3 OMRON RS-232
4*4 KBD connection
MMICON CN2
3
4
5
8
9
1
26
7
A0
A1
A2
A3D0
D1
D2
D3
Key switch
Push botton
Ax
Dx
Function_Keys * 8
J7
RS232
(default)
J8
RS232
(default)
-
MMICON Hardware Manual ---- 22
Function Key * 8 connection diagram.
Function Key 1
Function Key 2
Function Key 8
MMICON CN1
+10~30V
Ext Gnd
Ext Power
1
Ext VDI10
DI2DI4DI6DI8
DI1DI3DI5DI7DI9
2
20
Vcom
JP1
Select Vcom = pin_11_12
MMICON(with JP1 changed)
External Power Supply
+24V
output
GND
output
-
MMICON Hardware Manual ---- 23
ND-6520RS232C/485
RS-485
PC
MMICON to PC via RS-485 Network
RS-232C
ND-6000seriesA/D,D/A,D/I/O
MMICON-24x4 KBD
MMICON-34x4 KBD
MMICON-14x4 KBD
Function_Keys * 8
MMICON-255
5. PC RS485 Interface ApplicationJ9 must select normal position.
Function_Keys * 8
Function_Keys * 8
Function_Keys * 8
-
MMICON Hardware Manual ---- 24
RS485 connection.
1
2
3
4
5
6
7
8
9
MMICON CN3
D-
D+
RS-485RS-485
4*4 KBD connection
MMICON CN2
3
4
5
8
9
1
26
7
A0
A1
A2
A3D0
D1
D2
D3
Key switch
Push botton
Ax
Dx
J7
RS485
J8
RS485
-
MMICON Hardware Manual ---- 25
Function Key * 8 connection diagram.
Function Key 1
Function Key 2
Function Key 8
MMICON CN1
+10~30V
Ext Gnd
Ext Power
1
Ext VDI10
DI2DI4DI6DI8
DI1DI3DI5DI7DI9
2
20
Vcom
JP1
Select Vcom = pin_11_12
MMICON(with JP1 changed)
External Power Supply
+24V
output
GND
output