WEIGHING TECHNOLOGY · IN-HOUSE DEVELOPMENT · SUPPORT
+386 2 320 33 46info@preciz.si
PRECIZWeighing technology.
Connected to your process.

NEUTRON · COMMUNICATION PROTOCOL

CSCP — CloudScale Communication Protocol

CSCP command reference for Neutron: message structure, weighing, configuration, counting, checkweighing and digital I/O.

Structure of commands and responses

Cloud Scales – CSCP

Commands for CSCP are composed of ASCII characters. Commands are composed of parameters and values.

Table 1
˽

Symbol represent space.

<MandatoryParam>

Triangle brackets indicate that this is mandatory command parameter.

[OptionalParam]

Square brackets indicate that this is optional parameter and can be omitted.

CRLF

Each command sent must have string terminator CR – carriage return (ASCII 13) and LF – line feed (ASCII 10).
Also each response will have string terminator CRLF.

↓

Data sent to scale.

↑

Data received from scale.

Please note that commands and parameters value are case sensitive.

Command structure

General command structure:

Table 2

Command

[˽]
[Parameters…]
CR
LF

1-n characters

—

0-n characters

—

—

Examples:

Command without parameters:

Table 3
↓
S

Request stable weight.

↑
S˽S˽˽˽˽˽100.00˽g

Scale response with stable weight of 100 g

Command with parameters:

Table 4
↓
TA˽100˽g

Set tare value to 100 g.

↑
TA˽A˽˽˽˽˽100.00˽g

Scale response with settled tare value.

Response format

Scale always respond to command with answer which can be:

  • Response with weight value

  • Response without weight value

  • Error message

Note: Weight values are always returned as 10 characters with leading spaces.

Response with weight value

General response with weight value:

Table 5

Command ID

˽

Status

˽

Weight value

˽

Unit

CR
LF

1-n characters

—

1 character

—

10 characters

—

1-n characters

—

—

Example:

Table 6
↓
S

Request stable weight.

↑
S˽S˽˽˽˽˽100.00˽g

Scale response with stable weight of 100 g

Response without weight value

General response without weight value:

Table 7

Command ID

˽

Status

˽

Parameters

CR
LF

1-n characters

—

1 character

—

0-n characters

—

—

Example:

Table 8
↓
I4

Request scale serial number.

↑

I4 A "ABC2KL"

Scale response with serial number in ""

Error message

In general error message has the following structure:

Table 9

Command ID

˽

Status

CR
LF

1-n characters

—

1 character

—

—

Table 10

Status

Description

+

Scale gross value or parameter value exceed scale maximum range (scale maximum + 9 divisions).

-

Scale gross value or parameter value is under scale zero range (more than 20 divisions in minus).

I

Internal error – scale executing another command, command timeout etc.

L

Logical error – for example tare value exceed scale maximum.

Example:

Table 11
↓
S

Request stable weight.

↑
S˽I

Scale did not stabilise in defined timeout window (default 5 seconds).

↓
SI

Request weight immediately.

↑
SI˽+

Scale gross value exceed scale maximum.

General error message

In case you send to scale non-existing command to scale you will receive ES response.

Table 12
↓
SO

Non-existing command

↑
ES

Syntax error or non-existing command received.

Commands

In this chapter you will find detailed description of each command together with examples.

Table 13

Command

Description

@

Terminates current command execution

ADC

Get current ADC points

C

Cancel all commands

CAL

Calibrate point.

CIC

Clear counter value

CWX

Get tolerance status and weighing data in check weighing mode

D

Write text to display

DCAL

Delete calibration point.

DIC

Get counter input value

DW

Switch to weight

E01

Status of error and description if any

FC

Enabled/disable high resolution filter

FT

Set filter value

GCAL

Get calibration data.

I0

List of implemented commands

I1

Level information and versions

I2

Scale model and capacity

I3

Hardware and software version

I4

Serial number

I5

Firmware checksum

IS

Initialize scale

IIO

Initialize digital inputs and outputs

M25

Get list of available applications

M26

Get or set application

PCS

Get number of pieces

PCSX

Get number of pieces and weighing data

PMC

Set target and tolerance in counting application

PMI

Get target and tolerances

PMW

Set target and tolerances in check weighing mode

QASI1

Query all scale information

RSD

Read scale data – get all parameters

REF

Calculate average piece weight

RST

Reset scale

S

Get stable weight

SI

Get weight immediately regardless of stability

SIC

Set counter input value

SIF

Get or set input configuration parameters

SIN

Get input status

SIR

Start continuous transmission of net weight regardless of stability status

SX

Get current stable gross, net and tare

SXI

Get current gross, net and tare value immediately

SXIR

Get current gross, net and tare value immediately and repeat (continuous transmission)

SIX1

Get all weighing data stability, gross, net, tare, range etc. with one command

SNS

Get or set current scale (channel)

SOF

Get or set output function

SOT

Get or set output state

SSD

Set scale data - parameters

T

Tare the scale

TA

Query or set preset tare value

TAC

Clear tare weight value

TI

Tare scale immediately regardless of stability

Z

Zero the scale

ZI

Zero the scale immediately regardless of stability status

@ – cancel command execution

Table 14

Command

@

Command cancel current command on scale.

Responses

I4˽A˽<"SerialNumber">

Cancelling current command execution has been started.

ADC – read ADC points

Table 15

Command

ADC

Request for current ADC value.

Responses

ADC˽A˽866585

Current ADC value is 866585

C – cancel command execution

Table 16

Command

C

Command cancel current command on scale.

Responses

C˽A

Cancelling current command execution has been started.

D – show text on display

Table 17

Command

D˽<"Text">

Display Text on the scale display.

Responses

D˽A

Command executed successfully.

D˽I

Command received but cannot be executed at this time or timeout occurred (the scale is busy processing another task or command).

D˽L

Command received but not executable (syntax error or scale without display).

DW – display weight

Table 18

Command

DW

Switch main display to show weight.

Responses

DW˽A

Command executed successfully.

DW˽I

Command received but cannot be executed at this time or timeout occurred (the scale is busy processing another task or command).

E01 – current error code and description

Table 19

Command

E01

Query current scale state.

Responses

E01˽<ErrorCode>˽<Description>

Current error code and description.

E01˽I

Command received but cannot be executed at this time or timeout occurred (the scale is busy processing another task or command).

Table 20

Error code

Description

1

No error

96

No calibration.

95

No metrological data (max1 and d1 are not set).

94

ADC error (no load cell, sense error, etc.).

93

Sense error – reference lines error detected (not connected, short cut, etc.).

I0 – get list of implemented commands

Table 21

Command

I0

Query all available commands.

Responses

I0˽B˽0˽"I1"
I0˽B˽0˽"I2"
…
I0˽B˽<Level>˽<"Command">

List of all available commands in format
I0 B <Level> <"Command">

I0˽I

Command received but cannot be executed at this time or timeout occurred (the scale is busy processing another task or command).

Table 22

Parameters

