Transcript
2007005 REV 2
DEVELOPMENT PACKAGE DATA SHEET
PLC on a Chip Patent 7,299,099
PLCDK-03 Divelbiss Corporation 9778 Mt. Gilead Rd. Fredericktown, Ohio 43019
1-800-245-2327 http://www.divelbiss.com http://www.plconachip.com
PLCDK-03 PLC on a Chip Development Package Datasheet
Table of Contents Getting Started What’s Included in the Development Package Enabling the Battery Other Support Information Main Board Diagram
Page Page Page Page
4 4 4 5
Main Board Features Input Power Serial Ports Analog Inputs CAN Ports I/O Assignments Installing / Removing I/O Modules Installing / Removing the PLC on a Chip Module Connecting I/O Input Connections Output Connections Counter Inputs High Density I/O Interface Real Time Clock LCD Display & Keypad Additional Expansion Ports - Connector P47 Additional Expansion Ports - Connector P48
2
Page 7 Pages 7-8 Page 8 Page 9 Pages 9-10 Pages 10-11 Page 11 Pages 12-13 Page 12 Page 13 Page 14 Page 14 Page 15 Page 15 Page 16 Page 16
Getting Started
3
PLCDK-03 PLC on a Chip Development Package Datasheet
What’s Included in the Development Package The PLC on a Chip Development Package provides all the basic components needed to begin to use a PLC on a Chip product in your design. This package includes the necessary hardware and software. Two CDs are included. The first is the EZ LADDER software and the second is the Development Package CD. Included on this CD is the a complete library of documents including circuit design guidelines and PCB layout guidelines.
What’s in the Box:
Qty 1 1 4 4 4 4 2 1 1 1 1
Description PLC on a Chip Module Development Kit Main Board 110VAC Input Module 12-24VDC Input Module 12-24VDC Output Module 110VAC Output Module Relay Output Module Development Package CD EZ Ladder CD Power Pack PLC on a Chip DevKit Datasheet
Optional (1 of the following): 1 2x20 LCD Display with Keypad 1 2x40 LCD Display with Keypad 1 4x20 LCD Display with Keypad
Part Number
Located Where
PLCMOD-M2-25631 PLCDKMB(U) BM-0470048-2AC BM-0470048-2DC BM-0470048-3 BM-0470048-4 BM-0470048-5 PLCDKCD-01 EZLDCD-01 PLCDKPS 2005002.X
Installed on PLCDKMB Loose Packed In Box Installed on PLCDKMB Installed on PLCDKMB Installed on PLCDKMB Installed on PLCDKMB Loose Packed In Box Loose Packed in Box Loose Packed in Box Loose Packed in Box Loose Packed in Box
PLCDK-OI-2x20 PLCDK-OI-2x40 PLCDK-OI-4x20
Loose Packed in Separate Box Loose Packed in Separate Box Loose Packed in Separate Box
Enabling the Battery The PLC on a Chip Development Package includes a battery to support the real time clock. Prior to use the battery must be enabled. Pull the “Battery Saver” tag from the battery socket to enable the battery operation.
Other Support Information Other documents are available on the Development Package CD for additional PLC on a Chip support. -For Circuit Design, refer to the Divelbiss PLC on a Chip Circuit Design Guidelines document. -For PLC on a Chip and PLC on a Chip Module EZ LADDER Configuration, refer to the Divelbiss PLC on a Chip EZ LADDER Configuration document -For information of EZ LADDER installation and use, refer to the Divelbiss EZ LADDER User’s Manual. -For technical information regarding the PLC on a Chip, refer to the Divelbiss PLC on a Chip Technical Data Sheet. -For technical information regarding the PLC on a Chip Module, refer to the Divelbiss PLC on a Chip Module Technical Data Sheet.
4
PLCDK-03 PLC on a Chip Development Package Datasheet
Main Board Diagram Input Power from Wall Pack
Input Power 10VAC or 12VDC
Serial Port 2 Module Plug In Connector CAN Port # CAN Port # 1 2
LCD & Keypad Ports A,B,C Output Modules
Input Modules
Output Terminal Strips
Watchdog LED
Input Terminal Strips
Battery Counter Input # 2 Counter Input # 1
HDIO Expansion Port Power Connector
HDIO Expansion Port Data Connector
Analog Input Enable Jumpers x 8
Additional Expansion Ports Connector P47
Analog Input Channels x 8
5
PLC on a Chip Module Plug in Connectors
LCD Display Contrast Adj.
Programming Port, RS232
Main Board Features
6
PLCDK-03 PLC on a Chip Development Package Datasheet
Input Power The PLC on a Chip Development Package main board is powered by using the provided plug in wall power pack (PLCDKPS). The wall power pack PLCDKPS) connects to J1 on the main board (PLCDKMB(U)). Additionally, P1 is provided to apply power from a different source. 10 VAC or +12 VDC may be connected to P1. J1 is not to be used when P1 is used. P1 Power Connector Pin-out Pin 1 : + 12 VDC or 10 VAC Pin 2 : Common Pin 3 : Earth Ground
Serial Ports Programming Port - COM 0 P2 (COM 0) is the programming port for the PLC on a Chip Development main board (PLCDKMB(U)). This port should only used for connecting to the EZ LADDER development platform software. A null modem cable and a PC serial port capable of 57.6K serial communication is required.
NULL MODEM CABLE
P2 Serial Port Connector Pin-out Pin Pin Pin Pin Pin Pin Pin Pin Pin
1 2 3 4 5 6 7 8 9
: NC : RX : TX : NC : GND : NC : RTS : CTS : NC
SHIELD
9 PIN MALE 1 2 3 4 5 6 7 8 9
9 PIN MALE NC
NC GRN
BRN
BRN
GRN
RED BLK
NC
NC ORG
YEL ORG
YEL
NC
NC
1 2 3 4 5 6 7 8 9
BLU BLU
SECOND SOURCE VENDOR COLOR CODE
2nd Serial Port - COM 1 COM 1 is an expansion connector that accepts plug-in serial port modules. These modules may be purchased as RS232, RS422 or RS485. The plug-in modules plug into COM 1 as shown. COM 1 Plug-in Modules
Plug Module in. Module component side up.
7
PLCDK-03 PLC on a Chip Development Package Datasheet
COM 1 is capable of baud rates to 115.2K. This port supports Modbus Slave (256K or higher Memory Models only). RS232 Plug In Module Pin-out Pin Pin Pin Pin Pin Pin Pin Pin Pin
1 2 3 4 5 6 7 8 9
: NC : RX : TX : NC : GND : NC : RTS : CTS : NC
RS422 Plug In Module Pin-out Pin Pin Pin Pin Pin Pin Pin Pin Pin
1 2 3 4 5 6 7 8 9
RS485 Plug In Module Pin-out
: TX: NC : NC : RX: GND : RX+ : NC : NC : TX+
Pin Pin Pin Pin Pin Pin Pin Pin Pin
1 2 3 4 5 6 7 8 9
: TX: NC : NC : NC : GND : NC : NC : NC : TX+
Analog Inputs The PLC on a Chip main board (PLCDKMB(U)) includes eight single ended analog input channels (10 bit) using connector ANA_IN1. These eight channels can accept signals of 0-5 VDC or 0-20m ADC.
The analog input connector ANA_IN1 has the following pin-out. Pin Pin Pin Pin Pin Pin Pin Pin Pin Pin
1 2 3 4 5 6 7 8 9 10
: GND : A/D Channel 0 : A/D Channel 1 : A/D Channel 2 : A/D Channel 3 : A/D Channel 4 : A/D Channel 5 : A/D Channel 6 : A/D Channel 7 : GND
Each channel has an enable jumper (J2-J9). This jumper connects the channel’s input circuitry to the PLC on a Chip analog input. Each channel is independent of all other analog input channels. When the ‘shunt’ or ‘jumper’ is installed, the analog input circuit is connected to the PLC on a Chip’s analog on-board input. When the ‘shunt’ or ‘jumper’ is removed, the PLC on a Chip’s analog on-board input is disconnected from the circuitry and connector P47 may be used as an analog input source. A Channel should be disabled when using connector P47 to apply different signal conditioning for the analog input.
SHUNT / JUMPER REMOVED
8
SHUNT / JUMPER INSTALLED
PLCDK-03 PLC on a Chip Development Package Datasheet
CAN Ports The PLC on a Chip main board (PLCDKMB(U)) includes 2 CAN port interfaces. These ports support J1939 Communications and Divelbiss OptiCan. CAN DEVICE 2
CAN DEVICE 1
1 Typical 120 Ohm
Typical 120 Ohm
2
CAN PORTS J9 CAN 0 J10 CAN 1
EARTH GND
P9 / CAN 0 Pin-out
P10 / CAN 1 Pin-out
Pin 1 : CAN H Pin 2 : CAN L Pin 3 : EARTH GND
Pin 1 : CAN H Pin 2 : CAN L Pin 3 : EARTH GND
I/O Assignments The PLC on a Chip main board (PLCDKMB(U)) includes 12 digital Input slots and 8 digital output slots. Each input slot will accept 1 digital input module. Each output slot will accept 1 digital output module. The main board also allow output channels from the PLC on a Chip to be used as digital outputs or PWM (Pulse width Modulation) outputs. An output channel must be configured as either Digital Output (GPO) or as PWM. When configured as GPO, the output will function as normal. When configured as PWM, EZ LADDER’s PWM blocks control the output. The PWM configuration will only operate with a DC output module. Jumpers J13-J20 are used to configure the outputs as PWM or digital outputs (GPO). Configured as digital output, the output module’s control pin is connected to the PLC on a Chip GPO pin. When configured as PWM, the output module’s control pin is connected to the PLC on a Chip PWM pin.
CONFIGURED AS DIGITAL OUTPUT (GPO)
CONFIGURED AS PWM CHANNEL
9
PLCDK-03 PLC on a Chip Development Package Datasheet
The I/O assignments are as shown:
Input GPI 3
Output GPO 0 / PWM 0 Output GPO 1 / PWM 1 Output GPO 2 / PWM 2 Output GPO 3 / PWM 3
Input GPI 4
Output GPO 4 / PWM 4
Input GPI 0 Input GPI 1 Input GPI 2
Output GPO 5 / PWM 5 Output GPO 6 / PWM 6 Output GPO 7 / PWM 7
Input GPI 5 Input GPI 6 Input GPI 7
Input GPI 8 Input GPI 9 Input GPI 10 Input GPI 11
Installing & Removing I/O Modules Each I/O point on the main board (PLCDKMB) is based on plug-in I/O modules. Any input module will operate in any of the main board input module positions. Any output module will operate in any of the main board output module positions. To remove a module, make sure the power to the I/O and main board is off. Gently pull the module upward off of the board. It is held in place by two connections. There is an optional screw mount for each of the I/O modules which will need to be removed if installed prior to removing the module. To install a module, make sure the power to the I/O and main board is off. Carefully align the module over its position. Gently plug in the module to the main board being carefull that both connections align and plug-in properly. There is an optional screw mount for each of the I/O modules. These holes will align when the module is installed properly.
10
PLCDK-03 PLC on a Chip Development Package Datasheet
Output Module
Development Package Main Board
Installing & Removing PLC on a Chip Module The PLC on a Chip Module is installed at the factory. Should the need arise, it may be removed and re-installed on the main board. To remove the module, make sure the power to the I/O and main board is off. Grip the PLC on a Chip Module on opposite sides and gently rock the module back and forth while gently trying to pull the module. The module will loosen and become free from the main board after several rocking motions. To insert the module, align the module over the connectors and gently press into place. Ensure the module is completely inserted.
11
PLCDK-03 PLC on a Chip Development Package Datasheet
Connecting I/O Each I/O point on the main board (PLCDKMB(U)) is based on plug-in I/O modules. Any input module will operate in any of the main board input module positions. Any output module will operate in any of the main board output module positions.
INPUT CONNECTIONS
12-24VDC Input Module Connections
+ DC POWER SUPPLY
SOURCING INPUT DEVICE
ISOLATED DC INPUT MODULE
+
-
-
-
ISOLATED DC INPUT MODULE
+
+ DC POWER SUPPLY
SINKING INPUT DEVICE
-
SOURCING INPUT CIRCUIT
SINKING INPUT CIRCUIT
110VAC Input Module Connections
AC AC POWER SUPPLY
ACC
SOURCING INPUT DEVICE
+
+
AC ISOLATED AC INPUT MODULE
AC POWER SUPPLY
ACC
-
SINKING INPUT CIRCUIT
SINKING INPUT DEVICE
ISOLATED AC INPUT MODULE
-
SOURCING INPUT CIRCUIT
12
PLCDK-03 PLC on a Chip Development Package Datasheet
OUTPUT CONNECTIONS 12-24VDC Output Module Connections
+
LOAD
ISOLATED DC OUTPUT MODULE
+
+
-
+
ISOLATED DC OUTPUT MODULE
DC POWER SUPPLY
DC POWER SUPPLY
-
-
SINKING OUTPUT CIRCUIT
LOAD
-
SOURCING OUTPUT CIRCUIT
110VAC Output Module Connections
+ ISOLATED AC OUTPUT MODULE
LOAD
+
AC
-
AC
ISOLATED AC OUTPUT MODULE
AC POWER SUPPLY
AC POWER SUPPLY
-
ACC
SINKING OUTPUT CIRCUIT
LOAD
ACC
SOURCING OUTPUT CIRCUIT
RELAY Output Module Connections DC ONLY
+ RELAY OUTPUT MODULE
LOAD
AC ONLY
-
+
+ DC or AC AC POWER SUPPLY
-
-DC or ACC
+ DC or AC DC O NLY
RELAY OUTPUT MODULE
LOAD
AC POWER SUPPLY
-DC or ACC
AC ONLY
SINKING OUTPUT CIRCUIT
SOURCING OUTPUT CIRCUIT
13
PLCDK-03 PLC on a Chip Development Package Datasheet
Counter Inputs The main board provides two on-board counter inputs. These up counter inputs are capable of rates to 500 KHz. Connect the CT1 and CT2 inputs as shown. The counter is optically isolated to provide immunity from noise and interference.
PULSE OUTPUT DEVICE +DC (12V)
+
-DC
-
COUNTER INPUT CT1 or CT2
SHIELD
High Density I/O Interface For addition I/O requirements. Connector 3 and Connector 6 are provided to interface directly to Divelbiss High Density I/O expansion boards (ICM-HDIO-XX). HDIO expansion boards are available in a variety of types and voltage levels. Simply address the HDIO board and connect it to the development main board using CONN 3 and CONN 6. The I/O addressing for the ICM-HDIO-XX are as follows: Digital Inputs:
DI0.0 - DI7.15
Digital Outputs: DO0.0 - DO7.15
14
PLCDK-03 PLC on a Chip Development Package Datasheet
Real Time Clock The PLC on a Chip Module includes a Real Time Clock. The real time clock (after set) provides Month, Day, Day of the Week, Year, Hour, Minute and Second. The real time clock maintains time when power is lost via lithium battery. The life of the battery for the real time clock generally has years of life before replacement is needed. Should the battery need to be replaced, replace the battery with the same type and size as the original. The battery is a Lithium Coin Cell, Type BR2325.
LCD Display & Keypad The PLC on a Chip has the ability to display data to an LCD display and monitor a keypad. The PLCDK-03 comes with 1 of 3 possible display / keypad options. The displays are available as 2x20, 2x40 and 4x20 LCD displays. The keypad is always 20 programmable buttons. When connecting the display & keypad, they are connected to ‘ports’ on the main board. There are 3 ports located on the main board, Ports A, B and C. Each port has a KP (keypad) and LCD(display) connector (KPA, KPB, KPC, LCDA, LCDB & LCDC). The display must be connected to a different port than the keypad. Only one display and one keypad may be connected and cannot share the same port. To connect the keypad, connect the keypad cable to one of the keypad ports (KPA, KPB, KPC). To connect the display, connect the display cable to one of the display ports (LCDA, LCDB, LCDC). NOTE: When using LCDB port (LCD display on port B) or KPB port (Keypad on port B), you must remove jumpers J10 and J11. on the main board. The display and keypad must be installed in the EZ LADDER target configuration before they can be used. See the EZ LADDER Manual.
15
PLCDK-03 PLC on a Chip Development Package Datasheet
Additional Expansion Ports - P47 The main board includes an additional expansion connector - P47. This connector allows access to addtional PLC on a Chip pins as well as some of the circuitry on the main board.
Additional Expansion Ports - P48 The main board includes an additional auxiliary I/O connector - P48. This connector allows access to addtional access to the digital I/O pins from the PLC on a Chip (GPI / GPO)..
P48 +5V GND +12_UNFILTERED GPO3 GPO2 GPO1 GPO0 GPI0 GPI1 GPI2 GPI3 GPI4 GPI5
1 3 5 7 9 11 13 15 17 19 21 23 25
2 4 6 8 10 12 14 16 18 20 22 24 26
+5V GND +12_UNFILTERED GPO4 GPO5 GPO6 GPO7 GPI11 GPI10 GPI9 GPI8 GPI7 GPI6
16
Important Product Notice Use of products supplied herewith by Divelbiss Corporation ("Divelbiss") is strictly subject to the following conditions. Divelbiss reserves the right to make corrections, modifications, enhancements, discontinuation, and other changes without further notice to any products supplied herewith to improve reliability, function or design. Divelbiss assumes no responsibility or liability for the use of any of these products, conveys no license or title under any patent, copyright, mask work right, or other Divelbiss intellectual property right relating to any combination, machine, or process in which Divelbiss products are used. Divelbiss makes no representations or warranties that these products are free from patent, copyright, or mask work right infringement, unless otherwise specified. Divelbiss assumes no liability for applications assistance or customer product design. Customers are responsible for their products and applications using Divelbiss components. To minimize the risks associated with customer products and applications, customers should provide adequate design and operating safeguards. Divelbiss products are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other applications intended to support or sustain life, related to the operation of nuclear facilities, in environments otherwise intended to be fault-tolerant or for any other application in which the failure of the Divelbiss product could create a situation where personal injury or death may occur. Should a customer purchase or use Divelbiss products for any such unintended or unauthorized application, such customer shall indemnify and hold Divelbiss and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that Divelbiss was negligent regarding the design or manufacture of the part. Device parameters which may be provided in Divelbiss datasheets and/or specifications can and do vary in different applications and actual performance may vary over time. All operating parameters must be validated for each customer application by customer's technical experts. Customers should obtain the latest relevant information before placing orders and should verify that such information is current and complete. DIVELBISS MAKES NO WARRANTY, REPRESENTATION OR GUARANTEE REGARDING THE SUITABILITY OF THE PRODUCTS SOLD HEREWITH FOR ANY PARTICULAR PURPOSE, NOR DOES DIVELBISS ASSUME ANY LIABILITY ARISING OUT OF THE APPLICATION OR USE OF ANY PRODUCT OR CIRCUIT, AND SPECIFICALLY DISCLAIMS ANY AND ALL LIABILITY, INCLUDING WITHOUT LIMITATION LOSS OF PROFITS, LOSS OF BUSINESS OR GOODWILL, LOSS OF DATA OR USE OF DATA, INTERRUPTION OF BUSINESS, AND FOR ANY INDIRECT, SPECIAL, CONSEQUENTIAL OR INCIDENTAL DAMAGES OF ANY KIND, HOWEVER CAUSED, WHETHER ANY SUCH CLAIM SOUNDS IN CONTRACT, TORT, STRICT LIABILITY OR OTHER LEGAL OR EQUITABLE THEORY, EVEN IF DIVELBISS HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS. THE DIVELBISS PRODUCT SOLD HEREWITH IS SUPPLIED "AS IS." CUSTOMER IS RESPONSIBLE TO INSURE THAT THE DIVELBISS PRODUCT SOLD HEREWITH IS IMPLEMENTED PROPERLY IN AN APPROPRIATE APPLICATION. Any use or configuration of the PLC ON A CHIP Kernel software is strictly subject to the terms of the Divelbiss EZ LADDER OEM Software License Agreement (a copy of which may be obtained upon request from Divelbiss), and may be undertaken only in connection with designated products. PLC ON A CHIP Kernel software may not be amended, modified, decompiled, reverse engineered, copied, or installed on a network, nor may any rights therein be sublicensed, conveyed or purportedly conveyed without the express, written consent of Divelbiss.