Anda di halaman 1dari 57

MAGUIRE PRODUCTS, INC.

11 Crozerville Road
Aston, PA 19014, USA
Tel: + 1 610 459 4300
Fax: +1 610 459 2700
info@maguire.com
MAGUIRE EUROPE
Tame Park, Tamworth
B77 5DY, UK
Tel: + 44 1827 265 850 Fax:
+44 1827 265 855
info@maguire-europe.com

PROFIBUS PROTOCOL MANUAL


July 25, 2001

Maguire WSB Blender MLAN Gateway


Blender Data Communications
Integrated to Maguire MLAN Protocol

Copyright Maguire Products Inc, Aston PA, USA. 2001

Table of Contents:
PRODUCT RANGE OVERVIEW
PRODUCT CODES
COMMUNICATION SPEEDS
EXTERNAL / INTERNAL GATEWAY SPECIFICATIONS

4
4
5

OPERATION MLAN GATEWAY


POWER REQUIREMENTS EXTERNAL UNITS ONLY
LED OPERATION
INSTALLATION DEFAULT ADDRESS & SPEED

5
5
5
6

INSTALLATION & CONNECTION OF AN INTERNAL MLAN GATEWAY CARD


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.
SELECTION OF MODBUS OR PROFIBUS PROTOCOL

6
6
6
7
7
9

MANUAL CONFIGURATION OF NETWORK NODE ADDRESS AND BIT-RATE


PROFIBUS CONNECTOR
PROGRAMMING OVERVIEW
INTRODUCTION
PROGRAMMING CONSIDERATIONS
MLAN COMMAND HISTORY

10
10
12

PROFIBUS COMMUNICATION FOR WSB

GENERAL INFORMATION
COMMAND STRUCTURE
COMMS STATUS EXPLANATIONS
ADDITIONS TO THE MLAN COMMAND DESCRIPTIONS FOR USE WITH PROFIBUS
PROFIBUS SLAVE PARAMETERISATION: USER-PARAMETERS
GSD FILE (ELECTRONIC DATA SHEET)
PROFIBUS COMMAND EXAMPLE
PROFIBUS REFERENCE NUMBERS FOR BLENDER PARAMETERS

13
14
14
14
15
15
18
19

DATA COMMANDS

CLEAR TOTALS
CLEAR TOTALS IMMEDIATELY
GET ALL PARAMETERS
GET BATCH INFO
GET CYCLE WEIGHT AND TIME
GET DISPLAY
GET PARAMETER
GET SETTINGS
GET STATUS
GET STEADY STATE RATE

20
20
21
21
22
22
23
24
27
29
2

GET TARGET THROUGHPUT & STATUS


GET TOTALS
GET TYPE
GET VERSION
GET WEIGHT UNITS
SEND KEYSTROKE
SEND SETTINGS
SET BATCH WEIGHT
SET DATE AND TIME
SET STEADY STATE RATE
SET TAG
SET TARGET THROUGHPUT
SET WEIGHT UNITS
SILENCE ALARM
START/STOP/STATUS
STOP CYCLE / STOP RETRY
PARAMETER TABLE FOR 12 COMPONENT BLENDER SOFTWARE (SAMPLE AS OF VERSION 01003T)

30
31
33
33
34
34
36
38
39
42
43
44
44
45
46
47
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.

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:

Internal Communications
Card mounted inside the
Maguire WSB Controller
for Modus, Profibus and
DeviceNet. (Profibus /
Modus Card shown)

External Fieldbus DIN Rail Mountable Box for Profibus,


Modbus and DeviceNet Communications

Due
Product Codes
to
the
Product Codes for the units
type
are as follows:
of
phys
Description
ical
External DIN Rail Unit inter
DeviceNet
face
Modbus
requ
Profibus
ired,
The External DIN-Rail boxed the
unit automatically detects
Inter
which type of network is
nal
connected and adapts the
Card
configuration to the network is
found.
eithe

r
Devic
eNet
only,
or
Profib
us /
Modb
us.

ically 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.

Communic
ation
Speeds
The
Profibus
interfac
e
automat

External / Internal Gateway Specifications


General

External Size
Mounting
Fieldbus Interface
Host Interface
Operating Temperature
Operating Humidity
Supply Voltage
Maximum Power

Power Requirements

H90 x W105 x D60mm


Direct onto 35mm DIN rail
Profibus, Modbus RTU and DeviceNet
MLAN
0-55 C
30-90% non-condensing
11 - 30Volts dc
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)


Wait Parameter / Wait Configuration
Data Exchange

Red

Flashing Red

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 nonvolatile 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.

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


6

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:

1 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.

2 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).

3 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).

4 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:

1 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 Gateways
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:

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-thegateway-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

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.

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 controllers software type:

1. The simplest and quickest method is to turn the blender controller off and on again. You

2.
3.

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.
Use the command Get Settings from Weigh Scale command code 20
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:

1 Load Cells for the Micro blender, 100 and 200 series of blenders read in tenths of grams.
2 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.

10

Summary of all MLAN commands


MLAN Command

Code

Description

Clear Totals
Clear Totals
Immediately
Get Address

24
28

Resets all materials totals to zero at the end of the next blender cycle.
Resets all materials totals to zero immediately.

54

Get All Parameters

22

Get Batch Info

84

Get Cycle Weight &


Time
Get Display
Get Parameter
Get Settings

50

Get Status
Get Steady State Rate
Get Target Throughput
& Status
Get Totals
Get Totals
Get Type

53
64
29

Returns Controller Address


*** Not supported by the MLAN Gateway Adapter ***
Returns all of the parameters and their values
*** Not supported by the MLAN Gateway Adapter ***
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)
Returns the size of the last batch / cycle and the duration of time between the last
two cycles.
Returns the current display buffer.
Returns the value of a specific parameter.
Returns the mix percentages and component types along with the recipe, work
order and operator number.
Returns the current state of all signal inputs and outputs.
Returns the steady state throughput rate of the blender.
Returns the current target throughput and the extrusion control status.

Get Version
Get Weigh Units

80
85

Send Keystroke

87

Send Settings

19

Set Batch Weight


Set Date & Time
Set Parameter
Set Remote Keypad
Set Steady Rate

83
81
68
88
65