Description

<Level>

0 – basic commands without parameters
1 – commands with mandatory/optional parameters
2 – extended commands
3 – application specific commands

<"Command">

CSCP command

I1 – query implemented levels and versions

Table 23

Command

I1

Query of CSCP levels.

Responses

I1˽A˽<"Levels">˽<"V0">˽["V1"]˽["V2"]˽["V3"]

Available levels and corresponding versions.

I1˽I

Command received but cannot be executed at this time or timeout occurred (the scale is busy processing another task or command).

Examples of responses

I1˽A˽"012"˽"2.30"˽"2.22"˽"2.33"

Level 0-2 are implemented and corresponding versions are provided.

Table 24

Parameters

Description

<Level>

0 – basic commands without parameters
1 – commands with mandatory/optional parameters
2 – extended commands
3 – application specific commands

<"V0">…<"V3">

CSCP corresponding versions.

I2 – device model and scale capacity

Table 25

Command

I2

Query of model name and capacity.

Responses

I2˽A˽<"ModelName Capacity Unit">

Device mode, capacity and unit returned.

I2˽I

Command received but cannot be executed at this time or timeout occurred (the scale is busy processing another task or command).

Examples of responses

I2˽A˽"CS-NEUTRON 1000.0 g"

Model name CS-NEUTRON, capacity 1000 g.

I3 – hardware and software versions

Table 26

Command

I3

Query hardware and software versions.

Responses

I3˽A˽<"HardwareVersion FirmwareVersion CSCPVersion">

Hardware versions represent PCB version.
Firmware version is version of scale firmware version.
CSCP is CloudScale Communication Protocol version.

I3˽I

Command received but cannot be executed at this time or timeout occurred (the scale is busy processing another task or command).

Examples of responses

I3˽A˽"1 1.0.0 1.0.0"

Hardware version 1, Firmware 1.0.0., CSCP version 1.0.0.

I4 – serial number

Table 27

Command

I4

Query scale serial number.

Responses

I4˽A˽<"SerialNumber">

Serial number of scale.

I4˽I

Command received but cannot be executed at this time or timeout occurred (the scale is busy processing another task or command).

Examples of responses

I4˽A˽"N7W2KL"

Response with the device serial number.

I5 – Firmware checksum

Table 28

Command

I5

Query firmware check sum.

Responses

I5˽A˽<"Checksum">

Firmware checksum.

I5˽I

Command received but cannot be executed at this time or timeout occurred (the scale is busy processing another task or command).

Examples of responses

I5 A "357940E…F723"

Firmware checksum is 357940E…F723

T – tare

This command will execute scale taring as soon as next stable weight is detected.

Table 29

Command

T

Set current gross as tare value when weight is stable.

Responses

T˽S˽<TareValue>˽<Unit>

Tare executed successfully. Command returns tare value.

T˽I

Command received but cannot be executed at this time or timeout occurred (the scale is busy processing another task or command, or timeout occurred as scale did not reach stability in specified command window).

T˽+

Tare value exceeds the maximum capacity.

T˽-

Tare value is less thane 0.

Examples of responses

T˽S˽˽˽˽˽100.00˽g
T˽S˽˽˽˽1152.05˽kg

Scale response with stable tare value 100 g
Scale response with stable tare value 1152.05 kg

TA – query or set tare value

This command will get currently set tare value or set tare value.

Table 30

Command

TA

Query current tare value.

TA˽<TareValue>˽<Unit>

Preset tare value.

Responses

TA˽A˽<TareValue>˽<Unit>

Tare executed successfully with stable scale.

TA˽I

Command received but cannot be executed at this time or timeout occurred (the scale is busy processing another task or command, or timeout occurred as scale did not reach stability in specified command window).

TA˽L

Command received but not executable (syntax error or tare value over max or less than 0, wrong unit etc.)

Examples

↓
TA

Query current tare value

↑
TA˽A˽˽˽˽˽100.00˽g

Current tare value is 100 g

↓
TA˽˽˽˽˽150.11˽g

Set tare value to 150.11 g

↑
TA˽A˽˽˽˽˽150.11˽g

Response from scale that tare value is set to 150.11 g

Note:

Tare value will be automatically rounded to range division. For instance, if scale has division of 0.5 g and you send TA˽A˽˽˽˽˽150.11˽g it will set 150 g as tare value which will be given in response. If you send TA˽A˽˽˽˽˽150.75˽g it will set 151 g.

TAC – clear tare value

This command will delete current tare value regardless of tare type.

Table 31

Command

TAC

Clear tare value

Responses

TAC˽A

Tare value has been cleared (set to 0).

TAC˽I

Command received but cannot be executed at this time or timeout occurred (the scale is busy processing another task or command).

TI – tare immediately

This command will execute scale taring regardless of scale stability.

Table 32

Command

TI

Set current gross as tare value regardless of stability.

Responses

T˽S˽<TareValue>˽<Unit>

Tare executed successfully with stable scale.

T˽D˽<TareValue>˽<Unit>

Tare executed successfully with unstable scale.

T˽I

Command received but cannot be executed at this time or timeout occurred (the scale is busy processing another task or command, or timeout occurred as scale did not reach stability in specified command window).

T˽+

Tare value exceeds the maximum capacity.

T˽-

Tare value is less thane 0.

Examples of responses

T˽S˽˽˽˽˽100.00˽g
T˽D˽˽˽˽1152.05˽kg

Scale response with stable tare value 100 g
Scale response with unstable tare value 1152.05 kg

S – get stable weight

Returns the current net weight only when the scale is stable.

If the scale is not stable when the command is received, the scale waits until stability is achieved or until the command timeout expires.

If stability is not reached within the configured command timeout window, a timeout error is returned.

Table 33

Command

S

Returns the net weight only when stable; waits for stability up to the command timeout.

Responses

S˽S˽<NetWeight>˽<Unit>

Scale responded with stable net weight value.

S˽I

Command received but cannot be executed at this time or timeout occurred (the scale is busy processing another task or command, or timeout occurred as scale did not reach stability in specified command window).

S˽+

Scale is overloaded (weight exceeds the maximum capacity).

S˽-

Scale is underloaded (weight is below the minimum measurable range).

Examples of responses

S˽S˽˽˽˽˽100.00˽g
S˽S˽˽˽˽1152.05˽kg

Scale response with stable net weight 100 g
Scale response with stable net weight 1152.05 kg

SI – get weight immediately

SI command returns the current net weight immediately, without waiting for scale stability.
The response reflects the scale status at the moment the command is processed.

Table 34

Command

SI

Commands returns current net weight regardless of scale stability status. This means that weight is returned immediately.

Responses

S˽S˽<NetWeight>˽<Unit>

Scale responded with stable net weight value.

S˽D˽<NetWeight>˽<Unit>

Scale responded with unstable net weight value.

S˽I

Command received but cannot be executed at this time (the scale is busy processing another task or command).

S˽+

Scale is overloaded (weight exceeds the maximum capacity).

