Chapter 13 Macro
13-16
Printer
The following macro commands are used to send the command for the printer
connected to the V series.
•
MR_OUT/MR_REG
This command can be used when Sato’s barcode printer MR-400 is
connected. For information on how to use this command, refer to “Chapter
15 Print.”
•
OUT_PR
Data in F1 bytes are sent from the F0 memory to the printer.
Available Devices
OUT_PR: Command output to printer
OUT_PR F0 F1
Internal
Memory
PLC
Memory
Constant
Memory
Card
Indirect
W Word
F0
F1
Example: Paper feed and auto cut are performed on the CBM (293)
printer.
CBM manual: Command table
Print and pitch paper feed:
1BH4AHn (paper feed n/360 in.)
Auto cutter drive partial cut: 1BH6DH
Code to be sent to the printer
1BH 4AH 96H 1BH 6DH
Macro
$u100=4A1BH
$u101=1B96H
$u102=006DH
OUT_PR $u100 5
* Little endian
When two or more byte data is transferred, it is divided into 1-byte unit. This divided
n=150
Set in the little endian system.
Available command varies depending on the printer model. The V series does
not check the validity of the command before transmitting the command.
Refer to the instruction manual of the printer and set the command correctly.
Summary of Contents for Monitouch V Series
Page 1: ...Function Hakko Electronics Co Ltd...
Page 3: ......
Page 11: ......
Page 35: ......
Page 36: ...System Setting...
Page 37: ......
Page 64: ...Basic Functions...
Page 65: ......
Page 95: ...Chapter 2 Overlap 2 30 Please use this page freely...
Page 139: ...Chapter 4 Lamp 4 14 Please use this page freely...
Page 163: ...Chapter 5 Data Display 5 24 Please use this page freely...
Page 191: ...Chapter 6 Message Display Relay Message 6 28 Please use this page freely...
Page 427: ...Chapter 13 Macro 13 44 Please use this page freely...
Page 454: ...Special Functions...
Page 455: ......
Page 507: ...Chapter 18 Video Display V7i Only 18 32 Please use this page freely...
Page 647: ...Chapter 27 E Mail 27 6 Please use this page freely...
Page 667: ...Chapter 28 Web Server 28 20 Please use this page freely...
Page 690: ...Appendix...
Page 691: ......
Page 714: ...Appendix 1 Internal Memory A1 23 A1 System Memory Please use this page freely...
Page 715: ...Appendix 1 Internal Memory A1 24...
Page 737: ...Appendix 3 Error A3 16 Please use this page freely...
Page 745: ......