Set Tag
Set Target Throughput
Set Weight Units
Silence Alarm
Start / Stop / Status

90
30
86
82
55

Stop Cycle / Stop Retry

27

56
69
20

16
17
49

Returns the current totals and resets the internal flag


Returns the current totals without resetting the internal flag
Returns the controller software type (4 or 12) and load cell type (tenths of grams
or full grams)
Returns the version of software in the controller.
Returns the units that the blender is using to display totals Pounds, Kilograms,
Ounces or Grams
Sends a virtual keystroke to the keypad on the controller see Set Remote
Keypad
Sets the mix percentages and material types also sets work order and operator
numbers.
Sets the size of a single batch in blender in grams.
Sets the Date and Time of a blender.
Sets the value of a specific parameter.
Enable / Disable Controller Keypad and or the Send Keystroke command
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
Sets either recipe, operator or work order number on the controller.
Sets the target throughput rate for extrusion control mode.
Sets the weight unit used by the blender to display totals such as pounds or kilos.
Silences the alarm for a specific blender
Instructs the blender to stop at the end of the current cycle, start up, or return
current operating status.
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.

11

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:

1 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.

2 Chips after 90317A (03/17/1999) will have all parameters available.


3 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
Clear Totals
Clear Totals Immediately
Get Address
Get All Parameters
Get Batch Info
Get Cycle, Weight & Time
Get Display
Get Parameter
Get Settings
Get Status
Get Steady State Rate
Get Target Throughput
Status
Get Totals
Get Type

60603A
20414A
80609A
50925A
60809A
60603A
30913A
50925A
70205T
20414A
41019A
60603A
90317A

Get Weight Units


Set Remote Keypad
Send Keystroke
Send Settings
Set Batch Weight
Set Date & Time
Set Parameter
Set Steady State Rate
Set Tag
Set Target Throughput
Set Weight Units
Silence Alarm
Start / Stop / Status

60710T
60911T
60911T
20414T
60603A
60603A
70529A
70916T
60710T
90317A
60710T
60603A
60603A

20414A
20414A

Stop Cycle / Stop Retry


XT Parameters

71222T
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.

12

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)


0 and 1
2 and 3
4 and 5
6 and 7
8 and 9
10 to 65

Function
Totalized Comms Error count
Command Confirmation
Comms Status (current command)
Variable 1
Variable 2
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.
13

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. Fourcomponent 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

14

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"
15

Ident_Number
= 0x73C
Protocol_Ident
=0
Station_Type
=0
FMS_supp
=0
Hardware_Release = "1"
Software_Release
= "1"
;
9.6_supp
=1
19.2_supp
=1
93.75_supp
=1
187.5_supp
=1
500_supp
=1
1.5M_supp
=1
3M_supp
=1
6M_supp
=1
12M_supp
=1
;
MaxTsdr_9.6
= 60
MaxTsdr_19.2
= 60
MaxTsdr_93.75
= 60
MaxTsdr_187.5
= 60
MaxTsdr_500
= 100
MaxTsdr_1.5M
= 150
MaxTsdr_3M
= 250
MaxTsdr_6M
= 450
MaxTsdr_12M
= 800
;
Redundancy
=0
Repeater_Ctrl_Sig = 2
24V_Pins
=2
Implementation_Type = "non-ASIC"
;
Freeze_Mode_supp
=1
Sync_Mode_supp
=1
Auto_Baud_supp
=1
Set_Slave_Add_supp = 1
Min_Slave_Intervall = 20
;
Modular_Station
=0
Max_Module
=9
Max_Input_Len
= 66
Max_Output_Len = 66
Max_Data_Len
= 132
Max_User_Prm_Data_Len = 7
;
Fail_Safe
=0
Slave_Family
=9
Max_Diag_Data_Len = 8
;
Ext_User_Prm_Data_Const(0) = 0xC0,0x00,0x00
Ext_User_Prm_Data_Ref(3) = 1
Ext_User_Prm_Data_Ref(4) = 2
Ext_User_Prm_Data_Ref(5) = 3
;
Module = "Maguire WSB" 0xC0, 0xE0, 0xE0
1
16

EndModule
;

17

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)
2 and 3
(QW2)
4 and 5
(QW4)
6 to 65 (QW6 to QW64)

69
62
3
Unused

MLAN Command Code Get Parameter


Profibus Reference number for the LA Parameter
Hopper / Component number

Input Address (Byte offset)

Reply

Description

0 and 1
(IW0)
2 and 3 (IW2)
4 and 5
(IW4)
6 and 7
(IW6)
8 and 9
(IW8)
10 to 65 (IW10 to IW64)

0
69
0
20

Totalized errors 0
Command confirmation 69
Comms status (ok) 0
(_AL value) 20
Unused
Unused

Table 2: Input Data: Reply to Command

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.

18

Profibus Reference Numbers for Blender Parameters


(Reference Table 4)
Profibus
4 Software
Reference # Parameters
1

FLG

MIX

FCV

DTI

KDF

WDF

BER

ROC

ROV

10

RHL

11

FUL

12

MAX

13

TH

14

TL

15

PRT

16

RLO

17

DLY

18

LT1

19

LT2

20

PRC

21

STL

22

LCL

23

LCH

24

LCF

25

LCZ

26
27
28

SCR

28

BCR

30

XCV

31

XRC

32

TCV

33

TRC

34

XTP

35

XAL

36

XUL

37

CPL

38

MPO

Profibus
Reference #

12 Software
Parameters

12 Software
Component #

50

_TY

1 TO 12

51

_CS

1 TO 12

_AL

1 TO 12

_XT

1 TO 12

_SE

1 TO 12

_WT

1 TO 12

_TI

1 TO 12

_MI

1 TO 12

_NC

1 TO 12

_PT

1 TO 12

_RP

1 TO 12

_RD

1 TO 12

_LA

1 TO 12

52

53
54

55

56

57

58

59

60

61

62

4 Software
Parameters

4 Software
Component #

RAL

NAL

CAL

AAL

CXT

AXT

RSE

CSE

ASE

RWT

NWT

CWT

AWT

RTI

NTI

CTI

ATI

RMI

NMI

CMI

AMI

RNC

NNC

CNC

ANC

RPT

NPT

CPT

APT

RRP

NRP