S˽-

Scale is underloaded (weight is below the minimum measurable range).

Examples of responses

S˽S˽˽˽˽˽100.00˽g
S˽D˽˽˽˽1152.05˽kg

Scale response with stable net weight 100 g
Scale response with unstable net weight 1152.05 kg

SIR – start continuous transmission of net weight

SIR command returns the current net weight immediately, without waiting for scale stability. As soon as next weight is processed scale sends new weighing data.

Table 35

Command

SIR

Command to start continuous transmission of stability indicator and net weight.

Responses

S˽S˽<NetWeight>˽<Unit>

Scale data with stable net weight value.

S˽D˽<NetWeight>˽<Unit>

Scale data with unstable net weight value.

S˽I

Command received but cannot be executed at this time (the scale is busy processing another task or command).

S˽+

Scale is overloaded (weight exceeds the maximum capacity).

S˽-

Scale is underloaded (weight is below the minimum measurable range).

Example of continuous transmission

↓
SIR
↑
S˽S˽˽˽˽˽100.00˽g
↑
S˽D˽˽˽˽˽102.04˽g
↑
S˽D˽˽˽˽˽104.52˽g
↑
S˽D˽˽˽˽˽105.02˽g
↑
S˽S˽˽˽˽˽105.02˽g

Note:

To cancel continuous transmission send command @, C, SI, S.

SIX1 – get all weighing data

SIX1 command returns the all current weighing data such as stability, tare type, gross weight, net weight, tare value immediately, without waiting for scale stability.

Table 36

Command

SIX1

Query all current scale data

Responses

SIX1˽<Stability>˽0˽<ZeroRange>˽N˽R˽0˽0˽0˽<Range>˽<TareType>˽<Gross>˽<Net>˽<Tare>˽<Unit>

Scale data with stable net weight value.

SIX1˽I

Command received but cannot be executed at this time (the scale is busy processing another task or command).

Example communication

↓
SIX1
↑
SIX1˽S˽0˽Z˽N˽R˽0˽0˽0˽1˽N˽˽˽˽˽˽˽˽0.0˽˽˽˽˽˽˽˽0.0˽˽˽˽˽˽˽˽0.0˽g
↓
SIX1
↑
SIX1˽S˽0˽Z˽N˽R˽0˽0˽0˽1˽N˽˽˽˽˽1000.0˽˽˽˽˽1000.0˽˽˽˽˽˽˽˽0.0˽g
↓
TA˽˽˽˽˽˽100.0˽g
↑
TA˽A˽˽˽˽˽˽100.0˽g
↓
SIX1
↑
SIX1˽S˽0˽Z˽N˽R˽0˽0˽0˽1˽N˽˽˽˽˽1000.0˽˽˽˽˽˽900.0˽˽˽˽˽˽100.0˽g
↓
SIX1
↑
SIX1˽D˽0˽Z˽N˽R˽0˽0˽0˽1˽N˽˽˽˽˽1042.0˽˽˽˽˽˽942.0˽˽˽˽˽˽100.0˽g
Table 37

Parameters

Description

<Stability>

S – stable weight
D – unstable weight (dynamic)
+ - overload
- - underload

<ZeroRange>

Z – if gross +/- ¼ d
N – gross not in the range of +/- ¼ d

<Range>

1…3 range in which current gross value is

<TareType>

N – no tare
M – measured tare (user pressed tare button or sent T command)
P – preset tare (tare entered for example using TA command)

<Gross>

Gross weight

<Net>

Net weight

<Tare>

Tare

<Unit>

Unit

SX – get STABLE GROSS, NET, TARE

SX command returns the current weighing data - stability gross weight, net weight, tare value when weight is stable.

Table 38

Command

SX

Query current scale data

Responses

SX˽<status>˽<Gross>˽<Unit>˽<Net>˽<Unit>˽<Tare>˽<Unit>

Scale data with stable net weight value.

SX˽I

Command received but cannot be executed at this time (the scale is busy processing another task or command).

SX˽+

Scale is overloaded (weight exceeds the maximum capacity).

SX˽-

Scale is underloaded (weight is below the minimum measurable range).

Example communication

↓
SX
↑
SX˽S˽G˽˽˽˽˽˽˽˽0.0˽g˽N˽˽˽˽˽˽˽˽0.0˽g˽T˽˽˽˽˽˽˽˽0.0˽g
↓
SX
↑
SX˽S˽G˽˽˽˽˽1045.0˽g˽N˽˽˽˽˽˽945.0˽g˽T˽˽˽˽˽˽100.0˽g

SXI – get GROSS, NET, TARE IMMEDIATELY

SXI is simplified SIX1 command that returns the current weighing data - stability gross weight, net weight, tare value immediately, without waiting for scale stability.

Table 39

Command

SXI

Query current scale data

Responses

SX˽<status>˽G˽<Gross>˽<Unit>˽N˽<Net>˽<Unit>˽T˽<Tare>˽<Unit>

Scale data with stable net weight value.

SXI˽I

Command received but cannot be executed at this time (the scale is busy processing another task or command).

SXI˽+

Scale is overloaded (weight exceeds the maximum capacity).

SXI˽-

Scale is underloaded (weight is below the minimum measurable range).

Example communication

↓
SXI
↑
SX˽S˽G˽˽˽˽˽˽˽˽0.0˽˽g˽N˽˽˽˽˽˽˽˽0.0˽g˽T˽˽˽˽˽˽˽˽0.0˽g
↓
SXI
↑
SX˽D˽G˽˽˽˽˽1042.0˽˽g˽N˽˽˽˽˽˽942.0˽˽g˽T˽˽˽˽˽˽100.0˽˽g

SXIR – REPEATED GROSS, NET, TARE

SXIR will enable continuous sending of SXI command. To disable continuous sending of SXI command send C or @ command.

Table 40

Command

SXIR

Query current scale data

Responses

SX˽<status>˽<Gross>˽<Unit>˽<Net>˽<Unit>˽<Tare>˽<Unit>

Scale data with stable net weight value.

Example communication

↑
SX˽S˽G˽˽˽˽˽˽˽˽0.0˽˽g˽N˽˽˽˽˽˽˽˽0.0˽˽g˽T˽˽˽˽˽˽˽˽0.0˽˽g
↑
SX˽D˽G˽˽˽˽˽1022.0˽˽g˽N˽˽˽˽˽˽922.0˽˽g˽T˽˽˽˽˽˽100.0˽˽g
↑
SX˽D˽G˽˽˽˽˽1042.0˽˽g˽N˽˽˽˽˽˽942.0˽˽g˽T˽˽˽˽˽˽100.0˽˽g

SNS – get or set active scale (channel)

Table 41

Command

SNS˽[scale]

Command to get or set active channel/scale. If scale parameter is omitted then you will receive in response current channel otherwise you will receive success status of changing active scale.
Scale parameter can be 1-4.

Responses

SNS˽1

Current scale (channel) is 1.

SNS˽A

Scale change has been successful.

