Академический Документы
Профессиональный Документы
Культура Документы
SuperLogic Users Guide 1. OVERVIEW.................................................................................................................................. 3 2. SOFTWARE REQUIREMENTS AND INSTALLATION ...................................................... 3 3. WORKBENCH COMPONENTS ............................................................................................... 4 3.1 FILE SUBMENU........................................................................................................................... 4 3.2 DEVICE SUBMENU ..................................................................................................................... 5 3.3 HELP SUBMENU ......................................................................................................................... 5 3.4 SHORTCUT ICONS FOR FILE SUBMENU ....................................................................................... 6 3.5 SHORTCUT ICONS FOR DEVICE SUBMENU .................................................................................. 6 3.6 SHORTCUT ICONS FOR LADDER PROGRAM DEVELOPMENT ........................................................ 6 3.7 SHORTCUT ICONS FOR PROGRAMMING ELEMENTS..................................................................... 6 3.8 I/O STATE INDICATORS .............................................................................................................. 6 3.9 STATUS INDICATORS .................................................................................................................. 7 3.10 NETWORK AND GENERAL STATISTICS ..................................................................................... 7 4. SYSTEM FILES ........................................................................................................................... 7 4.1 FILE ADDRESSING ...................................................................................................................... 7 4.2 CONTROL BIT FILE DEFINITION ................................................................................................. 8 4.3 CONTROL WORD FILE DEFINITION ............................................................................................ 9 5. LADDER PROGRAMMING ELEMENTS............................................................................... 9 5.1 CONDITION ELEMENTS .............................................................................................................. 9 5.1.1 Normally Open Condition.................................................................................................. 9 5.1.2 Normally Closed Condition ............................................................................................. 10 5.1.3 Compare Conditions ........................................................................................................ 10 5.2 RESULT ELEMENTS .................................................................................................................. 11 5.2.1 Output/Coil Contact......................................................................................................... 11 5.2.2 Output/Coil Latch Contact............................................................................................... 11 5.2.3 Output/Coil Unlatch Contact........................................................................................... 11 5.2.4 Output/Coil Pulse Contact............................................................................................... 12 5.2.5 On Delay Timer Command .............................................................................................. 12 5.2.6 OFF Delay Timer Command ........................................................................................... 13 5.2.7 Retentive Timer Command............................................................................................... 13 5.2.8 Up Counter Command ..................................................................................................... 14 5.2.9 Timer/Counter/FIFO Reset Command ............................................................................ 14 5.2.10 Move Command ............................................................................................................. 14 5.2.11 Send-Message Command............................................................................................... 15 5.2.12 FFL - FIFO/LIFO Load Command ............................................................................... 15 5.2.13 FFU - FIFO/LIFO Unload Command........................................................................... 15 6. PROGRAMMING OVERVIEW WITH EXAMPLE ............................................................. 16 6.1 LADDER PROGRAMMING INTRODUCTION ................................................................................. 16 6.2 EXAMPLE LADDER PROJECT .................................................................................................... 16 6.2.1 Create New Ladder Project ............................................................................................. 16 6.2.2 Insert a rung..................................................................................................................... 16 6.2.3 Insert conditions into rung............................................................................................... 16
Page 1
SuperLogic Users Guide 6.2.4 Insert Branch into Rung................................................................................................... 17 6.2.5 Insert New Condition into New Branch........................................................................... 17 6.2.6 Insert Output(Coil) into Rung.......................................................................................... 17 6.2.7 Explanation of Example Ladder Program....................................................................... 18 7. CONNECTING TO SUPER-I/O DEVICE............................................................................... 18 7.1 DIRECT CONNECTION VIA SERIAL PORT .................................................................................. 18 7.2 CONNECTION THROUGH SERIAL-CAN BRIDGE........................................................................ 19 7.3 NETWORK CONNECTION VIA DEVICENET NETWORK INTERFACE ........................................... 19 8. CONFIGURING SUPER-I/O DEVICE.................................................................................... 19 8.1 CONFIGURATION PARAMETERS ................................................................................................ 19 9. DOWNLOADING PROGRAM TO SUPER-I/O DEVICE .................................................... 21 10. MONITORING A PROGRAM IN A SUPER-I/O DEVICE ................................................ 22
Page 2
1. Overview
SuperLogic enables the configuration and programming of the Super-I/O control modules. SuperLogic is a ladder based programming application, applying industry programming standards. The programming functionality is extensive and allows users to develop programs for many specialized applications. SuperLogic incorporates a drag-and-drop graphical interface to create a user-friendly programming environment. SuperLogic also has program monitoring capabilities which allow the user to debug a program against the system application. A SuperLogic program can incorporate on average 60 rungs.
Page 3
3. Workbench Components
The SuperLogic Workbench components are listed below:
Page 4
Run Mode:
Program Mode: While connected and online to a Super-I/O device this command will put the controller into Program Mode, which will be indicated by a "Red" RUN Status Indicator. Super-I/O Controller must be in Program Mode to configure it. Similarly, after downloading a program to Super-I/O, the controller state initializes to Program Mode. Monitor: While connected and online with a controller, the program that the controller is executing can be monitored, which will be indicated by the "Blue" Status Indicator. The current project/program the Super-I/O is executing must be opened in the SuperLogic Workbench and the controller must be in Run Mode.
Configurations: While connected and online with an Super-I/O device, the following device characteristics can be configured: MAC ID, Upstream MAC ID, Downstream MAC ID, Bus Speed, Zone Count, Singulation or Slug Mode, and Host ID.
Page 5
Page 6
4. System Files
Super-I/O device supports both bit and word addressable files for storing program and intermediate data. In addition to the general purpose binary and integer files, Super-I/O has control bits and control words files for specific device data.
Page 7
SuperLogic Users Guide Control Bit Timers Timer Bits Counters Counter Bits Inputs Outputs CB TMR TMR CNT CNT IN OUT CB:1 CB:25 TMR:1 - TMR:25 TMR:1.x - TMR:25.x where x is DN, TM, or EN. CNT:1. CNT:10 CNT:1.x CNT:10.x where x is DN or EN. IN:1 IN:8 OUT:1 OUT:8
Reserved Reserved Package approaching from upstream device. CB: 19 Downstream device is ready to accept a package. CB: 20 Reserved CB: 21 FIFO / LIFO Full CB: 22 FIFO / LIFO Empty CB:23 CB:25 Reserved
Page 8
Page 9
SuperLogic Users Guide 3. Binaries 4. Integers 5. Timers 6. Counter 7. Control Bits 8. Control Word Bits BIN:1 BIN:40 REG:1.x REG:25.x where x = 0 - 15 TMR:x.DN, TMR:x.EN, TMR:x.TM where x = 1 - 20 CNT:x.DN, CNT:x.EN where x = 1 - 10 CB:1 - CB:25 CW:1.x CW:62.x where x is 0 -15
Page 10
SuperLogic Users Guide 4. Control Bits 5. Control Word Bits CB:1 CB:25 CW:1.x CW:62.x
where x is 0 -15
Rung State
Time
Page 12
Enable Bit
Timing Bit
Page 13
Page 14
Page 15
SuperLogic Users Guide If queue is empty, no action is taken. Lifo Operation When Rung Condition goes true, The integer value stored at the bottom of the queue is copied to the destination address. The Queue Count (CW:24) is decremented by one. The Queue Full bit (CB:21) is set to false. If Queue Count (CW:24) becomes zero, the Empty bit (CB: 22) is set to true. If queue is empty, no action is taken.
Page 16
Page 17
Click the connect button from menu. From Device Connect pop-up window, select the COM PORT radio button and the corresponding radio button for the COM PORT number. Click on the Connect button on the pop-up window. The Super-I/O device will go "Online". This can be visually verified by the Online Status Indicator on left side of the workbench.
Page 18
Upstream: The MAC ID of the upstream Super-I/O or SuperAccum device. If there is no device upstream, then set this value as "None". By default the value is ONE, which means that the upstream MAC ID is one minus the MAC ID of this controller. Downstream: The MAC ID of the downstream Super-I/O device. If there is no device downstream, then set the value to "None". By default the value is +ONE, which means that the downstream MAC ID is one plus the MAC ID of this controller. BusSpeed: Network baud rates in KBPS, three possible DeviceNet network speeds (125K, 250K, and 500K). Currently this value cannot be changed by the user. ZoneCount: The number of motorized roller zones being controlled by Super-I/O device. This value is copied to the Control-Word file at index 15. The firmware for Super-I/O does not use this value for any operation. It is left to be used by the ladder program written by the user. If you are using the standard accumulation ladder program supplied by VSI, then the range of Zone Count number is 1 8. Singulation: If this box is checked, the Control-Bit file at index 14 will be true, other wise false. If you are using the standard accumulation ladder program supplied by VSI, then the following will be applicable: This box is "checked" if the accumulation program is to operate in "singulation" mode. Otherwise, the accumulation program will operate in "slug" mode. Merge Branch: MAC ID of branch Super-I/O Device connected to the merge. Must be set to NONE if no branch interlock is needed. Divert 1 (L) Branch: MAC ID of Branch controller connected to side 1 (or Left) of the Diverter. Must be set to NONE if no branch interlock is needed. Divert 2 (R) Branch: MAC ID of Branch controller connected to side 2 (or Right) of the Diverter. Must be set to NONE if no branch interlock is needed. Host-ID: MAC-ID of PC Host with DeviceNET interface adapter. If you are connecting a serial device, e.g., a Barcode Reader to the Super-I/O, you need to provide the Host-ID value so that the Super-I/O device can send the data coming from the serial device to the PC host over DeviceNET. If no serial device is attached, then leave this value to None. To receive the serial data (e.g., barcode) inside the ladder program, set the Host ID to None. In this case the data from serial port is copied to control word file CW:53 CW:62. Each word contains two characters of the serial data received.
Page 20
WARNING: Downloading a ladder program will delete the existing program stored in the Super-I/O controller. Once you hit the Start button to begin download, there is NO way to stop the process. The existing program in the controller will be deleted.
Page 21
Page 22