CRP

ARP

RRD

NRD

CRD

ARD

RLA

NLA

CLA

19

Data Commands

Clear Totals
Description: Resets the totals to zero.
Command Format
Output Word #
Name
QW0
Command Code

Size
1
24

Range

Description
Clear Totals Command

Size

Range

Description
Cumulative Communication
Errors Totals
Command Completed;
subsequent values now valid
0 = Command Executed
Successfully
1 = Command Failed

Response Format
Input Word #

Name

IW0

Totalized Error Count

0 to 65535

IW2

Command Confirmation

24

IW4

Comms Status (Current


Command)

0 to 4

NOTE:

The totals will not be erased until the end of the current cycle. If the blender is idle,
the totals will be cleared at the end of the next cycle.

Clear Totals Immediately


Description: Resets the totals to zero.
Command Format
Output Word #
QW0

Name
Command Code

Size
1

Range
28

Description
Clear Totals Immediately
Command

Response Format
Input Word #

Name

Size

IW0

Totalized Error Count

IW2

Command Confirmation

IW4

Comms Status (Current


Command)

NOTE:

Range

Description
Cumulative Communication
0 to 65535 Errors Totals
Command Completed;
28
subsequent values now valid
0 = Command Executed
Successfully
0 to 4
1 = Command Failed

The totals will be erased immediately.

20

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 #
QW0

Name
Command Code

Size
1

Range

Description
Get Batch Information
Command

Range

Description
Cumulative Communication
Errors Totals
Command Completed;
subsequent values now valid
Must be 0 for subsequent
variables to be valid
Batch Weight (Pounds or
Kilos only)
Completed portion of current
batch
Total weight of all completed
batches
Total number of completed
batches

84

Response Format
Input Word #

Name

Size

IW0

Totalized Error Count

0 to 65535

IW2

84

IW4

Command Confirmation
Comms Status (Current
Command)

0 to 4

IW6

Batch Weight

0 to 65535

IW8

Current portion

0 to 65535

IW10

Accumulative Total

0 to 65535

IW12

Batch Count

0 to 65535

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.

21

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 #
QW0

Name
Command Code

Size
1

Range

Description
Get Batch Information
Command

Range

Description
Cumulative Communication
Errors Totals
Command Completed;
subsequent values now valid
Must be 0 for subsequent
variables to be valid
Grams (or tenths of grams) in
last cycle
Number of interrupts during
the last cycle (244/sec)

50

Response Format
Input Word #

Name

Size

IW0

Totalized Error Count

0 to 65535

IW2

Command Confirmation
Comms Status (Current
Command)

50

0 to 4

Cycle Weight
Cycle Time

1
2

0 to 65536
0 to 4294967295

IW4
IW6
ID8

Get Display
Description: Returns the current light emitting diode (LED) buffer.
Command Format
Output Word #
Name
QW0
Command Code

Size
1 56

Range

Description
Get Display Command

Size

Range

Description
Cumulative Communication
Errors Totals
Command Completed;
subsequent values now valid
Must be 0 for subsequent
variables to be valid
ASCII characters currently
displayed on LED. 1 Char
per Word
IW6 is the leftmost character

Response Format
Input Word #

Name

IW0

Totalized Error Count

0 to 65535

IW2

Command Confirmation
Comms Status (Current
Command)

56

0 to 4

Display

ASCII

IW4
IW6-IW20

22

Get Parameter
Description: Gets a single parameter.
Command Format
Output Word #
QW0
Command Code

Name

Size Range
1
69

QW2

Parameter reference number

0 to 63

QW4

Component Number

1 to 4
1 to 12

Description
Get Parameter Command
Parameter number
please refer to table below
1 4 = 4 Software
(R,N,C,A)
1 12= 12 Software
(1,2,3,4,5,6,7,8,9,10,11,12
)

Response Format
Input Word #

Name

Size

IW0

Totalized Error Count

IW2

Command Confirmation

IW4

Comms Status (Current Command)

IW6

Parameter Value

NOTE:

Range

Description
Cumulative
Communication Errors
0 to 65535 Totals
Command Completed;
subsequent values now
69
valid
Must be 0 for subsequent
0 to 4
variables to be valid
The value of the
0 to 65535 parameter.

Parameter definitions are given in the blender manual.

23

Get Settings
Description: Returns the mix percentages, component types, work order #, and operator #.
Command Format (type 1 - Four Component Software)
Output Word #
Name
QW0
Command Code

Size
1
20

Range

Description
Get Settings Command

Range

Response Format Type 1 - Four Component Software


Input Word #
IW0

Totalized Error Count

0 to 65535

IW2

20

IW4

Command Confirmation
Comms Status (Current
Command)

0 to 4

IW6

System Type

2, 3, 9, or 10

IW8

Software Type

IW10
IW12
IW14 IW16

Type Hopper 1
Setting Hopper 1
Pad 2

1
1
2

0
0 to 999
0

IW18
IW20

Type Hopper 3
Setting Hopper 3

1
1

0
0 to 999

IW22
IW24
IW26 IW56
IW58
IW60

Type Hopper 4
Setting Hopper 4
Pad 5-12
Recipe number
Operator number

1
1
16
1
1

0
0 to 999
0
100 to 65535
0 to 999

Description
Cumulative Communication
Errors Totals
Command Completed;
subsequent values now valid
Must be 0 for subsequent
variables to be valid
2=tenths of grams, also, NO
change in totals
Since last get total cmd (16)
3=tenths of grams, also,
change in totals
Since last get total cmd (16)
9=grams, also, NO change in
totals
Since last get total cmd (16)
10=grams, also, change in
totals
Since last get total cmd (16)
4=four component software
Always zeros (implied
1=regrind)
Implied decimal point ##.#
Padding always zero
Always zeros (implied
3=color)
Implied decimal point ##.#
Padding always zeros
(implied 3=additive)
Implied decimal point ##.#
Padding always zero
Recipe number
Operator number

Work Order Number

0 to 999999

Work order number

ID62

Name

Size

24

Response Format Type 2 - Twelve Component Software


Input Word #

Name

Size

Range

IW0

Totalized Error Count

0 to 65535

IW2

20

IW4

Command Confirmation
Comms Status (Current
Command)

0 to 4

IW6

System Type