SNS˽I

Command received but cannot be executed at this time (the scale is busy processing another task or command).

SNS˽L

Command received but not executable (syntax error or wrong channel – it must be in range 1-4).

Example of continuous transmission

↓
SNS
↑
S˽1
↓
SNS˽2
↑
SNS˽A

UPD -update interval of continuos transmission

UPD command is used to set delay between transmissions in commands like SIR, SXIR that activate continuous mode.

Note: this is the delay between sending data after they have been processed. Since data are sent to the scale communication interface this means that there will be additional delay especially if using wireless connection like WIFI or Bluetooth. Same delay is guaranteed only on CPU level and therefore data will not come always with the same delay depending on interface used. Wired interfaces tend to have more constant delay then wireless ones.

Table 42

Command

UPD
UPD˽[delay_ms]

Get current delay between transmissions.
Set delay between transmission in milliseconds.

Responses

UPA˽A˽[delay_ms]

Current scale (channel) is 1.

Example of continuous transmission

↓
UPD
↑
UPD˽A˽100
↓
UPD˽A˽50
↑
UPD˽A˽50

QASI1 and QASI1C – query all scale information

QASI1 command reads all the current scale data such as channel, range, stability, gross weight, net weight, tare value, high resolution, adc point, millivolst etc. immediately, without waiting for scale stability.

NOTE: QASI1C uses comma (,) as data separator instead of space (˽) everything else is the same.

Table 43

Command

QASI1

Query all scale information

Responses

QASI˽<ScaleStatus>˽<Channel>˽<Range>˽<Stability>˽<Gross>˽
<Net>˽<Tare>˽<HighResolution>˽<ADCPoints>˽
<Milivolts>˽<Unit>

Scale data with stable net weight value.

QASI˽I

Command received but cannot be executed at this time (the scale is busy processing another task or command).

Example communication

↓
QASI1
↑
QASI1˽1˽1˽3˽˽˽˽˽˽˽˽0.0˽˽˽˽˽˽˽˽0.0˽˽˽˽˽˽˽˽0.0˽˽˽˽˽-0.002˽˽˽˽8517221˽˽˽˽˽0.5989˽g
↓
QASI1
↑
QASI1˽1˽1˽3˽˽˽˽1000.00˽˽˽˽˽100.00˽˽˽˽˽900.00˽˽˽999.9999˽˽˽˽8698107˽˽˽˽˽1.4411˽g
Table 44

Parameters

Description

<ScaleStatus>

1 – no error for others see list of error codes

<Channel>

Current scale channel 1-4

<Range>

1…3 range in which current gross value is

<Stability>

S – stable weight
D – unstable weight (dynamic)
+ - overload
- - underload

<Gross>

Gross weight

<Net>

Net weight

<Tare>

Tare

<HighResolution>

High resolution gross weigh with two additional decimals

<ADCPoints>

Signal from load cell expressed in points

<Milivolts>

Signal from load cell expressed in millivolts

<Unit>

Unit

FT – get/set filter

FT command is used to get or set filter on currently active scale. If you want to set filter for different scale either switch to different scale by using SNS command or use SSD command and parameter nFT.

Table 45

Command

FT=?
FT=<value>

Query current filter value.
Set filter value – range 1-1023 – 1 no filter, 1023 maximum filter

Responses

FT˽A˽<value>

Response with filter value

FC – enable/disable high resolution filter

FC command is used to enable/disable high resolution filter on currently active scale. If you want to set filter for different scale either switch to different scale by using SNS command or use SSD command and parameter nFC.

Table 46

Command

FC=?
FC=<value>

Query current high resolution filter value.
Enable (1) or disable (0) high resolution filter.

Responses

FC˽A˽<value>

Response with high resolution filter value.

RST – reset scale

Table 47

Command

RST

Reset scale.

Responses

I4˽A˽"serialNo"

Response confirming the restart command.

Scale and applications parameters

Command RSD and SSD give you possibility to read all scale and applications parameters.

Each parameter has unique name and to which a corresponding value can be set. List of all available parameters are listed below in table with description, default value and range value.

Parameters are always in key=value pairs. For example 1D1=0.1 where 1D1 is parameter and 0.1 is it’s value. Parameters are separated with semicolon (;).

Single channel and multi channel

Single-channel and multi-channel operation

By default, the scale operates in single-channel mode (SAM=0). In this mode, each of the four ADC channels can be connected to a separate weighing platform. Each channel is treated as an independent scale and may have its own metrological parameters, including capacity, scale division, calibration, filter settings, zero settings, and weighing unit.

Single-channel mode should be used when:

each ADC channel is connected to a separate weighing platform;

every platform requires its own calibration and metrological settings;

only one load-cell signal is required for each scale;

compatibility with the standard acquisition and calibration procedure is required.

In multi-channel mode (SAM=1), two, three, or four ADC channels are combined into one logical scale. The number of active channels is selected with the SAC parameter. Each active channel is sampled continuously, and its individual raw ADC value and signal in millivolts can be read using the QASIX or ADCX command.

The active channel signals are summed to obtain one composite ADC value. This composite value is used for the normal whole-scale calibration and mass calculation. Therefore, only one metrological configuration and one standard scale calibration are required for the complete platform.

Multi-channel mode is especially useful when several load cells support the same platform, tank, hopper, or silo.

Advantages of multi-channel operation

No external junction box is required.
Each load cell can be connected directly to a separate ADC channel.

Individual load-cell monitoring.
The ADC value and millivolt signal of every load cell can be monitored separately.

Simplified fault detection.
A damaged, disconnected, overloaded, or drifting load cell can be identified more easily because its signal is available independently.

Better installation diagnostics.
Individual channel readings can reveal uneven loading, mechanical obstruction, incorrect wiring, or poor load distribution.

One calibration for the complete platform.
Although every load-cell signal is measured separately, their combined signal is calibrated as one weighing system.

Optional eccentricity correction.
Differences between load cells and position-dependent weighing errors can be compensated using individual channel correction factors.

Flexible channel count.
The same system can be configured for platforms using two, three, or four load cells. Using fewer channels also reduces the time required to acquire a complete measurement frame.

Typical applications

Multi-channel mode is recommended for:

four-load-cell platform scales;

three- or four-point silo and hopper weighing;

tank weighing systems;

systems where individual load-cell diagnostics are required;

installations where an external analogue junction box should be avoided;

platforms requiring electronic eccentricity or corner-error correction.

The main difference is that single-channel mode provides up to four independent scales, while multi-channel mode combines up to four individually monitored load-cell signals into one calibrated scale.

RSD – get all parameters

Get all scale and applications parameters. This is very usefully not just to get current values but also you can store them as backup of your scale configuration. To restore values you just simple replace first character R with S and send it to scale.

Table 48

Command

RSD

Query all parameters.

Response

RSD;<param1=value>;<param2=value>;…

All parameters.

Example

—

↓
RSD
↑
RSD;1D1=0.1;1D2=;1D3=;1M1=1000;1M2=;1M3=;1U=g;1ZT;…

