4 Commissioning
Set object 2057
h
:00 to the value "512" and object 2058
h
to the value "4" (quarter step step
mode in clock-direction mode):
2057:00=512
2058:00=4
Note
●
There must be no blank characters to the left and right of the equal sign. The following assignments
are not correct:
6040:00 =5
6040:00= 5
6040:00 = 5
●
The number of places must not be changed. The index must be four characters long and the
subindex two characters long. The following assignments are not correct:
6040:0=6
6040=6
●
Blank spaces at the start of the line are not permitted.
4.1.3.4 Conditional evaluation
The DIP switches can be used to execute only certain assignments. The following syntax is used for
conditional execution:
#<No>:<Assignment>
<No>
The number of the DIP switch is entered here as it is printed on the switches. Valid values are 1 to 4
<Assignment>
The assignment is specified here as described in section Assignments.
Example
The following code sets object 2057
h
:00
h
"Clock Direction Multiplier":
●
to 1 if DIP switch 1 is switched to "Off".
●
to 2 if the DIP switch is switched to "On" (the previous value is overwritten).
2057:00=00000001
#1:2057:00=00000002
4.1.4 NanoJ program
A NanoJ program can be executed on the controller. To load and start a program on the controller, proceed
as follows:
1. Write and compile your program as described in chapter Programming with NanoJ.
2. Connect the voltage supply to the controller and switch on the voltage supply.
3. Connect the controller to your PC using the USB cable.
Version: 2.0.1 / FIR-v1650 26