2, 3, 9, or 10

IW8

Software Type

12

IW10

Type Hopper 1

0 to 3

IW12

Setting Hopper 1

0 to 999

IW14

Type Hopper 2

0 to 3

IW16

Setting Hopper 2

0 to 999

IW18

Type Hopper 3

0 to 3

IW20

Setting Hopper 3

0 to 999

IW22

Type Hopper 4

0 to 3

IW24

Setting Hopper 4

0 to 999

IW26

Type Hopper 5

0 to 3

IW28

Setting Hopper 5

0 to 999

IW30

Type Hopper 6

0 to 3

IW32

Setting Hopper 6

0 to 999

IW34

Type Hopper 7

0 to 3

IW36

Setting Hopper 7

0 to 999

Description
Cumulative Communication
Errors Totals
Command Completed;
subsequent values now valid
Must be 0 for subsequent
variables to be valid
2=tenths of grams, also, NO
change in totals
Since last get total cmd (16)
3=tenths of grams, also,
change in totals
Since last get total cmd (16)
9=grams, also, NO change in
totals
Since last get total cmd (16)
10=grams, also, change in
totals
Since last get total cmd (16)
12=twelve component
software
1=regrind, 2=natural,
3=additive/color, 0=none
Implied decimal point r/a ##.#
or n ###
1=regrind, 2=natural,
3=additive/color, 0=none
Implied decimal point r/a ##.#
or n ###
1=regrind, 2=natural,
3=additive/color, 0=none
Implied decimal point r/a ##.#
or n ###
1=regrind, 2=natural,
3=additive/color, 0=none
Implied decimal point r/a ##.#
or n ###
1=regrind, 2=natural,
3=additive/color, 0=none
Implied decimal point r/a ##.#
or n ###
1=regrind, 2=natural,
3=additive/color, 0=none
Implied decimal point r/a ##.#
or n ###
1=regrind, 2=natural,
3=additive/color, 0=none
Implied decimal point r/a ##.#
or n ###

25

Response Format Type 2 - Twelve Component Software - continued

IW38

Type Hopper 8

0 to 3

IW40

Setting Hopper 8

0 to 999

IW42

Type Hopper 9

0 to 3

IW44

Setting Hopper 9

0 to 999

IW46

Type Hopper 10

0 to 3

IW48

Setting Hopper 10

0 to 999

IW50

Type Hopper 11

0 to 3

IW52

Setting Hopper 11

0 to 999

IW54

Type Hopper 12

0 to 3

IW56
IW58
IW60
ID62

Setting Hopper 12
Recipe number
Operator number
Work Order Number

1
1
1
2

0 to 999
100 to 65536
0 to 999
0 to 999999

1=regrind, 2=natural,
3=additive/color, 0=none
Implied decimal point r/a ##.#
or n ###
1=regrind, 2=natural,
3=additive/color, 0=none
Implied decimal point r/a ##.#
or n ###
1=regrind, 2=natural,
3=additive/color, 0=none
Implied decimal point r/a ##.#
or n ###
1=regrind, 2=natural,
3=additive/color, 0=none
Implied decimal point r/a ##.#
or n ###
1=regrind, 2=natural,
3=additive/color, 0=none
Implied decimal point r/a ##.#
or n ###
Recipe number
Operator number
Work order number

26

Get Status
Description: Returns the current state of all signal inputs and outputs.
Command Format
Output Word #
Name
QW0
Command Code

Size
1

Range

Description
Get Status Command

Range

Description
Cumulative Communication Errors
Totals
Command Completed; subsequent
values now valid
Must be 0 for subsequent variables to
be valid
See note 1
See note 2
See note 3

53

Response Format
Input Word #

Name

Size

IW0

Totalized Error Count

0 to 65535

IW2

Command Confirmation
Comms Status (Current
Command)
Output Status
Alarm Status
Sensor Status

20

1
1
1
1

0 to 4
0 to 65535
0 to 255
0 to 255

IW4
IW6
IW8
IW10

Note 1a - Output status for FOUR component software


BIT
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

Name
Mixer Valve
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Mix Motor
Alarm
Weigh Bin Valve
Additive
Color
Natural
Regrind
Reserved

Value
1=open 0=closed
1=open 0=closed
1=open 0=closed
1=open 0=closed
1=open 0=closed
1=open 0=closed
1=open 0=closed
1=open 0=closed
1=open 0=closed
1=open 0=closed
1=open 0=closed
1=open 0=closed
1=open 0=closed
1=on 0=off
1=open 0=closed
1=on 0=off

Description
Rightmost bit

Leftmost bit

27

Note 1b - Output status for TWELVE component software


BIT
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

Name
Component 1
Component 2
Component 3
Component 4
Component 5
Component 6
Component 7
Component 8
Component 9
Component 10
Component 11
Component 12
Weigh Bin Valve
Mix Motor
Mixer Valve
Alarm

Value
1=open 0=closed
1=open 0=closed
1=open 0=closed
1=open 0=closed
1=open 0=closed
1=open 0=closed
1=open 0=closed
1=open 0=closed
1=open 0=closed
1=open 0=closed
1=open 0=closed
1=open 0=closed
1=open 0=closed
1=on 0=off
1=open 0=closed
1=on 0=off

Description
Rightmost bit

Leftmost bit

Note 2 - Alarm Status


BIT
0 to 6

7
8-15

Name
Alarm Code

Alarm Silenced
Unused

Value
1 to 12=Component
alarm
13 = Batch Alarm
14 = Bail Out Alarm
15 = Dump Alarm
1 = silenced

Description
Bit 0 is the
rightmost bit

Leftmost bit

Note 3 - Sensor Status


BIT
0
1 to 3
4
5
6
7

8-15

Name
Empty bin mix motor
sensor or switch
Reserved
Manual Mode
Program Mode
Running Mode
Soft Stop Mode *
* See Start/Stop/Status
command
Unused

Value
1=yes 0=no

Description
Rightmost bit

1=yes 0=no
1=yes 0=no
1=yes 0=no
1=yes 0=no

Leftmost bit

28

Get Steady State Rate


Description: Returns throughput rate.
Command Format
Output Word #
QW0

Name
Command Code

Size
1

Range

Description
Get Steady State Rate
Command

Range