Parameter query (=?) – get one parameter value

If you need to retrieve only one parameter value you can use this command.

Table 49

Command

<parameter>=?

Query parameter value.

Response

<parameter>=<value>

Parameter and it’s value.

Example

↓

1D1=?

↑

1D1=0.1

SSD – set parameter(s)

This command is used to set scale and applications parameters. Please note that after changing parameter values in storage they are not applied immediately. To apply new values you must either reboot scale or execute command IS to apply new settings.

Table 50

Command

SSD;[parameter1=value]; [parameter2=value2];…

Set on or multiple parameters values.

Response

SSD;[parameter1=@1];[parameter2=@1];…

Successfully set application parameter(s).
SSD command does not return parameter value but it return success status which can be:
@1 – parameter changed successfully
@-1 – parameter does not exists
@-2 – not allowed ASCII value or character
@-3 – not valid scale parameter

IS – initialize scale

Table 51

Command

IS

Initialize scale with new parameters

Response

IS˽A

Scale initialization finished.
Note: scale initialization will take few seconds to finish.

GCAL – get calibration data

Table 52

Command

GCAL=<scaleNo>

Get calibration data of selected scale. If <scaleNo> parameter is set to 0 you will receive calibration data of all scales.

Response

GCAL=<sZP=value>,<sxW=value>,
<sxA=value>,<sxF=value>,…

Calibration parameters:
s – is scale number
x – is consecutive number
ZP – zero points
W – load
A – ADC points
F - factor

CAL – SCALE calibration

Table 53

Command

CAL=<point>,<load>,[requireStable]

Calibrate selected point with selected value.

Response

CAL=@<status>,<channel>,<repNo>,<point>,
<load>,<adcPoints>,<factor>

Calibration response; see the Status parameter below.

Example of calibrations

↓
CAL=0,0
↑
CAL=@S,1,0,0,0.00,0,0
CAL=@C,1,1,0,0.00,8517076.76,0
CAL=@C,1,2,0,0.00,8517075.26,0
CAL=@F,1,2,0,0.00,8517075.98,0
↓
CAL=1,500
↑
CAL=@S,1,0,1,500.00,0,0
CAL=@C,1,1,1,500.00,8607489.80,0
CAL=@C,1,2,1,500.00,8607488.14,0
CAL=@F,1,2,1,500.00,8607487.56,180.82401
Table 54

Parameters

Description

<point>

Calibration point number 0-8 (0 is zero calibration).

<load>

Weight that is placed on the scale load receptor. In case point is zero load must be 0.
Load must be less or equal to scale maximum.

[requireStable]

By default stable weight during calibration process is mandatory otherwise calibration will not finish and error will be returned.
In case you would like to store calibration even, if stability is not achieved you must set [requireStable] to 0 and calibration will be stored regardless of weight stability.

<status>

Status represent current status of calibration with @ followed by status character which can be:
S - calibration started
C – calibration of point in progress
F – calibration finished
E – calibration error (unstable weight, ADC points less than previous point etc.)

<channel>

Channel represent scale on which calibration is being executed – 1-4.

<repNo>

Calibration requires stable weight therefore there will be up to 10 repetitions. If stability is not reached in 10 repetitions calibration will fail unless require stable parameter was set to 0.
If stability is achieved before 10th repetition calibration will finish sonner.

<adcPoints>

Signal from load cell expressed in points

<factor>

Factor that was calculated for this point and provided load.

DCAL – Delete calibration

Table 55

Command

DCAL=<point>

Delete calibration point 0-8.
If point is 99 it will delete all calibration points.

Response

DCAL=A,<point>
DCAL=E,<point>

Calibration point deleted successfully.
Deletion of calibration point failed (wrong point).

Multi channel

By default scale works as single channel which means each channel can be connected to different platform and have different metrological data such as capacity, readout, filter etc.. Scale has four channels. In multi channel you can connect up to for load cells or platforms and get from every load cell ADC points and mV which is especially useful if you do not want to use junction boxes and monitor each load cell separately/platform while having only one calibration.

SAM – Scale ADC mode

Metrological data – scale parameters

Metrological and calibration data are stored in parameters described in the table below.

Note: you can manually send any parameter to scale via any connection interface to which you set scale. Important is that you follow proper structure and start the command with SSD. See example below the table.

Table 56

Parameters

Descriptions

Default

Data

Example

sN

Channel/scale name – max 8 characters

—

char

—

sDx

Division – D1-D3

—

Float

—

sMx

Maximum – M1-M3

—

Float

—

sRx

No. of ranges – 1-3

—

Uint8

—

sxA

Point x ADC points

—

Uint32

—

sxW

Point x weight

—

Float

—

sxF

Point x factor

—

Float

—

sU

Unit

kg

Char[2]

—

sFT

Filter: 1-1023 (1- no filter, 1023 max)

0

Uint16

—

sFC

High resolution filter: 0-disabled, 1-enabled

0

Uint8

—

sDS

Division for test stability

0

Uint8

—

sZT

Zero tracking – 0-99 (0 disabled)

0

Uint8

—

sZR

Zero range in percentage - 0 means zeroing is disabled

0

Uint8

—

sOZ

On zero -executed zeroing in range – percentage 0-50% - 0 means on zero is disabled

0

Uint8

—

sCW

Command timeout window – value how long to wait for stability in zeroing, taring, getting stable weight etc. in seconds 1,2,3,…

5

Uint16

—

0SW

Stability window – how long the weight must be stable in order to set status to stable - in milliseconds

500

Uint16

SW=1000

s – means scale number 1-4
x – is consecutive number 1-n

Example:

SSD;1D1=1;1M1=1000;1U=kg

Will set up scale parameters of scale 1 with division of first range to 1 kg and capacity of first range to 1000 kg. Unit will be set to kg.

Applications

Applications have specific functionalities and parameters related to them. They are described in the following chapters.

Application common commands are:

  • M25 – query available applications

  • M26 – query current application or set specific application

M25 – get available applications

Table 57

Command

M25

Command to get request available applications.

Response

M25˽B˽0˽"Weighing"
M25˽B˽1˽"Counting"
M25˽B˽2˽"Check weighing"
M25˽B˽3˽"Dosing"
…

List of available applications.

M26 – query current application & set active application

Table 58

Command

M26

Query currently active application

M26˽1

Set application 1 – Counting.

Response

M26˽A˽1

Current active application is 1 - Counting

M26˽A

Successfully set application.

M26˽L

Command received but not executable (syntax error or wrong or non-existing application number).

PMI – get target and tolerance

PMI command can be used in counting and check weighing applications.

Table 59

Command

PMI

Command to get checkweighing parameters.

Responses

PMI˽<Application>˽<TolMode>˽<Unit>˽<V1>˽<V2>˽[V3]˽[T˽Tare]˽[A˽APW]˽[NO "ArticleID"] ˽[NA "ArticleDescription"]

