Profibus Protocol
Profibus Protocol
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]
Table of Contents:
PRODUCT RANGE OVERVIEW
PRODUCT CODES
COMMUNICATION SPEEDS
EXTERNAL / INTERNAL GATEWAY SPECIFICATIONS
4
4
5
5
5
5
6
6
6
6
7
7
9
10
10
12
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
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.
Internal Communications
Card mounted inside the
Maguire WSB Controller
for Modus, Profibus and
DeviceNet. (Profibus /
Modus Card shown)
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.
Communic
ation
Speeds
The
Profibus
interfac
e
automat
External Size
Mounting
Fieldbus Interface
Host Interface
Operating Temperature
Operating Humidity
Supply Voltage
Maximum Power
Power Requirements
LED Colour:
Red
Flashing Red
Green
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.
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.
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
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
22
84
50
Get Status
Get Steady State Rate
Get Target Throughput
& Status
Get Totals
Get Totals
Get Type
53
64
29
Get Version
Get Weigh Units
80
85
Send Keystroke
87
Send Settings
19
83
81
68
88
65
Set Tag
Set Target Throughput
Set Weight Units
Silence Alarm
Start / Stop / Status
90
30
86
82
55
27
56
69
20
16
17
49
11
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.
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
60710T
60911T
60911T
20414T
60603A
60603A
70529A
70916T
60710T
90317A
60710T
60603A
60603A
20414A
20414A
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
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.
14
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).
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
Function Description
0 and 1
(QW0)
2 and 3
(QW2)
4 and 5
(QW4)
6 to 65 (QW6 to QW64)
69
62
3
Unused
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
18
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
0 to 65535
IW2
Command Confirmation
24
IW4
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.
Name
Command Code
Size
1
Range
28
Description
Clear Totals Immediately
Command
Response Format
Input Word #
Name
Size
IW0
IW2
Command Confirmation
IW4
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
20
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
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
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
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
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
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
IW2
Command Confirmation
IW4
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.
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
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
0 to 999999
ID62
Name
Size
24
Name
Size
Range
IW0
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
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
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
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
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
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
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
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
0 to 65535
IW2
64
IW4
Command Confirmation
Comms Status (Current
Command)
0 to 4
ID6
0 to 4294967295
29
Name
Command Code
Size
1
Range
29
Description
Get Target Throughput & Status
Command
Response Format
Input Word #
Name
Size
IW0
IW2
IW4
IW6
Command Confirmation
Comms Status (Current
Command)
Status
ID8
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
Name
Size
Range
IW0
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
Name
Size
Range
IW0
0 to 65535
IW2
Command Confirmation
16 or 17
IW4
IW6
IW8
IW10
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
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
0 to 65535
IW2
Command Confirmation
Comms Status (Current
Command)
80
0 to 4
Version Number
ASCII
IW4
IW6 IW16
33
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
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
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
34
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
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
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
0 to 65535
IW2
Command Confirmation
19
IW4
0 to 4
Description
Cumulative Communication
Errors Totals
Command Completed;
subsequent values now valid
0 = ack
1 = nak
4 = invalid parameter
37
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
IW2
Command Confirmation
IW4
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
Size Range
Description
1
81
Set Date and Time Command
4
See note 1 See note 1
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
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
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
0 to 65535
IW2
Command Confirmation
68
IW4
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
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
Name
Size
Range
QW0
Command Code
65
QD2
0 to 4294967295
Description
Set Steady State Rate
Command
Grams (or tenths of grams)
per hour
Response Format
Input Word #
Name
Size
Range
IW0
0 to 65535
IW2
Command Confirmation
65
IW4
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
0 to 65535
IW2
Command Confirmation
90
IW4
0 to 4
Description
Cumulative Communication
Errors Totals
Command Completed;
subsequent values now valid
0 = ack
1 = nak
4 = invalid parameter
43
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
0 to 65535
IW2
Command Confirmation
30
IW4
0 to 4
Description
Cumulative Communication
Errors Totals
Command Completed;
subsequent values now valid
0 = ack
1 = nak
4 = invalid parameter
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
IW2
Command Confirmation
IW4
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
0 to 65535
IW2
Command Confirmation
82
IW4
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
Name
Size
IW0
IW2
Command Confirmation
IW4
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
IW6
Name
Size
IW0
IW2
Command Confirmation
IW4
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
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
0 to 65535
IW2
Command Confirmation
27
IW4
0 to 4
47
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
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