Description
Cumulative Communication
Errors Totals
Command Completed;
subsequent values now valid
Must be 0 for subsequent
variables to be valid
Grams (or tenths of grams)
per hour

64

Response Format
Input Word #

Name

Size

IW0

Totalized Error Count

0 to 65535

IW2

64

IW4

Command Confirmation
Comms Status (Current
Command)

0 to 4

ID6

Steady State Rate

0 to 4294967295

29

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 #
QW0

Name
Command Code

Size
1

Range
29

Description
Get Target Throughput & Status
Command

Response Format
Input Word #

Name

Size

IW0

Totalized Error Count

IW2

IW4
IW6

Command Confirmation
Comms Status (Current
Command)
Status

ID8

Steady State Rate

1
1

Range

Description
Cumulative Communication
0 to 65535
Errors Totals
Command Completed;
29
subsequent values now valid
Must be 0 for subsequent
0 to 4
variables to be valid
0 to 255
See note 1
0 to
Grams (or tenths of grams) per
4294967295 hour

Note 1 Status
BIT
0

Name
Extrusion control

1
2
3
4
5 - 15

Reserved

Value
1=on
0=off
1=steady
0=not steady
1=Throughput
0=Voltage
1=Grams
0=Tenths of Grams
1=Yield 0=Weight

Description
Bit 0 is the rightmost bit
T or no T on display
Controlling mode
Weight unit of rate
See note 2
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).

30

Get Totals
Description: Returns the current totals.
Command Format
Output Word #
QW0

Name
Command Code

Size
1

Range
16 or 17

Description
Get Totals Command - see
note 1

Response Format Type 1 - Four Component Software


Input Word #

Name

Size

Range

IW0

Totalized Error Count

0 to 65535

IW2

16 or 17

IW4
IW6
IW8
IW10

Command Confirmation
Comms Status (Current
Command)
System Type
Software Type
Sequence Number

1
1
1
1

0 to 4
2 or 9
4
0

IW12
IW14

Cycles
Flag

1
1

0 to 65535
0

ID16

Total Hopper 1

0 to 4294967295
0 to 4294967295

ID20

Total Hopper 2

ID24

Total Hopper 3

ID28
IW30 IW60

Total Hopper 4
Pad 5-12

2
16

0 to 4294967295
0 to 4294967295
0

Description
Cumulative Communication
Errors Totals
Command Completed;
subsequent values now valid
Must be 0 for subsequent
variables to be valid
2=tenths of grams, 9=grams
4=four component software
Reserved for future use
Number of batches that have
been made
Reserved for future use
Grams (or tenths of grams)
used
Grams (or tenths of grams)
used
Grams (or tenths of grams)
used
Grams (or tenths of grams)
used
Padding always zero

31

Response Format Type 2 - Twelve Component Software - continued


Input Word #

Name

Size

Range

IW0

Totalized Error Count

0 to 65535

IW2

Command Confirmation

16 or 17

IW4
IW6
IW8
IW10

Comms Status (Current


Command)
System Type
Software Type
Sequence Number

1
1
1
1

0 to 4
2 or 9
4
0

IW12
IW14

Cycles
Flag

1
1

0 to 65535
0

ID16

Total Hopper 1

0 to 4294967295
0 to 4294967295

ID20

Total Hopper 2

ID24

Total Hopper 3

ID28

Total Hopper 4

ID32

Total Hopper 6

ID36

Total Hopper 7

ID40

Total Hopper 8

ID44

Total Hopper 9

0 to 4294967295
0 to 4294967295
0 to 4294967295
0 to 4294967295
0 to 4294967295
0 to 4294967295
0 to 4294967295
ID48

Total Hopper 10

2
0 to 4294967295

ID52

Total Hopper 11

ID56

Total Hopper 12

0 to 4294967295

Description
Cumulative Communication
Errors Totals
Command Completed;
subsequent values now valid
Must be 0 for subsequent
variables to be valid
1 = No totals available
2=tenths of grams, 9=grams
4=four component software
Reserved for future use
Number of batches that have
been made
Reserved for future use
Grams (or tenths of grams)
used
Grams (or tenths of grams)
used
Grams (or tenths of grams)
used
Grams (or tenths of grams)
used
Grams (or tenths of grams)
used
Grams (or tenths of grams)
used
Grams (or tenths of grams)
used
Grams (or tenths of grams)
used
Grams (or tenths of grams)
used
Grams (or tenths of grams)
used
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.

32

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
QW0
Command Code

Size
1 49

Range

Description
Get Type Command

Size

Range

Description
Cumulative Communication
Errors Totals
Command Completed;
subsequent values now valid
Must be 0 for subsequent
variables to be valid
2=tenths of grams, 9=grams
4=four component software
12=twelve component
software

Response Format
Input Word #

Name

IW0

Totalized Error Count

0 to 65535

IW2

Command Confirmation
Comms Status (Current
Command)
System Type
Software Type

49

1
1
1

0 to 4
2 or 9
4 or 12

IW4
IW6
IW8

Get Version
Description: Returns the version of the software in the controller.
Command Format
Output Word #
Name
QW0
Command Code

Size
1
80

Range

Description
Get Version Command

Size

Range

Description
Cumulative Communication
Errors Totals
Command Completed;
subsequent values now valid
Must be 0 for subsequent
variables to be valid
Software version number
(ASCII)

Response Format
Input Word #

Name

IW0

Totalized Error Count

0 to 65535

IW2

Command Confirmation
Comms Status (Current
Command)

80

0 to 4

Version Number

ASCII

IW4
IW6 IW16

33

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
QW0
Command Code

Size
1 85

Range

Description
Get Version Command

Size

Range

Description
Cumulative Communication
Errors Totals
Command Completed;
subsequent values now valid
Must be 0 for subsequent
variables to be valid
0=pounds, 1=ounces,
2=grams, 4=kilograms

Response Format
Input Word #

Name

IW0

Totalized Error Count

0 to 65535

IW2

85

IW4

Command Confirmation
Comms Status (Current
Command)

0 to 4

IW6

Weight units

0, 1, 2, or 4

Send Keystroke
Description: Sends a keystroke. (See "Set Remote Keypad" command)
Command Format
Output Word #
Name
QW0
Command Code
QW2
Code