Command executed successfully.
Please note: parameters in [ ] are optional.

PMI˽I

Command received but cannot be executed at this time (the scale is busy processing another task or command).

PMI˽L

Command received but not executable (syntax error or wrong parameter value).

Examples

↓
PMI
↑
PMI˽W˽ABS˽g˽10.00˽20.00˽T˽0.0˽NO˽"3185"˽NA˽"Screw M5, inox metric"
↓
PMI
↑
PMI˽C˽REL˽g˽100.0˽0.0˽2.0˽T˽115.3˽A˽0.500000
Table 60

Parameters

Description

<Application>

W – weighing
C – counting

<TolMode>

ABS – high and low limit
REL – relative limits based on target and tolerance plus and minus
PER – percentage mode (only available in checkweighing) where tolerances are calculate based on percentage of target

<Unit>

Unit

<V1>

Target if TolMode=REL/PER; low limit if TolMode=ABS

<V2>

Tolerance minus if TolMode=REL/PER; high limit if TolMode=ABS

[V3]

Tolerance plus if TolMode=REL/PER

[T˽Tare]

Tare value

[A˽APW]

Average piece weight

[NO "ArticledID"]

Article id

[NA "ArticleDescription"]

Article description

Common application parameters

Table 61

Parameter

Description

Default value

Range

nLT

LT represent lock/unlocked tare. By default tare is locked which means that also after scale is unloaded tare will stayed stored in scale memory. If you set LT=0 tare will be automatically cleared once you unload the scale (return in zero range is required).

1
0-1

* n represents number of scale 1-4

Counting application

Counting application is calculating no. of pieces based on the provided or referenced Average Piece Weight (APW).

Counting application parameters

Parameters related to counting application are:

Table 62

Parameter

Description

Default value

Range

nACD

Counting decimals – when calculating number of pieces you can set to use also decimal values not just integer values. Counting decimals are used also in check mode.

0
0…10

nACAD

APW decimals – set on how many decimals APW is calculated.

No. of decimals in first division + 2

0…10

* n represents number of scale 1-4

To change or get counting application parameters you must use SAP and GAP command.

PW – query or set piece weight

Table 63

Command

PW˽[apw]˽[unit]

Command to get or set piece weight value. If apw and unit param’s are omitted then current piece weight value is returned.

Responses

PW˽A˽<apw>˽<unit>

Command executed successfully. Response includes also average piece weight value.

PW˽I

Command received but cannot be executed at this time (the scale is busy processing another task or command).

PW˽L

Command received but not executable (syntax error or wrong parameter value).

Examples

↓
PW
↑
PW˽A˽˽˽0.005001˽g
↓
PW˽0.005˽g
↑
PW˽A˽˽˽0.005000˽g

REF – calculate average piece weight

Table 64

Command

REF˽<noOfPieces>

Command to execute calculation of APW. You must provide no. of pieces currently placed on the scale load receptor.
Please note that APW calculation can take up to 10 seconds.
Net weight can not be equal to zero.

Responses

REF˽A˽<apw>˽<unit>

Command executed successfully. Response includes also average piece weight value.

REF˽I

Command received but cannot be executed at this time (the scale is busy processing another task or command).

REF˽L

Command received but not executable (syntax error or wrong parameter value, net weight is zero, unstable conditions – could not perform reference).

Examples

↓
REF˽100000
↑
REF˽A˽˽˽˽0.004997˽g

PCS – get number of pieces

Table 65

Command

PCS

Command to get current number of pieces.

Responses

PCS˽<Status>˽<noOfPieces>

Response with current number of pieces and scale status.

PCS˽I

Command received but cannot be executed at this time (the scale is busy processing another task or command).

Table 66

Parameters

Description

<Status>

S – stable weight
D – unstable weight (dynamic)
+ - overload
- - underload

<noOfPieces>

Current number of pieces.

PCSX – get number of pieces and weighing data

Table 67

Command

PCSX

Command to get current number of pieces and weighing data.

Responses

PCSX˽<Status>˽<TolStatus>˽<noOfPieces> ˽<APW>˽<Gross>˽<Net>˽<Tare>˽<Unit>˽[NO "ArticleID"] ˽[NA "ArticleDescription"]

Response with current number of pieces, scale and tolerance status and all weighing data.
If set also article ID and description are returned. See command PMC.

PCSX˽I

Command received but cannot be executed at this time (the scale is busy processing another task or command).

Examples

↓
PCSX
↑
PCSX˽S˽NA˽˽˽˽˽100030˽˽˽0.004997˽˽˽˽˽499.85˽˽˽˽˽499.85˽˽˽˽˽˽˽0.00˽g
↓
PCSX
↑
PCSX˽S˽OK˽˽˽˽˽100000˽˽˽0.004997˽˽˽˽˽499.70˽˽˽˽˽499.70˽˽˽˽˽˽˽0.00˽g
Table 68

Parameters

Description

<Status>

S – stable weight
D – unstable weight (dynamic)
+ - overload
- - underload

<TolStatus>

NA – not applicable – target/tolerances are not set
OK – in tolerance
LO – under tolerance
HI – over tolerance

<Gross>

Gross weight

<Net>

Net weight

<Tare>

Tare

<APW>

Current average piece weight

<Unit>

Unit

PMC – set target and tolerance in counting

With PMC command you can activate check program where you can set target and tolerances (relative mode) or lower and higher limit (absolute mode) to get tolerance status based on the number of present pieces on scale. To get current values use PMI command.

Negative check counting

You can use negative check counting in relative mode where you set target in minus. In that case please note that upper and lower limit will be swapped in order to correctly determine tolerance status.

Table 69

Command

PMC˽REL˽<Target>˽<TolMinus>˽<TolPlus>˽[U˽Unit]˽[A˽APW]˽[T˽Tare]˽[NO "ArticleID"] ˽[NA "ArticleDescription"]
PMC˽ABS˽<LowLimit>˽<HighLimit>˽[U˽Unit]˽[A˽APW]˽[T˽Tare]˽[NO "ArticleID"]˽[NA "ArticleDescription"]

Command to set checkweighing parameters. There are two modes available:
REL – relative mode with target and tolerance minus/plus
ABS – absolute mode with low and high limit.
If set PCSX command will return tolerance status according to parameters values.
If output function are set it will activate/deactivate outputs according to set function and according to parameters.
Please note:
Parameters in [ ] are optional.
If you do not provide unit the tare and APW will not be set even, if they are provided.

Responses

PMC˽A

Command executed successfully.

PMC˽I

Command received but cannot be executed at this time (the scale is busy processing another task or command).

PMC˽L

Command received but not executable (syntax error, wrong parameter value or counting application not activated – see command M25/M26).

Examples

↓
PMC˽ABS˽10˽11

Lower limit=10 pcs
Upper limit=11 pcs

↑
PMC˽A

—

↓
PMC˽REL˽10˽0˽1˽U˽kg˽A˽0.003˽T˽0.513

