Copyright Maguire Products Inc, Aston PA, USA. 2001 MAGUIRE PRODUCTS, INC. 11 Crozerville Road Aston, PA 19014, USA Tel: + 1 610 459 4300 Fax: +1 610 459 2700 [email protected]MAGUIRE EUROPE Tame Park, Tamworth B77 5DY, UK Tel: + 44 1827 265 850 Fax: +44 1827 265 855 [email protected]PROFIBUS PROTOCOL MANUAL July 25, 2001 Maguire WSB Blender MLAN Gateway Blender Data Communications Integrated to Maguire MLAN Protocol
49
Embed
Maguire WSB Blender MLAN Gateway · 7 Selection of Modbus or Profibus Protocol The Internal or External MLAN Gateway unit can be configured to run Profibus or Modbus through the D-type
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Copyright Maguire Products Inc, Aston PA, USA. 2001
MAGUIRE PRODUCTS, INC. 11 Crozerville Road Aston, PA 19014, USA Tel: + 1 610 459 4300 Fax: +1 610 459 2700 [email protected] MAGUIRE EUROPE Tame Park, Tamworth B77 5DY, UK Tel: + 44 1827 265 850 Fax: +44 1827 265 855 [email protected]
PROFIBUS PROTOCOL MANUAL
July 25, 2001
Maguire WSB Blender MLAN Gateway
Blender Data Communications Integrated to Maguire MLAN Protocol
POWER REQUIREMENTS � EXTERNAL UNITS ONLY 5 LED OPERATION 5 INSTALLATION � DEFAULT ADDRESS & SPEED 5 INSTALLATION & CONNECTION OF AN INTERNAL MLAN GATEWAY CARD 6 ONCE ALL OF THE SCREWS HAVE BEEN REMOVED FROM THE CONTROLLER OPEN THE CONTROLLER TO EXPOSE ALL INTERNAL CARDS AND WIRING. 6 THE MLAN GATEWAY REPLACES THE RS232 COMPUTER PORT SITUATED ON THE LEFT HAND SIDE PANEL OF THE CONTROLLER. 6 THE COMPUTER PORT IS SHOWN FROM REVERSE, BEING THE TOP PORT ON THE PANEL. 6 SELECTION OF MODBUS OR PROFIBUS PROTOCOL 7 MANUAL CONFIGURATION OF NETWORK NODE ADDRESS AND BIT-RATE 7 PROFIBUS CONNECTOR 9
PROGRAMMING OVERVIEW
INTRODUCTION 10 PROGRAMMING CONSIDERATIONS 10 MLAN COMMAND HISTORY 12
PROFIBUS COMMUNICATION FOR WSB
GENERAL INFORMATION 13 COMMAND STRUCTURE 14 COMMS STATUS EXPLANATIONS 14 ADDITIONS TO THE MLAN COMMAND DESCRIPTIONS FOR USE WITH PROFIBUS 14 PROFIBUS SLAVE PARAMETERISATION: USER-PARAMETERS 15 GSD FILE (ELECTRONIC DATA SHEET) 15 PROFIBUS COMMAND EXAMPLE 18 PROFIBUS REFERENCE NUMBERS FOR BLENDER PARAMETERS 19
DATA COMMANDS
CLEAR TOTALS 20 CLEAR TOTALS IMMEDIATELY 20 GET ALL PARAMETERS 21 GET BATCH INFO 21 GET CYCLE WEIGHT AND TIME 22 GET DISPLAY 22 GET PARAMETER 23 GET SETTINGS 24 GET STATUS 27 GET STEADY STATE RATE 29
3
GET TARGET THROUGHPUT & STATUS 30 GET TOTALS 31 GET TYPE 33 GET VERSION 33 GET WEIGHT UNITS 34 SEND KEYSTROKE 34 SEND SETTINGS 36 SET BATCH WEIGHT 38 SET DATE AND TIME 39 SET STEADY STATE RATE 42 SET TAG 43 SET TARGET THROUGHPUT 44 SET WEIGHT UNITS 44 SILENCE ALARM 45 START/STOP/STATUS 46 STOP CYCLE / STOP RETRY 47 PARAMETER TABLE FOR 12 COMPONENT BLENDER SOFTWARE (SAMPLE AS OF VERSION 01003T) 49
Trademark Credits Microsoft and MS-DOS are trademarks of Microsoft Corporation. IBM is a trademark of International Business Machine Corporation. Profibus is a trademark of Siemens PLC. Warranty Disclaimer Maguire Products, Inc. disclaims all warranties, expressed or implied, including but not limited to, the warranties of merchantability and fitness for a particular purpose.
4
Product Range Overview The MLAN Gateway is designed to be connected to either a Profibus DP compliant network, a DeviceNet compliant network or a Modbus RTU compliant network. There are 2 types of configuration of the MLAN Gateway Module as illustrated below: Product Codes Product Codes for the units are as follows:
The External DIN-Rail boxed unit automatically detects which type of network is connected and adapts the configuration to the network found. Due to the type of physical interface required, the Internal Card is either DeviceNet only, or Profibus / Modbus. Communication Speeds The Profibus interface automatically detects the baud-rate within the range defined by the Profibus DP standard. For example - 12 MBaud, 6 MBaud, 3 MBaud, 1.5 MBaud, 500 KBaud, 187.5 KBaud, 93.75 KBaud, 19.2 KBaud and 9.6Kbaud.
External Fieldbus DIN Rail Mountable Box for Profibus, Modbus and DeviceNet Communications
Internal Communications Card mounted inside the Maguire WSB Controller for Modus, Profibus and DeviceNet. (Profibus / Modus Card shown)
5
External / Internal Gateway Specifications
External Size H90 x W105 x D60mm Mounting Direct onto 35mm DIN rail Fieldbus Interface Profibus, Modbus RTU and DeviceNet Host Interface MLAN Operating Temperature 0-55 °C
General
Operating Humidity 30-90% non-condensing Supply Voltage 11 - 30Volts dc Power Requirements Maximum Power 3 Watts
Operation � MLAN Gateway Power Requirements � External Units Only The External MLAN Gateway unit requires 11 to 30 Volts DC to be connected via the screw terminals independent of which Fieldbus is being used. LED Operation The LED is the Network status LED and has different meaning depending on which Fieldbus is active.
Profibus DP State: LED Colour: No Network Traffic (Baud Search / BUS Fault) Red Wait Parameter / Wait Configuration Flashing Red Data Exchange Green
Installation � Default Address & Speed The Gateway is shipped with a default Profibus Address of 126. The default data-rate for Profibus is automatic. The gateway should be configured by use of a node-commissioning tool to set the network node address to the required value. This configuration information is stored in non-volatile memory on the gateway. If a node configuration tool is not available, refer to the following section: Manual configuration of Network Node address. Please Note: Node commissioning tools are normally shipped with the Master device. There are many different commissioning tools available depending on the Fieldbus and the manufacturer of the hardware and therefore their description is beyond the scope of this manual.
6
Installation & Connection of an Internal MLAN Gateway Card To fit an internal MLAN Gateway Card to an existing Maguire blender controller please follow these instructions; Firstly remove the 4 screws on top of the Controller, 3 from the left hand side, and then 3 screws underneath the controller towards the front side. Once the controller is open then do the following;
Once all of the screws have been removed from the controller open the controller to expose all internal cards and wiring. The MLAN Gateway replaces the RS232 Computer port situated on the left hand side panel of the controller. The Computer port is shown from reverse, being the top port on the panel.
To remove the existing computer port unscrew the two connection screws and remove the ribbon connector from the main board. Using the two connector screws from the computer port you have removed, fit the MLAN Gateway in place of the computer port. Then connect the ribbon cable from the MLAN gateway onto the RS232 position on the main board of the controller.
Once the card has been installed, it is then necessary to provide the MLAN Gateway with a 24V DC feed. To do this by cut the brown and blue wires connected to the brown Molex connector situated at the top of the board (next to the ribbon cable for the field marshal). Using the wires and terminal block provided with the MLAN Gateway connect the two cut wires to each side of the terminal block and then wire as follows: Red Gateway wire to Brown Controller wire Black Gateway wire to Blue Controller wire
7
Selection of Modbus or Profibus Protocol The Internal or External MLAN Gateway unit can be configured to run Profibus or Modbus through the D-type connector. External MLAN Gateway Protocol Selection On the External DIN Box Unit the protocol is selected by specific use of the push-button located beneath the D-type connector. The way to select is as follows:
• Whilst there is no power to the gateway unit, hold in the button. Keep it held in whilst power is applied. The LED will illuminate either flashing yellow or flashing green.
• If the LED illuminates flashing yellow, then the unit is selected for Modbus operation.
Before the unit will operate, it must be powered down once more, then power applied WITHOUT the button pressed (normal power-up procedure).
• If the LED illuminates flashing green, then the unit is selected for Profibus operation.
Before the unit will operate, it must be powered down once more, then power applied WITHOUT the button pressed (normal power-up procedure).
• Each time the unit is powered up WITH the button pressed, the unit will toggle to the
other protocol, indicated by the colour of the flashing LED. Note that once the appropriate protocol is indicated, the unit must be powered down, then powered up WITHOUT the button pressed for normal operation.
Internal MLAN Gateway Protocol Selection On the Internal Card Unit the protocol is selected by specific use of the push-button located beneath the D-type connector. The way to select is as follows:
• Whilst there is no power to the gateway unit, hold in the button. Keep it held in whilst power is applied. The LED will illuminate either flashing yellow or flashing green.
Manual Configuration of Network Node Address and Bit-Rate If a node commissioning tool is not available (for example Com-Profibus�) then the Gateway�s network node address (Profibus) can be set manually. External MLAN Gateway Addressing On the External MLAN Gateway DIN Box Unit the protocol is selected by specific use of the push-button located beneath the D-type connector. The way to select is as follows: The pushbutton located behind the Profibus connector is used in conjunction with the status LED as follows on the next page:
8
To check the gateway network address:
1. Power-on the unit and wait at least 10 seconds. Then hold the pushbutton on. After 4 seconds the gateway status LED acknowledges by illuminating yellow.
2. Release the button. The LED goes off and then flashes n times green and m
times red. nm is then the decimal representation of the network address: For example (n x 10) + m.
3. After a short pause the LED will then light green for 5 seconds, then red for 5
seconds. After a further 5 seconds the led will revert to registering its normal function.
To set the gateway network address
1. Hold the pushbutton on. After 4 seconds the gateway status LED acknowledges by illuminating yellow.
2. Release the button. The LED goes off and then flashes n times green and m
times red. nm is then the decimal representation of the current network address: For Example (n x 10) + m.
3. After a short pause the LED will then light green. Whilst the LED is green (within
5 seconds) press the button n times for the fist digit of the decimal address. Visual feedback is provided by the LED going yellow during each button press.
4. After 2 seconds the LED will turn red. Whilst the LED is red (within 5 seconds)
the user should push the button m times for the second digit (units). Once again visual feedback is provided by the led going yellow during each button press.
5. After 5 seconds the unit will re-initialize using the new network address, and the
LED will revert to its normal function. The new network address is retained in non-volatile memory.
6. If confirmation is required that the address was entered correctly, the check-the-
gateway-network-address procedure can be used without interrupting the normal operation of the unit.
Please Note: If a zero is required in either the tens or units position, then do not press the button during the appropriate LED-green or LED-red phase. Address 00 (zero-zero) cannot be entered. The gateway allows addresses beyond 99. The unit will accept up to 12 presses for the 10s digit. This allows Profibus addresses up to 126 to be used. Internal MLAN Gateway Addressing
9
Profibus Connector The Profibus connector on both the External and Internal Gateway is located on the left hand side of the unit, in the form of a 9-Pin D-sub female connector compliant with the Profibus specification. When utilizing the Internal MLAN Gateway Card this replaces the standard RS 232 Serial Port.
10
Programming Overview Introduction This manual is intended to provide information for individuals who are writing software for Programmable Logic Controllers (PLCs) and need to communicate with the Maguire Weigh Scale Blender. For a complete understanding of the operation of the Weigh Scale Blender (WSB), it is recommended that you have the four and / or twelve component controller manual(s) available as a reference. Likewise if you require additional information on the Maguire Blender MLAN Communication Protocol then please refer to the MLAN Protocol manual. Both of these manuals are available to download from the Maguire website at www.maguire.com alongside other useful documents and product information. All numbers in this document are assumed to be decimal (base 10) unless otherwise noted. Programming Considerations The software type within the blender controller must be determined before commencing programming. There are 2 options for the type of software, either 4 software or 12 software. There are three ways to determine the controller�s software type:
1. The simplest and quickest method is to turn the blender controller off and on again. You will either see �TWELVE� or �FOUR�. If the controller is very old, look at the number that appears on the display during power up. This number will have a �T� on the end of it if it is twelve component software. If there is some other letter present, the controller has four component software.
2. Use the command �Get Settings from Weigh Scale� command code 20 3. Use the command �Get Weigh Scale Type� command code 49
Messages and responses are different according to which type of software is used. For example, the �Send Settings to the Weigh Scale� command (command code 19) has different formats for each software type. Finally, the blender series must be known. Blender load cells read in either tenths of grams or whole grams. These are as follows:
• Load Cells for the Micro blender, 100 and 200 series of blenders read in tenths of grams. • Load Cells for the 400, 900, and 1800 series of blenders read in whole grams.
For example, a response of 234 from a 100 or 200 series blender indicates that 23.4 grams of material have been processed. A response of 234 from a 400, 900, or 1800 series blender indicates that 234 grams of material have been processed.
11
Summary of all MLAN commands MLAN Command Code Description Clear Totals 24 Resets all materials totals to zero at the end of the next blender cycle. Clear Totals Immediately
28 Resets all materials totals to zero immediately.
Get Address 54 Returns Controller Address *** Not supported by the MLAN Gateway Adapter ***
Get All Parameters 22 Returns all of the parameters and their values *** Not supported by the MLAN Gateway Adapter ***
Get Batch Info 84 Returns the batch weight, current portion of the batch, accumulated total and batch count number. (See WSB Manual for more information on how the WSB operates)
Get Cycle Weight & Time
50 Returns the size of the last batch / cycle and the duration of time between the last two cycles.
Get Display 56 Returns the current display buffer. Get Parameter 69 Returns the value of a specific parameter. Get Settings 20 Returns the mix percentages and component types along with the recipe, work
order and operator number. Get Status 53 Returns the current state of all signal inputs and outputs. Get Steady State Rate 64 Returns the steady state throughput rate of the blender. Get Target Throughput & Status
29 Returns the current target throughput and the extrusion control status.
Get Totals 16 Returns the current totals and resets the internal flag Get Totals 17 Returns the current totals without resetting the internal flag Get Type 49 Returns the controller software type (4 or 12) and load cell type (tenths of grams
or full grams) Get Version 80 Returns the version of software in the controller. Get Weigh Units 85 Returns the units that the blender is using to display totals � Pounds, Kilograms,
Ounces or Grams Send Keystroke 87 Sends a virtual keystroke to the keypad on the controller � see Set Remote
Keypad Send Settings 19 Sets the mix percentages and material types � also sets work order and operator
numbers. Set Batch Weight 83 Sets the size of a single batch in blender in grams. Set Date & Time 81 Sets the Date and Time of a blender. Set Parameter 68 Sets the value of a specific parameter. Set Remote Keypad 88 Enable / Disable Controller Keypad and or the �Send Keystroke� command Set Steady Rate 65 Sets the steady state throughput rate of the blender � this tells the blender the rate
to report back for the �Get Steady State Rate� command Set Tag 90 Sets either recipe, operator or work order number on the controller. Set Target Throughput 30 Sets the target throughput rate for extrusion control mode. Set Weight Units 86 Sets the weight unit used by the blender to display totals such as pounds or kilos. Silence Alarm 82 Silences the alarm for a specific blender Start / Stop / Status 55 Instructs the blender to stop at the end of the current cycle, start up, or return
current operating status. Stop Cycle / Stop Retry 27 Instructs the blender to abort current cycle or current material dispense.
Aborting current cycle cause blender to start a new cycle. Aborting current dispense causes the blender to start dispensing the next material in its current settings.
12
MLAN Command History The following table documents when commands have been added to the MLAN software. The chip version number can be found on the MLAN chip within the controller.
In most cases with the introduction of new commands to the software in MLAN chips, 12 software chips were either first to be updated or both the 12 software and the 4 software chips were updated at the same time.
Not all chips are listed below. What are listed are chips that marked a change in the software and were available for testing. If your chip is not listed, it may indicate that your chip did not mark a change in the software or possibly it was not available for testing when this information was compiled.
Chips versions numbers indicate a date. For instance chip "60603A" means 1996 (6), June (06), 3rd (03) followed by "T" or �TC� for twelve software or "A" or �WS� for four software. Your chip version number may fall somewhere in between the chips listed below if it is not directly listed.
Other Notes:
• Controllers using chips prior to 60603A (06/03/1996) have an earlier circuit board, which would need replacement if the chip is to be updated.
• Chips after 90317A (03/17/1999) will have all parameters available.
• Chips prior to 90317A (03/17/1999), please see chart on the following page.
MLAN Command Chip Version Printed on Chip
MLAN Command Chip Version Printed on Chip
Get Version
60603A
Get Weight Units
60710T
Clear Totals 20414A Set Remote Keypad 60911T Clear Totals Immediately 80609A Send Keystroke 60911T Get Address 50925A Send Settings 20414T Get All Parameters 60809A Set Batch Weight 60603A Get Batch Info 60603A Set Date & Time 60603A Get Cycle, Weight & Time 30913A Set Parameter 70529A Get Display 50925A Set Steady State Rate 70916T Get Parameter 70205T Set Tag 60710T Get Settings 20414A Set Target Throughput 90317A Get Status 41019A Set Weight Units 60710T Get Steady State Rate 60603A Silence Alarm 60603A Get Target Throughput Status
90317A Start / Stop / Status 60603A
Get Totals 20414A Stop Cycle / Stop Retry 71222T Get Type 20414A XT Parameters 60603A
PLEASE NOTE: Depending on the date of the chip in your controller, all commands may not be available. The chips can be upgraded, so if you need a newer chip, please contact your nearest Maguire reseller.
13
Profibus Communication for WSB General Information Within the constraints of Profibus, the protocol used has been designed to be as consistent as possible with the MLAN command set. The Profibus cyclic Input / Output for a slave node appears as a block of output registers / memory, and a block of input registers / memory. The registers are generally Word (two-byte) values. Values shown are decimal (base 10) values.
Table 1: General Command Format on Profibus DP (Cyclic Data) Output Address (byte offset) Function 0 and 1 Command Code 2 and 3 Variable 1 4 and 5 Variable 2 6 to 65 Variables 3..4..5�
.
Table 2: Input Data: Reply to Command Input Address (Byte offset) Function 0 and 1 Totalized Comms Error count 2 and 3 Command Confirmation 4 and 5 Comms Status (current command) 6 and 7 Variable 1 8 and 9 Variable 2 10 to 65 Variables 3..4..5�
Commands are initiated by writing the appropriate values to a set of output registers. The precise sequence is described in the following paragraphs. The sequence is important. The reply to each command can be read from the input registers. Once again the operational sequence is important. The command codes are the same as those used for the MLAN communication. The number denoting each command is shown in table 3. The parameters (variables) associated with the command should be written first (address 2 upwards), followed by the command number (address 0,1). The writing of the command number causes the WSB Profibus interface to execute the command. It is the change in this value that initiates the slave action. Consequently, if two commands of the same type are to be executed consecutively, then a �Null-Command� (zero) should be executed between the two similar commands. The checksum specified in the MLAN protocol is NOT used in the Profibus communication. Error checking is taken care of automatically by the Profibus software.
14
The Profibus Input and Output parameters are arranged in word (two-byte) values as this is more easily accommodated by certain PLCs than byte-orientated information. When the blender controller has executed the command, the command number is echoed in the �command-confirmation� input word. Note that the command confirmation always echoes the command number so that the PLC can know which command is being acknowledged. This differs slightly from the MLAN protocol where some commands reply with the �48� reply code. As the data is cyclic, this echo is necessary to confirm which command is being replied to. Command Structure In order to send a command to the WSB over Profibus, the PLC should apply the following procedure.
1. Write the variables associated with the commands to output register addresses 2 upwards.
2. Write the command number to address 0/1 (QW0) 3. Repeatedly read input address 2/3 (IW2) until its value matches the command placed in
output location 0/1 (QW0) 4. Read Comms Status (current command): input location 4/5. (IW4) 5. If Comms Status (step 4) was zero, then the variables of the command reply can be read
from locations 6/7 (IW6), 8/9 (IW8).. Totalized Error Count This resides in the first Input Word (IW0) � This number represents a cumulative errors total between the Profibus interface card inside the blender and the blender itself. Comms Status Explanations The Comms-Status word (input register 4/5) (IW4) can take the following values:
0 This means that the command was acknowledged as successful and that the returned parameters/variables (registers 6/7..8/9�) are valid.
1 Communication error (NAK negative-acknowledge). 2 This means that the command is not supported. 3 Communication Error (Time-out). 4 Invalid parameter passed in the command.
Additions to the MLAN Command Descriptions for use with Profibus The �Set-Parameter� (68) and �Get-Parameter� (69) commands use an integer value to identify the particular parameter requested. Table 4 shows how this number relates to the three-letter parameter abbreviation. �Four-component� software and the �Twelve-component� software options are shown. For the parameters 50 upwards, a second variable is required. This specifies the component number. The number is 1 to 12 for the �Twelve� software. For the �Four� software: 1 = Regrind 2 = Natural 3 = Colour 4 = Additive
15
Profibus Slave Parameterisation: User-parameters The MLAN parameters that describe the operation of the MLAN port must be downloaded at the start of each power-up sequence, normally the Profibus Master will do this automatically, once it has been configured. The parameters are:
MLAN Address: The Address of the MLAN slave to communicate with. Byte Order: The order in which the MLAN data is stored in the Profibus Packet. Max Reply Time: The maximum time the MLAN unit will require to start sending a
reply. The parameters are set by using the Electronic Device Data sheet into the Profibus commissioning tool. This Electronic Data Sheet often referred to as a �GSD File� will be provided with the Gateway, the method to set the parameters for a specific node will be described in the documentation provided with the Node Commissioning Tool (For Example Com-Profibus). GSD file (Electronic Data Sheet) The following is the Profibus GSD file (Electronic Data Sheet) for the MLAN Gateway communications units: #Profibus_DP # # GSD File for Maguire WSB Profibus Interface # # # # ; PrmText = 1 Text(0) = "Hi Byte then Lo Byte" Text(1) = "Lo Byte then Hi Byte" EndPrmText ; ExtUserPrmData = 1 "WSB MLAN Address" Unsigned8 1 1-255 EndExtUserPrmData ; ; ExtUserPrmData = 2 "Byte Ordering" Unsigned8 0 0-1 Prm_Text_Ref = 1 EndExtUserPrmData ; ; ExtUserPrmData = 3 "MLAN Reply Timeout" Unsigned16 500 0-65535 EndExtUserPrmData ; ; GSD_Revision = 1 ; Vendor_Name = "Tellima Technology Ltd." Model_Name = "Maguire WSB" Revision = "1"
Profibus Command Example The example below illustrates the �Get-Parameter _LA (Lag Time) for component 3� command over Profibus. The Purpose of this would be to retrieve the setting for the Lag Time (LA parameter) for hopper / component number 3 on a blender:
Example Get Parameter Command _LA component 3 Output Address (byte offset) Function Description 0 and 1 (QW0) 69 MLAN Command Code Get Parameter 2 and 3 (QW2) 62 Profibus Reference number for the LA Parameter 4 and 5 (QW4) 3 Hopper / Component number 6 to 65 (QW6 to QW64) Unused
Table 2: Input Data: Reply to Command Input Address (Byte offset) Reply Description 0 and 1 (IW0) 0 Totalized errors 0 2 and 3 (IW2) 69 Command confirmation 69 4 and 5 (IW4) 0 Comms status (ok) 0 6 and 7 (IW6) 20 (_AL value) 20 8 and 9 (IW8) Unused 10 to 65 (IW10 to IW64) Unused
Explanations of returned values:
0 is the totalized errors (not specific to this command) 69 confirms that the get parameter command has been executed 0 means that the command executed successfully 20 is the _AL value returned for component 3
Please refer to Table 4 on the next page to see the Profibus reference number for other MLAN parameters.
Get All Parameters Description: Gets all of the parameters and their values. *** This MLAN command is not supported by Profibus as data size exceeds allowable field ***
Get Batch Info Description: Returns the batch weight, current portion, accumulated total, and batch count. Command Format Output Word # Name Size Range Description
QW0 Command Code 1 84 Get Batch Information Command
Response Format
Input Word # Name Size Range Description
IW0 Totalized Error Count 1 0 to 65535 Cumulative Communication Errors Totals
IW6 Batch Weight 1 0 to 65535 Batch Weight (Pounds or Kilos only)
IW8 Current portion 1 0 to 65535 Completed portion of current batch
IW10 Accumulative Total 1 0 to 65535 Total weight of all completed batches
IW12 Batch Count 1 0 to 65535 Total number of completed batches
Note 1: Batch weight is given in pounds if "Get Weight Units" returns either pounds or ounces.
If "Get Weight Units" returns either kilograms or grams, then batch weight is in kilograms.
22
Get Cycle Weight and Time Description: Returns the size of the last batch/cycle and the duration of time between the last two cycles. Command Format Output Word # Name Size Range Description
QW0 Command Code 1 50 Get Batch Information Command
Response Format
Input Word # Name Size Range Description
IW0 Totalized Error Count 1 0 to 65535 Cumulative Communication Errors Totals
IW4 Comms Status (Current Command) 1 0 to 4 Must be 0 for subsequent variables to be valid
IW6 Parameter Value 1 0 to 65535 The value of the parameter.
NOTE: Parameter definitions are given in the blender manual.
24
Get Settings Description: Returns the mix percentages, component types, work order #, and operator #. Command Format (type 1 - Four Component Software) Output Word # Name Size Range Description
QW0 Command Code 1 20 Get Settings Command Response Format Type 1 - Four Component Software
Input Word # Name Size Range Description
IW0 Totalized Error Count 1 0 to 65535 Cumulative Communication Errors Totals
ID6 Steady State Rate 2 0 to 4294967295 Grams (or tenths of grams) per hour
30
Get Target Throughput & Status Description: Returns the target throughput rate for extrusion control. See XCV parameter in blender manual for more information. Command Format Output Word # Name Size Range Description
QW0 Command Code 1 29 Get Target Throughput & Status Command
Response Format
Input Word # Name Size Range Description
IW0 Totalized Error Count 1 0 to 65535 Cumulative Communication Errors Totals
0 Extrusion control 1=on 0=off Bit 0 is the rightmost bit
1 1=steady 0=not steady T or no T on display
2 1=Throughput 0=Voltage Controlling mode
3 1=Grams 0=Tenths of Grams Weight unit of rate
4 1=Yield 0=Weight See note 2 5 - 15 Reserved Leftmost bit
Note 2: If the extrusion process is being controlled by weight, then the output will be a steady weight per time (e.g. lbs/hr). If however the extrusion process is being controlled by yield, then the output will be a steady weight per length (e.g. lbs/foot).
31
Get Totals
Description: Returns the current totals. Command Format
Output Word # Name Size Range Description
QW0 Command Code 1 16 or 17 Get Totals Command - see note 1
Response Format Type 1 - Four Component Software
Input Word # Name Size Range Description
IW0 Totalized Error Count 1 0 to 65535 Cumulative Communication Errors Totals
IW2 Command Confirmation 1 16 or 17 Command Completed; subsequent values now valid
IW4 Comms Status (Current Command) 1 0 to 4
Must be 0 for subsequent variables to be valid
IW6 System Type 1 2 or 9 2=tenths of grams, 9=grams IW8 Software Type 1 4 4=four component software IW10 Sequence Number 1 0 Reserved for future use
IW12 Cycles 1 0 to 65535 Number of batches that have been made
IW14 Flag 1 0 Reserved for future use
ID16 Total Hopper 1 2 0 to 4294967295 Grams (or tenths of grams) used
ID20 Total Hopper 2 2 0 to 4294967295 Grams (or tenths of grams)
used
ID24 Total Hopper 3 2 0 to 4294967295 Grams (or tenths of grams)
used
ID28 Total Hopper 4 2 0 to 4294967295 Grams (or tenths of grams)
used IW30 � IW60 Pad 5-12 16 0 Padding always zero
32
Response Format Type 2 - Twelve Component Software - continued
Input Word # Name Size Range Description
IW0 Totalized Error Count 1 0 to 65535 Cumulative Communication Errors Totals
IW2 Command Confirmation 1 16 or 17 Command Completed; subsequent values now valid
IW4 Comms Status (Current Command) 1 0 to 4
Must be 0 for subsequent variables to be valid 1 = No totals available
IW6 System Type 1 2 or 9 2=tenths of grams, 9=grams IW8 Software Type 1 4 4=four component software IW10 Sequence Number 1 0 Reserved for future use
IW12 Cycles 1 0 to 65535 Number of batches that have been made
IW14 Flag 1 0 Reserved for future use
ID16 Total Hopper 1 2 0 to 4294967295 Grams (or tenths of grams) used
ID20 Total Hopper 2 2 0 to 4294967295 Grams (or tenths of grams)
used
ID24 Total Hopper 3 2 0 to 4294967295 Grams (or tenths of grams)
used
ID28 Total Hopper 4 2 0 to 4294967295 Grams (or tenths of grams)
used
ID32 Total Hopper 6 2 0 to 4294967295 Grams (or tenths of grams)
used
ID36 Total Hopper 7 2 0 to 4294967295 Grams (or tenths of grams)
used
ID40 Total Hopper 8 2 0 to 4294967295 Grams (or tenths of grams)
used
ID44 Total Hopper 9 2 0 to 4294967295 Grams (or tenths of grams)
used
ID48 Total Hopper 10 2 0 to 4294967295 Grams (or tenths of grams)
used
ID52 Total Hopper 11 2 0 to 4294967295 Grams (or tenths of grams)
used
ID56 Total Hopper 12 2 0 to 4294967295 Grams (or tenths of grams)
used Note 1: If the "Command Code" is set to 16, the controller will reset an internal flag indicating that the totals have been received. If, however, "Command Code" is set to 17, the flag will NOT be reset. See the "System Type" part of the "Get Settings" command for how the internal flag is used.
33
Get Type Description: Returns the software type (4 or 12) and load cell type (2 or 9), (tenths of grams or whole grams) Command Format Output Word # Name Size Range Description
QW0 Command Code 1 49 Get Type Command Response Format
Input Word # Name Size Range Description
IW0 Totalized Error Count 1 0 to 65535 Cumulative Communication Errors Totals
IW6 � IW16 Version Number 6 ASCII Software version number (ASCII)
34
Get Weight Units Description: Returns the units that the blender is using to display totals, such as pounds or kilograms. This command is needed to interpret the Get Batch Info command. Command Format Output Word # Name Size Range Description
QW0 Command Code 1 85 Get Version Command Response Format
Input Word # Name Size Range Description
IW0 Totalized Error Count 1 0 to 65535 Cumulative Communication Errors Totals
VIEW Q * * RECP h 0 0 BTCH H CE X FAST I HOLD M EXIT E DUMP D ---------------------- ------------------- SET S PARA K OPER O ZERO Z TIME T FULL F CAL L MIX G ---------------------- ALRM k TAG e REG R ---------------------- 1 1 2 2 3 3 NAT / A A ---------------------- 4 4 5 5 6 6 COL / B B ---------------------- 7 7 8 8 9 9 ADD / C C ----------------------
36
Send Settings Description: Sets the mix percentages, component types, work order #, and operator #. Command Format Type 1 - Four Component Software Output Word # Name Size Range Description
QW0 Command Code 1 19 Send Settings Command QW2 Type Hopper 1 1 1 Always 1=regrind QW4 Setting Hopper 1 1 0 to 999 Implied decimal point ##.# QW6 Type Hopper 2 1 2 Always 2=natural QW8 Setting Hopper 2 1 0 Always on QW10 Type Hopper 3 1 3 Always 3=color QW12 Setting Hopper 3 1 0 to 255 Implied decimal point ##.# QW14 Type Hopper 4 1 3 Always 3=additive QW16 Setting Hopper 4 1 0 to 999 Implied decimal point ##.#
QW18 � QW48 Padding 16 0 Padding always zero QW50 Recipe number 1 100 to 65536 Recipe number QD52 Work Order Number 2 0 to 999999 Work order number QW56 Operator number 1 0 to 999 Operator number
Command Format Type 2 - Twelve Component Software Output Word # Name Size Range Description
QW0 Command Code 1 19 Send Settings Command
QW2 Type Hopper 1 1 0 to 3 1=regrind, 2=natural, 3=additive/color, 0=none
QW4 Setting Hopper 1 1 0 to 999 Implied decimal point r/a ##.# or n ###
QW6 Type Hopper 2 1 0 to 3 1=regrind, 2=natural, 3=additive/color, 0=none
QW8 Setting Hopper 2 1 0 to 999 Implied decimal point r/a ##.# or n ###
QW10 Type Hopper 3 1 0 to 3 1=regrind, 2=natural, 3=additive/color, 0=none
QW12 Setting Hopper 3 1 0 to 999 Implied decimal point r/a ##.# or n ###
QW14 Type Hopper 4 1 0 to 3 1=regrind, 2=natural, 3=additive/color, 0=none
QW16 Setting Hopper 4 1 0 to 999 Implied decimal point r/a ##.# or n ###
QW18 Type Hopper 5 1 0 to 3 1=regrind, 2=natural, 3=additive/color, 0=none
QW20 Setting Hopper 5 1 0 to 999 Implied decimal point r/a ##.# or n ###
37
Command Format Type 2 - Twelve Component Software � continued
QW22 Type Hopper 6 1 0 to 3 1=regrind, 2=natural, 3=additive/color, 0=none
QW24 Setting Hopper 6 1 0 to 999 Implied decimal point r/a ##.# or n ###
QW26 Type Hopper 7 1 0 to 3 1=regrind, 2=natural, 3=additive/color, 0=none
QW28 Setting Hopper 7 1 0 to 999 Implied decimal point r/a ##.# or n ###
QW30 Type Hopper 8 1 0 to 3 1=regrind, 2=natural, 3=additive/color, 0=none
QW32 Setting Hopper 8 1 0 to 999 Implied decimal point r/a ##.# or n ###
QW34 Type Hopper 9 1 0 to 3 1=regrind, 2=natural, 3=additive/color, 0=none
QW36 Setting Hopper 9 1 0 to 999 Implied decimal point r/a ##.# or n ###
QW38 Type Hopper 10 1 0 to 3 1=regrind, 2=natural, 3=additive/color, 0=none
QW40 Setting Hopper 10 1 0 to 999 Implied decimal point r/a ##.# or n ###
QW42 Type Hopper 11 1 0 to 3 1=regrind, 2=natural, 3=additive/color, 0=none
QW44 Setting Hopper 11 1 0 to 999 Implied decimal point r/a ##.# or n ###
QW46 Type Hopper 12 1 0 to 3 1=regrind, 2=natural, 3=additive/color, 0=none
QW48 Setting Hopper 12 1 0 to 999 Implied decimal point r/a ##.# or n ###
QW50 Recipe number 1 100 to 999 Recipe number QD52 Work Order Number 2 0 to 999999 Work order number QW56 Operator number 1 0 to 999 Operator number
Response Format Input Word # Name Size Range Description
IW0 Totalized Error Count 1 0 to 65535 Cumulative Communication Errors Totals
NOTE 1: A flag of 0 means to stop running batches. A flag of 1 means to sound the alarm and stop running at the end of the batch. A flag of 2 means to sound the alarm but continue running at the end of the batch.
NOTE 2: Batch weight is given in pounds if "Get Weight Units" returns either pounds or ounzes.
If "Get Weight Units" returns either kilograms or grams, then batch weight is in kilograms.
39
Set Date And Time Description: Sets the date and time for a particular blender. If the address is 0, all WSBs are set with the new date and time and NO response is sent back. Command Format Output Word # Name Size Range Description
QW0 Command Code 1 81 Set Date and Time Command QW2 � QW8 Date and TIme 4 See note 1 See note 1
Note 1 - Date and Time
Bit # Name Range Description 0 to 7 Padding 0 8 to 11 Seconds (ones place) 0 to 9 yy/mm/dd hh:mm:sS 12 to 14 Seconds (tens place) 0 to 5 yy/mm/dd hh:mm:Ss 15 Padding 0 16 to 19 Minutes (ones place) 0 to 9 yy/mm/dd hh:mM:ss 20 to 22 Minutes (tens place) 0 to 5 yy/mm/dd hh:Mm:ss 23 Padding 0 24 to 27 Hours (ones place) 0 to 9 yy/mm/dd hH:mm:ss 28 to 29 Hours (tens place) 0 to 2 yy/mm/dd Hh:mm:ss 30 Padding 0 31 One 1 32 to 34 Day of week 1 to 7 1 = sunday, 2=monday, ..., 7=saturday 35 Padding 0 36 One 1 37 Padding 0 38 to 39 Padding 0 40 to 43 Day (ones place) 0 to 9 yy/mm/dD hh:mm:ss 44 to 45 Day (tens place) 0 to 3 yy/mm/Dd hh:mm:ss 46 to 47 Padding 0 48 to 51 Month (ones place) 0 to 9 yy/mM/dd hh:mm:ss 52 Month (tens place) 0 or 1 yy/Mm/dd hh:mm:ss 53 to 55 Padding 0 56 to 59 Year (ones place) 0 to 9 yY/mm/dd hh:mm:ss 60 to 63 Years (tens place) 0 to 9 Yy/mm/dd hh:mm:ss
Response Format Input Word # Name Size Range Description
IW0 Totalized Error Count 1 0 to 65535 Cumulative Communication Errors Totals
NOTE: Parameters explanations are given in the blender manual.
Set Remote Keypad Description: Enables or disables the controller's keypad and/or the "Send Keystroke" MLAN command. Command Format Output Word # Name Size Range Description
QW0 Command Code 1 88 Set Remote Keypad Command QW2 FLAG 1 0 or 1 See note 1
Response Format
Input Word # Name Size Range Description
IW0 Totalized Error Count 1 0 to 65535 Cumulative Communication Errors Totals
Note 1: A flag of 0 enables the keypad on the controller and disables the "Send Keystroke"
41
MLAN command. A flag of 1 disables the keypad and enables the command.
42
Set Steady State Rate Description: Sets throughput rate. Note however that the blender will continue to reset the rate accordingly to how much material is being consumed. This is useful if you know that the rate just changed, such as in extrusion control, and you don't want to wait until the blender figures it out. Command Format Output Word # Name Size Range Description
QW0 Command Code 1 65 Set Steady State Rate Command
QD2 Steady State Rate 2 0 to 4294967295 Grams (or tenths of grams) per hour
Response Format
Input Word # Name Size Range Description
IW0 Totalized Error Count 1 0 to 65535 Cumulative Communication Errors Totals
Set Target Throughput Description: Sets the Target Throughput for extrusion control. See XCV parameter in blender manual for more information. Command Format Output Word # Name Size Range Description
QW0 Command Code 1 30 Set Target Throughput Command
QD2 Target Throughput 2 0 to 4294967295
Response Format
Input Word # Name Size Range Description
IW0 Totalized Error Count 1 0 to 65535 Cumulative Communication Errors Totals
Set Weight Units Description: Sets the units that the blender uses to display totals, such as pounds or kilograms. Command Format Output Word # Name Size Range Description
QW0 Command Code 1 86 Set Weight Units Command
QW2 Weight units 1 0, 1, 2, or 4
0=pounds, 1=ounces, 2=grams, 4=kilograms
Response Format
Input Word # Name Size Range Description
IW0 Totalized Error Count 1 0 to 65535 Cumulative Communication Errors Totals
Silence Alarm Description: Has the same effect as if the silence alarm button was pressed. Command Format Output Word # Name Size Range Description
QW0 Command Code 1 82 Silence Alarm Command
Response Format
Input Word # Name Size Range Description
IW0 Totalized Error Count 1 0 to 65535
Cumulative Communication Errors Totals
IW2 Command Confirmation 1 82
Command Completed; subsequent values now valid
IW4 Comms Status (Current Command) 1 0 to 4
0 = ack 1 = nak 4 = invalid parameter
46
Start/Stop/Status Description: Either causes the WSB to stop at the end of the current cycle, start up again, or return its current status. Command Format Output Word # Name Size Range Description
Stop Cycle / Stop Retry Description: Either causes the WSB to abort the current cycle or the current dispense. Aborting the current cycle causes the WSB to start the next cycle. Aborting the current dispense causes the WSB to start dispensing the next component. Command Format Output Word # Name Size Range Description
Parameter Table for 12 Component Blender Software (Sample as of version 01003T) Prior chip versions may not contain all listed parameters, future chip versions may contain additional parameters.