Size
Range
1
87
1
ASCII

Description
Get Version Command
See note 1

Response Format
Input Word #

Name

Size

Range

IW0

Totalized Error Count

0 to 65535

IW2

Command Confirmation
Comms Status (Current
Command)

87

0 to 4

IW4

Description
Cumulative Communication
Errors Totals
Command Completed;
subsequent values now valid
0 = ack
1 = nak

Please refer to notes on the next page:

34

Notes reference Send Keystroke Command:


COL / B
B
---------------------KEY
7
7
VIEW
8
8
RECP
9
9
BTCH
ADD
/
C
C
FAST
---------------------EXIT
---------------------SET
OPER
TIME
CAL

TAG---------------------REG
---------------------1
2
3
NAT / A
---------------------4
5
6

35

Send Settings
Description: Sets the mix percentages, component types, work order #, and operator #.
Command Format Type 1 - Four Component Software
Output Word #
QW0
QW2
QW4
QW6
QW8
QW10
QW12
QW14
QW16
QW18 QW48
QW50
QD52
QW56

Name
Command Code
Type Hopper 1
Setting Hopper 1
Type Hopper 2
Setting Hopper 2
Type Hopper 3
Setting Hopper 3
Type Hopper 4
Setting Hopper 4
Padding
Recipe number
Work Order Number
Operator number

Size
1
1
1
1
1
1
1
1
1
16
1
2
1

Range
19
1
0 to 999
2
0
3
0 to 255
3
0 to 999
0
100 to 65536
0 to 999999
0 to 999

Description
Send Settings Command
Always 1=regrind
Implied decimal point ##.#
Always 2=natural
Always on
Always 3=color
Implied decimal point ##.#
Always 3=additive
Implied decimal point ##.#
Padding always zero
Recipe number
Work order number
Operator number

Command Format Type 2 - Twelve Component Software


Output Word #

Name

Size

Range

QW0

Command Code

19

QW2

Type Hopper 1

0 to 3

QW4

Setting Hopper 1

0 to 999

QW6

Type Hopper 2

0 to 3

QW8

Setting Hopper 2

0 to 999

QW10

Type Hopper 3

0 to 3

QW12

Setting Hopper 3

0 to 999

QW14

Type Hopper 4

0 to 3

QW16

Setting Hopper 4

0 to 999

QW18

Type Hopper 5

0 to 3

QW20

Setting Hopper 5

0 to 999

Description
Send Settings Command
1=regrind, 2=natural,
3=additive/color, 0=none
Implied decimal point r/a
##.# or n ###
1=regrind, 2=natural,
3=additive/color, 0=none
Implied decimal point r/a
##.# or n ###
1=regrind, 2=natural,
3=additive/color, 0=none
Implied decimal point r/a
##.# or n ###
1=regrind, 2=natural,
3=additive/color, 0=none
Implied decimal point r/a
##.# or n ###
1=regrind, 2=natural,
3=additive/color, 0=none
Implied decimal point r/a
##.# or n ###

36

Command Format Type 2 - Twelve Component Software continued

QW22

Type Hopper 6

0 to 3

QW24

Setting Hopper 6

0 to 999

QW26

Type Hopper 7

0 to 3

QW28

Setting Hopper 7

0 to 999

QW30

Type Hopper 8

0 to 3

QW32

Setting Hopper 8

0 to 999

QW34

Type Hopper 9

0 to 3

QW36

Setting Hopper 9

0 to 999

QW38

Type Hopper 10

0 to 3

QW40

Setting Hopper 10

0 to 999

QW42

Type Hopper 11

0 to 3

QW44

Setting Hopper 11

0 to 999

QW46

Type Hopper 12

0 to 3

QW48
QW50
QD52
QW56

Setting Hopper 12
Recipe number
Work Order Number
Operator number

1
1
2
1

0 to 999
100 to 999
0 to 999999
0 to 999

1=regrind, 2=natural,
3=additive/color, 0=none
Implied decimal point r/a
##.# or n ###
1=regrind, 2=natural,
3=additive/color, 0=none
Implied decimal point r/a
##.# or n ###
1=regrind, 2=natural,
3=additive/color, 0=none
Implied decimal point r/a
##.# or n ###
1=regrind, 2=natural,
3=additive/color, 0=none
Implied decimal point r/a
##.# or n ###
1=regrind, 2=natural,
3=additive/color, 0=none
Implied decimal point r/a
##.# or n ###
1=regrind, 2=natural,
3=additive/color, 0=none
Implied decimal point r/a
##.# or n ###
1=regrind, 2=natural,
3=additive/color, 0=none
Implied decimal point r/a
##.# or n ###
Recipe number
Work order number
Operator number

Response Format
Input Word #

Name

Size

Range

IW0

Totalized Error Count

0 to 65535

IW2

Command Confirmation

19

IW4

Comms Status (Current


Command)

0 to 4

Description
Cumulative Communication
Errors Totals
Command Completed;
subsequent values now valid
0 = ack
1 = nak
4 = invalid parameter

37

Set Batch Weight


Description: Sets the batch flag parameter and the batch weight.
Command Format
Output Word #
Name
QW0
Command Code

Size
1 83

Range

QW2

Batch Weight

0 to 65536

QW4

Flag

0,1, or 2

Description
Set Batch Weight Command
Batch weight (pounds or
kilograms only)
(See "Get Weight Units"
command for units)
See note 2
0=no batch, 1=alarm & stop,
2=alarm & cont.
See note 1

Response Format
Input Word #

Name

IW0

Totalized Error Count

IW2

Command Confirmation

IW4

Comms Status (Current


Command)

NOTE 1:

NOTE 2:

Size

Range

Description
Cumulative Communication
1 0 to 65535
Errors Totals
Command Completed;
1 19
subsequent values now valid
0 = ack
1 = nak
1 0 to 4
4 = invalid parameter
A
running batches. A flag of 1 means to sound
fla
the alarm and stop running at the end of the
g
batch. A flag of 2 means to sound the alarm
of
but continue running at the end of the batch.
0
me
an
Batch weight is given in pounds if "Get
s
Weight Units" returns either pounds or
to
ounzes. If "Get Weight Units" returns
sto
either kilograms or grams, then batch
p
weight is in kilograms.
3
8

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
QW0
Command Code
QW2 QW8 Date and TIme