Target=10 pcs
Tolerance minus=0 pcs
Tolerance plus=1 pcs
APW=0.003 kg
Preset tare=0.513 kg

↑
PMC˽A

—

Table 70

Parameters

Description

<Target>

Target used in relative mode. If no. of pieces is equal or higher than lower limit and lower or equal than upper limit tolerance status is OK.

<TolMinus>

Tolerance minus is used to set lower limit and is calculated as <Target>-<TolMinus>. When no. of pieces is lower than low limit tolerance status is LO.

<TolPlus>

Tolerance plus is used to set upper limit and is calculated as <Target>+<TolPlus>. When no. of pieces is higher than upper limit tolerance status is HI.

<LowLimit>
<HighLimit>

<LowLimit> Lower limit in absolute mode. If number of pieces is lower than tolerance status is LO.
<HighLimit> Upper limit in absolute mode. If number of pieces is higher than upper limit tolerance status is HI.
If number of pieces is equal or higher than lower limit and lower or equal than upper limit tolerance status is OK.

[U˽Unit]

Unit

[A˽APW]

Average piece weight – value used to calculate no. of pieces.

[T˽Tare]

Preset tare value

[NO "ArticleID"]

Article ID – to be used to determine which article is being counted when using PCSX command.

[NA "ArticleDescription"]

Article description

Check weighing (+/-) application

PMW – set target and tolerances or high/low limit

With PMW command you can activate check weighing program where you can set target and tolerances (relative mode) or lower and higher limit (absolute mode) or provide tolerance in percentage related to target value in unit of measure. To get current values use PMI command.

Negative check weighing

You can use negative check weighing in relative mode where you set target in minus. In that case please note that upper and lower limit will be swapped in order to correctly determine tolerance status.

Table 71

Command

PMW˽REL˽<Target>˽<TolMinus>˽<TolPlus>˽<Unit>˽[T˽Tare]˽[NO "ArticleID"]˽[NA "ArticleDescription"]
PMW˽ABS˽<LowLimit>˽<HighLimit>˽<Unit>˽[T˽Tare]˽[NO "ArticleID"]˽[NA "ArticleDescription"]
PMW˽PER˽<Target>˽<TolMinus>˽<TolPlus>˽<Unit>˽[T˽Tare]˽[NO "ArticleID"]˽[NA "ArticleDescription"]

Command to set checkweighing parameters. There are three modes available:
REL – relative mode with target and tolerance minus/plus
ABS – absolute mode with low and high limit.
PER – percentage mode where you set target in unit and tolerances in percentage.
If set CWX command will return tolerance status according to parameters values.
If output function are set it will activate/deactivate outputs according to set function and according to parameters.
Please note: parameters in [ ] are optional while parameters in <> are required.

Responses

PMW˽A

Command executed successfully.

PMW˽I

Command received but cannot be executed at this time (the scale is busy processing another task or command).

PMW˽L

Command received but not executable (syntax error, wrong parameter value or checkweighing application not activated – see command M25/M26).

Examples

↓
PMW˽PER˽16.3˽10.2˽10.9˽lb

Target=16.3 lb
Tolerance minus=10.2% (1,663 lb)
Tolerance plus=10.9% (1,777 lb)

↑
PMW˽A

—

↓
PMW˽ABS˽10.2˽10.4˽kg

Lower limit=10.2 kg (under)
Upper limit=10.4 kg (over)

↑
PMW˽A

—

↓
PMW˽REL˽100˽4.1˽4.5˽kg

Target=100 kg
Tolerance minus=4.1 kg (under<95.9 kg)
Tolerance plus=4.5 kg (over>104.5 kg)

↑
PMW˽A

—

↓
PMW˽PER˽100˽1.1˽2˽kg

Target=100 kg
Tolerance minus=1.1 % (under<98.9 kg)
Tolerance plus=2% (over>102 kg)

↑
PMW˽A

—

Table 72

Parameters

Description

<Target>

Target used in relative mode. If no. of pieces is equal or higher than lower limit and lower or equal than upper limit tolerance status is OK.

<TolMinus>

Tolerance minus is used to set lower limit and is calculated as <Target>-<TolMinus>. When no. of net is lower than low limit tolerance status is LO.

<TolPlus>

Tolerance plus is used to set upper limit and is calculated as <Target>+<TolPlus>. When net is higher than upper limit tolerance status is HI.

<LowLimit>
<HighLimit>

<LowLimit> Lower limit in absolute mode. If net weight is lower than tolerance status is LO.
<HighLimit> Upper limit in absolute mode. If net is higher than upper limit tolerance status is HI.
If net is equal or higher than lower limit and lower or equal than upper limit tolerance status is OK.

[U˽Unit]

Unit

[T˽Tare]

Preset tare value

[NO "ArticleID"]

Article ID – to be used to determine which article is being checkweighed when using CWX command.

[NA "ArticleDescription"]

Article description - to be used to get article description when using CWX command.

CWX – get tolerance status and weighing data

Table 73

Command

CWX

Command to get current check weighing status and weighing dat.

Responses

CWX˽<Status>˽<TolStatus>˽<Gross>˽<Net>˽<Tare>˽<Unit>˽[NO "ArticleID"] ˽[NA "ArticleDescription"]

Response with tolerance status and all weighing data.
If set also article ID and description are returned. See command PMW.

CWX˽I

Command received but cannot be executed at this time (the scale is busy processing another task or command).

Examples

↓
CWX
↑
CWX˽S˽NA˽˽˽˽˽499.85˽˽˽˽˽499.85˽˽˽˽˽˽˽0.00˽g
↓
CWX
↑
CWX˽S˽OK˽˽˽˽˽499.70˽˽˽˽˽499.70˽˽˽˽˽˽˽0.00˽g
Table 74

Parameters

Description

<Status>

S – stable weight
D – unstable weight (dynamic)
+ - overload
- - underload

<TolStatus>

NA – not applicable – target/tolerances are not set
OK – in tolerance
LO – under tolerance
HI – over tolerance

<Gross>

Gross weight

<Net>

Net weight

<Tare>

Tare

<Unit>

Unit

Input and outputs

Inputs

In order to use digital inputs you must first configure them as by default all inputs are disabled.

Each digital input has two modes:

  • On/off

  • Counter

In on/off mode digital input acts as switch. If function is set it will also trigger function execution (e.g. zero scale, tare scale, etc) otherwise you can use it as you wish by monitoring it’s status.

In counter mode digital input will increase counter value each time the state of input is high. Counter value is also stored so even after module reboot it is still available. Off-course you have possibilities to set and reset counter value.

SIF – get or set input configuration parameters

SIF command is used to setup input mode which can be on/off (classic input mode) or counter.

Table 75

Command

SIF,<inputNo>=99
SIF,<inputNo>=<M˽mode>,[D˽debounce],[G˽glitch],
[F˽function]
SIF,00=<M˽mode>,[D˽debounce],[G˽glitch],
[F˽function];[M˽mode],[D˽debounce],[G˽glitch],
[F˽function];…

