Python program for commands BIS M-41*
1. Introduction
A python code is prepared to access BIS M410 series.
2. Application to be used
BIS Dashboard
https://assets.balluff.com/WebBinary1/SW_BIS_DASHBOARD_DRF_912527_04_000.zip
BIS C-Macro Builder
https://assets.balluff.com/WebBinary1/SW_BIS_C_MACRO_BUILDER_DRF_924041_00_000.zip
Prepare Python environment in you PC.
4.1. MacroBuilder
Open Macro Builder, and open a Macro file. Sample Macro file is attached in TAN.

BIS00W2_RCV.MSF : Read Tag data from address 5, length 10bytes.

BIS00W2_WRT_B.MSF : Write "BALLUFF" to tag, start from address 5

BIS00W2_WRT_F.MSF : Write "FANUC" to tag, start from address 5

4.2. Dashboard
Connect BIS M410 to PC and open Dashboard. Choose right com port and connect.

Open "Macros" tab

Select Macro and upload to BIS by "Load" button

5. Python Program
Sample program "BIS M41x commands.py"
program_selection variable to choose command.
1 to 3 : Macro
4 : Read tag ID
5 : Read tag user data

Match the Serial Port setting to your PC.

Result of Macro 1