Size Range
Description
1
81
Set Date and Time Command
4
See note 1 See note 1

Note 1 - Date and Time


Bit #
0 to 7
8 to 11
12 to 14
15
16 to 19
20 to 22
23
24 to 27
28 to 29
30
31
32 to 34
35
36
37
38 to 39
40 to 43
44 to 45
46 to 47
48 to 51
52
53 to 55
56 to 59
60 to 63

Name
Padding
Seconds (ones place)
Seconds (tens place)
Padding
Minutes (ones place)
Minutes (tens place)
Padding
Hours (ones place)
Hours (tens place)
Padding
One
Day of week
Padding
One
Padding
Padding
Day (ones place)
Day (tens place)
Padding
Month (ones place)
Month (tens place)
Padding
Year (ones place)
Years (tens place)

Range
0
0 to 9
0 to 5
0
0 to 9
0 to 5
0
0 to 9
0 to 2
0
1
1 to 7
0
1
0
0
0 to 9
0 to 3
0
0 to 9
0 or 1
0
0 to 9
0 to 9

Description
yy/mm/dd hh:mm:sS
yy/mm/dd hh:mm:Ss
yy/mm/dd hh:mM:ss
yy/mm/dd hh:Mm:ss
yy/mm/dd hH:mm:ss
yy/mm/dd Hh:mm:ss

1 = sunday, 2=monday, ..., 7=saturday

yy/mm/dD hh:mm:ss
yy/mm/Dd hh:mm:ss
yy/mM/dd hh:mm:ss
yy/Mm/dd hh:mm:ss
yY/mm/dd hh:mm:ss
Yy/mm/dd hh:mm:ss

Response Format
Input Word #
Name
IW0
Totalized Error Count
IW2
IW4

Command Confirmation
Comms Status (Current
Command)

Size

Range
Description
0 to 65535 Cumulative Communication Errors Totals
Command Completed; subsequent values now
81
valid

0 to 4

0 = ack 1 = nak 4 = invalid parameter


39

Set Parameter
Description: Sets a single parameter.
Command Format
Output Word #
Name
QW0
Command Code
Parameter reference
QW2
number
QW4
QW6

Component Number
Parameter Value

Response Format
Input Word #

Name

Size
1
68

Range

0 to 63

1
1

1 to 4
1 to 12
0 TO 65535

Size

Range

IW0

Totalized Error Count

0 to 65535

IW2

Command Confirmation

68

IW4

Comms Status (Current


Command)

0 to 4

NOTE:

Description
Set Parameter Command
Parameter number please
refer to table below
1 4 = 4 Software (R,N,C,A)
1 12= 12 Software
(1,2,3,4,5,6,7,8,9,10,11,12)
Value of the Parameter

Description
Cumulative Communication
Errors Totals
Command Completed;
subsequent values now valid
0 = ack
1 = nak
4 = invalid parameter

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
QW0
Command Code
QW2
FLAG

Size Range
1
88
1
0 or 1

Description
Set Remote Keypad Command
See note 1

Response Format
Input Word #
IW0
IW2
IW4
Note 1:

Name

Size

Range

Description
Cumulative Communication Errors
Totalized Error Count
1
0 to 65535 Totals
Command Completed; subsequent
Command Confirmation
1
88
values now valid
0 = ack
Comms Status (Current
1 = nak
Command)
1
0 to 4
4 = invalid parameter
A flag of 0 enables the keypad on the controller and disables the "Send Keystroke"
40

MLAN command. A flag of 1 disables the keypad and enables the command.

41

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

QW0

Command Code

65

QD2

Steady State Rate

0 to 4294967295

Description
Set Steady State Rate
Command
Grams (or tenths of grams)
per hour

Response Format
Input Word #

Name

Size

Range

IW0

Totalized Error Count

0 to 65535

IW2

Command Confirmation

65

IW4

Comms Status (Current


Command)

0 to 4

Description
Cumulative Communication
Errors Totals
Command Completed;
subsequent values now valid
0 = ack
1 = nak
4 = invalid parameter

42

Set Tag
Description: Sets a tag value, recipe, work order, and operator #.
Command Format
Output Word #
Name
QW0
Command Code
QW2 QW4

QD6

Size
1 90

Range

Tag ID

ASCII

Tag Value

0 to 4294967295

Description
Set Tag Command
Two letter acronym
designating tag.
"RC" = Recipe (1 char per
word)
"WO" = Work Order (1 char
per word)
"OP" = Operator (1 char per
word)
The value of the tag.
Recipe numbers: 0 to
65,536.
Work order numbers: 0 to
999,999.
Operator numbers: 0 to 999.

Response Format
Input Word #

Name

Size

Range

IW0

Totalized Error Count

0 to 65535

IW2

Command Confirmation

90

IW4

Comms Status (Current


Command)

0 to 4

Description
Cumulative Communication
Errors Totals
Command Completed;
subsequent values now valid
0 = ack
1 = nak
4 = invalid parameter

43

Set Target Throughput


Description: Sets the Target Throughput for extrusion control.
See XCV parameter in blender manual for more information.
Command Format
Output Word #
QW0
QD2

Name

Size

Command Code
Target Throughput

1
2

Range

30
0 to 4294967295

Description
Set Target Throughput
Command

Response Format
Input Word #

Name

Size

Range

IW0

Totalized Error Count

0 to 65535

IW2

Command Confirmation

30

IW4

Comms Status (Current


Command)

0 to 4

Description
Cumulative Communication
Errors Totals
Command Completed;
subsequent values now valid
0 = ack
1 = nak
4 = invalid parameter

Set Weight Units


Description: Sets the units that the blender uses to display totals, such as pounds
or kilograms.
Command Format
Output Word #
Name
QW0
Command Code
QW2

Weight units

Size Range
Description
1
86
Set Weight Units Command
0, 1, 2, or 0=pounds, 1=ounces, 2=grams,
1
4
4=kilograms

Response Format
Input Word #

Name

Size

IW0

Totalized Error Count

IW2

Command Confirmation

IW4

Comms Status (Current


Command)

Range

Description
Cumulative Communication Errors
0 to 65535 Totals
Command Completed; subsequent
86
values now valid
0 = ack
1 = nak
0 to 4
4 = invalid parameter