Command to get configuration of selected input.
If <inputNo> is 00 you will get configuration of all inputs separated by semicolon (;).
Commad to set input configuration.
If <inputNo> is 00 you can set configuration of all inputs by providing parameters for each input separated by semicolon (;). First configuration is for first input, second for second etc.

Responses

RIF,<inputNo>=<M˽mode>,<D˽debounce>,<G˽glitch>,
<F˽function>

Configuration of one input

RIF,00=<M˽mode>,<D˽debounce>,<G˽glitch>,
<F˽function>;<M˽mode>,<D˽debounce>,<G˽glitch>,
<F˽function>;…

Configuration of all inputs.

Examples

↓
SIF,2=99
↑
RIF,2=M˽1,D˽5,G˽0,F˽0
↓
SIF,2=D˽20,F˽1
↑
RIF,2=M˽1,D˽20,G˽0,F˽1
Table 76

Parameters

Description

<inputNo>

Input number. Depending on the CloudScale you are using it is value from 1…n depending on the number of available inputs.
Please note that 00 has special function to retrieve all inputs settings.

<M˽mode>

Digital input mode:
0 – disabled
1 – on/off
2 – counter
Please note that this parameter is mandatory when changing input settings.

[D˽debounce]

Filters switch bounce. Input must stay stable for this time before the state is accepted. To be used only when input mode is on/off. Typical value: 5-100 ms.

[G˽glitch]

Ignores short electrical noise pulses. Pulses shorter than this time are not counted. To be used only when input mode is counter. Typical value: 1-20 µs.

[F˽function]

Digital input function (only available in on/off mode):
0 – disabled
1 – zero scale
2 – tare scale

SIN – get status of input(s)

To use digital input you have to set it’s function first to on/off mode.

Table 77

Command

SIN,<inputNo>
SIN,00

Command to get status of input.
If <inputNo> is 00 you will get status of all inputs.

Responses

RIN,<inputNo>=<iS>

<iS> can be 0 (input not activated) or 1 (input activated.

RIN,00=<iS1>,<iS2>,..

If <inputNo> is 00 response includes status of all inputs in ordered by input number from 1 to n.
If value is -1 it means that digital input is disabled. If value starts with # it means that this is the value of counter.

Examples

↓
SIN,2
↑
RIN,2=1
↓
SIN,00
↑
RIN,00=0,1,1,1,1,0

DIC – get counter value

Table 78

Command

DIC,<inputNo>
DIC,00

Command to get current counter value at selected input.
If <inputNo> is 00 you will get values of all counters.

Responses

RIC,<inputNo>=<cv>

<iS> can be 0 (input not activated) or 1 (input activated.

RIC,00=<#cv1>,<#cv2>,..

If <inputNo> is 00 response includes values of all counters in ordered by input number from 1 to n.
Please note that response includes also inputs that are in on/off mode or disabled in this case value is -1 which means that inputs is not in counter mode.

Examples

↓
DIC,2
↑
RIC,2=13243

SIC – set counter value

Table 79

Command

SIC,<inputNo>=<value>

Command to set selected counter value.

Responses

RIC,<inputNo>=<value>

—

Examples

↓
SIC,4=500
↑
RIC,4=500

CIC – clear counter value

Table 80

Command

CIC,<inputNo>
CIC,00

Command to clear selected counter value.
Command to clear all counters values.

Responses

RIC,<inputNo>=<value>

—

Examples

↓
CIC,4
↑
RIC,4=0
↓
CIC,00
↑
RIC,00=-1,-1,-1,#0,-1,-1

Outputs

Digital outputs enables you to control external peripherals such as lights, buzzers, relays, etc.. You can manually control outputs via commands, or you can set function and it will set output automatically according to selected function.

SOT - get or set output state

Table 81

Command

SOT,<outputNo>=<oS>
SOT,00=<oS1>,<oS2>,
<oS3>,…
SOT,00=99

Command to get or set output state related to <oS> parameter:
99 - you will receive output state,
0 – you will disable/deactivate output so the state is low
1 – you will enable/activate output so the state is high
In case you set output no. to 00 you can set all outputs at once. Please note that order is from 1…n
This command will return you all outputs states.

Responses

ROT,<outputNo>=<oS>
ROT,00=<oS1>,<oS2>,
<oS3>,…

Response for one output.
Response for multiple outputs.

Examples

↓
SOT,4=99
↑
ROT,4=0
↓
SOT,4=1
↑
ROT,4=1
↓
SOT,00=99
↑
ROT,00=0,1,0,1,0,0
↓
SOT,00=0,0
↑
ROT,00=0,0,0,1,0,0
Table 82

Parameters

Description

<outputNo>

Output number. Depending on the CloudScale you are using it is value from 1…n depending on the number of available outputs.
Please note that 00 has special function to retrieve or set all outputs states.

<oS>

Output state:
0 – low (disabled)
1 – high (enabled)
99 – special value to get current state of output

SOF - get or set output function

Table 83

Command

SOF,<outputNo>=<oF>
SOF,00=<oF1>,<oF2>,
<oF3>,…
SOF,00=99

Command to get or set output function related to <oF> parameter:
99 - you will receive current output function,
0….98 – you will set output function
In case you set output no. to 00 you can set all outputs functions at once. Please note that order is from 1…n
This command will return you all outputs functions.

Responses

ROF,<outputNo>=<oF>
ROF,00=<oF1>,<oF2>,
<oF3>,…

Response for one output.
Response for multiple outputs.

Examples

↓
SOF,4=99
↑
ROF,4=0
↓
SOF,4=1
↑
ROF,4=1
↓
SOF,00=99
↑
ROF,00=2,3,0,1,0,0
↓
SOF,00=1,2,3
↑
ROF,00=1,2,3,1,0,0
Table 84

Parameters

Description

<outputNo>

Output number. Depending on the CloudScale you are using it is value from 1…n depending on the number of available outputs.
Please note that 00 has special function to retrieve or set all outputs states.

<oF>

Output function:
0 – disabled
1 – tolerance ok
2 – tolerance low
3 – tolerance high
99 – special value to get current function of output

IIO - initialize inputs and outputs

Table 85

Command

IIO

After changing inputs and outputs you must perform initialization or scale restart to apply changes.

Responses

IIO˽A

—

Frequently asked questions

Which interfaces support CSCP?

CSCP can be used through the device interfaces configured for the protocol. The same command structure is used; match the connection settings before exchanging commands.

How do I back up and restore scale parameters?

Read the parameters with RSD and save the response. To restore them, replace its initial R with S to form SSD. Apply the stored settings with IS or restart the scale.

How do I distinguish check counting from checkweighing?

PMC sets limits for the number of pieces; PMW sets limits for weight. Read counting data with PCSX and checkweighing data with CWX. PMI reads the current target and tolerance settings.

What is the difference between SOT and SOF?

SOT reads or changes output states. SOF reads or changes the assigned output functions. SOT,00=99 reads all states; SOF,00=99 reads all functions.