EasyManua.ls Logo

EMC ModWeeihg MW61A - Understanding Macro Codes; Macro Code Categories Explained

EMC ModWeeihg MW61A
47 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
EMC INDUSTRIAL GROUP LTD Macros
MW61A_IM_ALL_SV6.09d_en 18/47
Macros
A macro is a list of numbers representing text characters and instructions codes. Each number is edited
separately, and is entered either as a number using the numeric keys, or as an text character using the
letter keys much like a cell phone. There are three data entry modes, instruction, lower case text and
upper case text.
Macro Codes
Code Description
0 end of macro Terminates execution of macro or returns from subroutine.
1 - 127 standard ASCII characters
128 - 187 extended ASCII characters
Characters are sent out COM1 (RS232).
Alternate Instructions
Used to encode printable characters (Unicode values 0 to 65536) outside the ASCII range.Sends the
Unicode characters out COM1 with UTF8 encoding. Some characters can be used in the “system name
macro” to appear on a ModWeigh display.
arg0 and arg1 must be in the range 1 to 128.
188
ALT0 arg1› arg0›
UC = (arg0 - 1) + (arg1 - 1) × 128
189
ALT1 arg1› arg0›
UC = (arg0 - 1) + (arg1 - 1) × 128 + 16384
190
ALT2 arg1› arg0›
UC = (arg0 - 1) + (arg1 - 1) × 128 + 32768
191
ALT3 arg1› arg0›
UC = (arg0 - 1) + (arg1 - 1) × 128 + 49152
Register Instructions
192 NOP no operation
193 RECALL “register register” is an ASCII Modbus address (8000 to 8992).
194
RECALL argument›
‹argument› register
1 weight
2 gross weight
3 net weight
4 zero weight
5 tare weight
6 total weight
7 running total
8 peak weight
9 flow rate
10 belt speed
11 current setpoint
12 speed demand
13 COM 2 modbus address
14 print settings & macros
15 product serial number
16 flowrate raw
17 temp 1
18 temp 2
19 perm 1
20 perm 2
21 P_Module serial number
22 perm3
23 perm4
24 perm5
25 temp3
26 temp4
27 temp5
28 batch setpoint
29 batched weight
30 batch number
31 last batched weight
32 number to batch
101 with address in VALUE
102 default_value
103 minimum_value
104 maximum_value
105 column
106 memory
107 register_number
108 port
109 slave_address
Other aruments are invalid and not all arguments
available in all products.
195 STORE “register” register” is an ASCII Modbus register (8000 to 8992).
196 STORE ‹argument ‹argument› selects register. See RECALL instruction.

Table of Contents

Related product manuals