You are on page 1of 10

Document name Page

MPERIA SX32 Emulator Manual 1 (10)


Document number Date

-------- 2020-08-19

MPERIA SX32 Emulator Manual


for MPERIA 9.2.x

-1-
Document name Page

MPERIA SX32 Emulator Manual 2 (10)


Document number Date

-------- 2020-08-19
1 Overview.......................................................................................................................................3
2 Protocol.........................................................................................................................................4
3 Availability....................................................................................................................................5
3.1 Commands and responses......................................................................................................6
4 Setup..............................................................................................................................................7
4.1.1 Example..........................................................................................................................8
5 Limitations....................................................................................................................................9
5.1.1 Other limitations.............................................................................................................9
6 Revision history..........................................................................................................................10

-2-
Document name Page

MPERIA SX32 Emulator Manual 3 (10)


Document number Date

-------- 2020-08-19

1 Overview
The SX32 Emulator is designed to emulate the I-Mark SX32 protocol.

-3-
Document name Page

MPERIA SX32 Emulator Manual 4 (10)


Document number Date

-------- 2020-08-19

2 Protocol

-4-
Document name Page

MPERIA SX32 Emulator Manual 5 (10)


Document number Date

-------- 2020-08-19

3 Availability
The SX32 Emulator protocol is available as a plugin and needs to be configured before use. It can
be run either on a serial port or a selectable TCP/IP port.

-5-
Document name Page

MPERIA SX32 Emulator Manual 6 (10)


Document number Date

-------- 2020-08-19

3.1 Commands and responses


The Command Protocol is a line based protocol. Commands are sent from the remote host to the
Controller. Every command causes a response to be sent from the Controller back to the remote
host.
Commands can be found in the SX-32e ASCII Protocol V4I1 or SX32I ASCII V2 I1.
Example:

GP SWVERS<CR><LF>

Every line sent to the Controller causes the Controller to send a response back. Either an error code
or a response to the command, or in the case of setting properties, just an “ok”.
The protocol uses UTF-8 to encode Unicode strings.

-6-
Document name Page

MPERIA SX32 Emulator Manual 7 (10)


Document number Date

-------- 2020-08-19

4 Setup
Go to Configuration, Protocols and select the COM port or TCP/IP port that should be used. Then
on Protocol Settings, select Protocol Plugin, and the sx32-emulator plugin.

Go to Maintenance, Plugins, Configure and enable the plugin

In Maintenance, Plugins, Configure, you can also set if the V-Link should use 8000 or STD IJH.

Checked for 8000 heads, unchecked for STD IJH.


The V-Link does not have the auto detect feature of the SX32, so be
careful to select the correct one or you will damage the print head.

-7-
Document name Page

MPERIA SX32 Emulator Manual 8 (10)


Document number Date

-------- 2020-08-19

4.1.1Example
SP CONFIG=6
ST[2]="32V"
ST[3]="16V"
ST[4]="14V"
ST[5]="7V 1 €"
ST[6]="7V 2 Å"
ST[7]="7V 3 Ä"
ST[8]="7V 4 Ö"
SM[0]=((t[2]@0:0,font=0,size=32),(t[3]@80:0,font=0,size=16),
(t[4]@80:18,font=0,size=14),(t[5]@119:0,font=0,size=7),
(t[6]@119:8,font=0,size=7),(t[7]@119:16,font=0,size=7),
(t[8]@119:25,font=0,size=7))
SP MSGNUM[0]=0

-8-
Document name Page

MPERIA SX32 Emulator Manual 9 (10)


Document number Date

-------- 2020-08-19

5 Limitations
The plugin emulates these following properties and commands of the SX32 protocol: DATE, TIME,
STATUS, COLSPAC, CONFIG, DOTSIZE, ENCFACT, ENCMODE, PRINTHT, TARGSPD,
TILTASP, TRIGEND, TRIGSKIP, MARGIN, MARKEND, MARKGAP, MARKLEN, MSGNUM,
PRINTDIR, CLEANER, INK, ENABLE, DISABLE, FLUSH, RESET, TRIGON, TRIGOFF.
All other properties can be written and read but will not reflect in any actual changes in MPERIA.
The following objects are emulated: TEXT, COUNTER, GRAPHICS, REALTIME and MESSAGE.
The following commands and properties are not supported: CDB, CE, WARMBOOT, PRINTNEG,
PRINTCNT, ZERO, INKTYPE, UPDMODE, MSGSEL (AUX not supported).
The following objects are not supported: BARCODES, SHIFTCODES. These objects can be
written and read back in the protocol but are only stored as strings.

5.1.1Other limitations.
Margin cannot be 0mm, you need at least 10mm margin.
Realtime objects does not return a preview of the current time. Correct in message render.
Counters does not support A-Z and space padding.
Updmode is always 2.

Com port settings needs to be configured in MPERIA, the COM-related settings are not emulated.
AUX I/O selection does not work.
Flush command always flushes a normal MPERIA flush, not the specified time from the SX
protocol.

When commands are sent to the emulator, it will take control of the GUI and might delete the
installation or re-set settings to their emulated settings. Changing message or settings in the GUI
will not work well together with this emulator.

-9-
Document name Page

MPERIA SX32 Emulator Manual 10 (10)


Document number Date

-------- 2020-08-19

6 Revision history
Revision Date Changes
00 2018-07-04 First revision. For 1.0.
Table 1: Revision history.

- 10 -

You might also like