
**** Contact Information ****
ARLYN SCALES
59 2nd Street
East Rockaway, NY 11518
*****************************

INSTRUCTIONS ON USING MODBUS POLL WORKSPACE FILES
-------------------------------------------------

1) Download Modbus Master Simulator from https://modbustools.com/download.html. Trial Version available for 30 days, 10 minutes session.

2) Install it on your PC.

3) Open "ModbusPollWorkspace.mbw" and the windows will automatically populate.

4) Change the Connection to fit your environment. In the Menu bar, press Connection->Connect...

5) 

a) For Serial Port Connections - 
- Set the Mode to RTU or ASCII depending on the scale's Modbus Configuration.
- Select the COM port connected to the scale and configure the Serial Transmission parameters.
- Default is set to the following:
		Baud Rate: 9600 Baud
		Data bits: 8
		Parity: None
		Stop bit: 1
		Flow control: None

b) For Ethernet TCP/IP Connections - 
- Select the connection as Modbus TCP and set the Remote Modbus Server as following:
		IP Adress: IP Address of the scale as determined in the Modbus Configuration screen under Communuications Setting.
		Server Port: The TCP Port of the scale as shown in the Modbus Configuration screen under Communications Setting.

6) Press OK.

7) If all the configuration is correct and they match with the scale, you will see the MbPoll windows having values in each row.

WINDOW DESCRIPTIONS
-------------------

MbPoll2 - This windows shows the "Input Registers" (Function 04) on the scale, starting from 30001. All the values shown are "Read Only".
The row numbers correspond to Base 0 Addressing, as below:

0 - 30001
1 - 30002
...

MbPoll4 - This window shows the "Input Status Registers" (Function 02) on the scale, starting from 10001. All the values shown are "Read only."
These addresses correspond to "bitwise" locations in this region. Each address corresponds to 1 bit. The row numbers correspond to Base 0 Addressing as below:

0 - 10001
1 - 10002
...

WRITING TO COILS (Function 01)
To write to the scale, follow the address table as listed in Spreadsheet provided in this folder structure.

A simple test would be to toggle the unit on the scale.
1) Make sure that the scale is on the main weight screen.
2) On the "Modbus Poll" program, go to "Functions->05: Write Single Coil..."
3) Make sure Slave ID: 1.
4) Set the Address = 4.
5) Set the Value = On.
6) Under "Result", uncheck the "Close Dialog on Response OK". This allows you to send data without closing the window automatically.
7) Press the "Send" button.
8) Keep an eye on the indicator and notice the indicator changing the weight to reflect the current unit.
9) Also notice that the MbPoll2 window, in Row #3 and Row #4, the values have now changed.

For further details, take a look at the Arlyn UpScale Manual:
https://www.arlynscales.com/arlyn-upscale-usermanual/ - check Section 30 Modbus. 