44

Silence Alarm
Description: Has the same effect as if the silence alarm button was pressed.
Command Format
Output Word #
Name
QW0
Command Code

Size
1 82

Range

Description
Silence Alarm Command

Size

Range

Description
Cumulative
Communication Errors
Totals
Command Completed;
subsequent values now
valid
0 = ack
1 = nak
4 = invalid parameter

Response Format
Input Word #

Name

IW0

Totalized Error Count

0 to 65535

IW2

Command Confirmation

82

IW4

Comms Status (Current


Command)

0 to 4

45

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
QW0
Command Code
QW2

Subcommand

Size Range
Description
1
55
Start / Stop / Status Command
0=mode status, 1=soft stop, 2=soft
1
0, 1, or 2 start

Response Format (Subcommand 1:stop or 2:start)


Input Word #

Name

Size

IW0

Totalized Error Count

IW2

Command Confirmation

IW4

Comms Status (Current


Command)

Range

Description
Cumulative Communication Errors
0 to 65535 Totals
Command Completed; subsequent
55
values now valid
0 = ack
1 = nak
0 to 4
4 = invalid parameter

Response Format (Subcommand 0:mode status)


Input Word #

IW6

Name

Size

IW0

Totalized Error Count

IW2

Command Confirmation

IW4

Comms Status (Current


Command)

Mode

Range

Description
Cumulative Communication Errors
0 to 65535 Totals
Command Completed; subsequent
55
values now valid
0 = ack
1 = nak
0 to 4
4 = invalid parameter
0 = Hard Stop
1= Soft stop
0,1,or 2 2 = Automatic Mode / Running Mode

46

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

QW0

Command Code

27

QW2

Subcommand

1 or 2

Range

Description
Stop Cycle / Stop / Retry
Command
1 = Stop Cycle; 2 = Stop
Retry

Range

Description
Cumulative
Communication Errors
Totals
Command Completed;
subsequent values now
valid
0 = ack
1 = nak
4 = invalid parameter

Response Format
Input Word #

Name

Size

IW0

Totalized Error Count

0 to 65535

IW2

Command Confirmation

27

IW4

Comms Status (Current


Command)

0 to 4

47

Parameter Table from Four Component Blender Software - Sample


Name
FLG
RAL
NAL
CAL
AAL
MIX
FCV
DTI
KDF
WDF
BER
CXT
AXT
ROC
ROV
RHL
FUL
MAX
TH
TL
PRT
RSE
CSE
ASE
RLO
DLY
LT1
LT2
RPT
NPT
CPT
APT
RWT
RTI

Value
0
0
4
4
4
3010
5
10
2
2
200
0
0
0
0
0
4000
6000
200
100
0
1000
1000
1000
50
488
0
0
0
0
0
0
20800
7808

Name
NWT
NTI
CWT
CTI
AWT
ATI
RMI
NMI
CMI
AMI
RNC
NNC
CNC
ANC
RRP
NRP
CRP
ARP
RRD
NRD
CRD
ARD
RLA
NLA
CLA
ALA
PRC
STL
LCL
LCH
LCF
LCZ
XTP

Value
20800
7808
1024
31232
1024
31232
325
325
4
1
1
1
1
1
10
10
10
10
81
81
2
5
20
20
15
15
10
244
80
120
79
583
20010

4
8

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.
Name
FLG
MIX
FCV
DTI
KDF
WDF
BER
ROC
ROV
RHL
FUL
MAX
TH
TL
PRT
DLY
PRC
STL
LCL
LCH
LCF
LCZ
DS1
DS2
XCV
XRC
TCV
TRC
XTP
MPO
SCR
XAL
XUL
BCR
CPL
PTD
MCT
1TY
1CS
1AL
1XT
1SE
1WT
1TI
1MI
1NC
1PT
1RP
1RD
1LA
1PO

Value
00000
03010
00006
00006
00010
00010
01000
00000
00000
00000
20000
30000
01000
00500
00000
00488
00010
00122
00027
00039
00079
00583
00000
00000
00000
00001
00000
00004
05050
00183
00000
00005
00200
00000
00000
00020
00000
00002
00000
00004
00000
01000
26000
00976
00001
00010
00000
00010
00500
00020
00000

Name
2TY
2CS
2AL
2XT
2SE
2WT
2TI
2MI
2NC
2PT
2RP
2RD
2LA
2PO
3TY
3CS
3AL
3XT
3SE
3WT
3TI
3MI
3NC
3PT
3RP
3RD
3LA
3PO
4TY
4CS
4AL
4XT
4SE
4WT
4TI
4MI
4NC
4PT
4RP
4RD
4LA
4PO
5TY
5CS
5AL
5XT
5SE
5WT
5TI
5MI
5NC

Name
5PT
5RP
5RD
5LA
5PO
6TY
6CS
6AL
6XT
6SE
6WT
6TI
6MI
6NC
6PT
6RP
6RD
6LA
6PO
7TY
7CS
7AL
7XT
7SE
7WT
7TI
7MI
7NC
7PT
7RP
7RD
7LA
7PO
8TY
8CS
8AL
8XT
8SE
8WT
8TI
8MI
8NC
8PT
8RP
8RD
8LA
8PO
9TY
9CS
9AL
9XT

Name

Value

9SE
9WT
9TI
9MI
9NC
9PT
9RP
9RD
9LA
9PO
ATY
ACS
AAL
AXT
ASE
AWT
ATI
AMI
ANC
APT
ARP
ARD
ALA
APO
BTY
BCS
BAL
BXT
BSE
BWT
BTI
BMI
BNC
BPT
BRP
BRD
BLA
BPO
CTY
CCS
CAL
CXT
CSE
CWT
CTI
CMI
CNC
CPT
CRP
CRD
CLA
CPO

01000
26000
00976
00001
00010
00000
00010
00500
00020
00000
00002
00000
00004
00000
01000
26000
00976
00001
00010
00000
00010
00500
00020
00000
00002
00000
00004
00000
01000
26000
00976
00001
00010
00000
00010
00500
00020
00000
00002
00000
00004
00000
01000
26000
00976
00001
00010
00000
00010
00500
00020
00000

49

Anda mungkin juga menyukai