EVENT CUSTOM SLIDERS
Column Description
Event Hide or show the corresponding slider.
Action Perform an action on the slider release.
Command Command to perform, depends on the Action type. ('{}' is replaced by the slider value*Factor + Offset)
Offset Offset to be added to the Slider value (after scaling by Factor).
Factor Scale factor, Slider value is multplied by this value.
Min Sets the minimum value for the range of the slider.
Max Sets the maximum value for the range of the slider.
Course When ticked the slider moves in steps of 10.
Temp Should be ticked when the slider's value is a temperature to allow Artisan to properly scale the value between Centigrade and Fahrenheit.
Unit Optional text used in annotations to the the units used for the slider value.


COMMANDS
Note: "{}" can be used as a placeholder, it will be subsituted by (value*factor + offset).

Note: commands can be sequenced, separated by semicolons like in “<cmd1>;<cmd2>;<cmd3>”

Note: in PHIDGET commands, the optional parameter <sn> has the form <hub_serial>[:<hub_port>] allows to refer to a specific Phidget HUB by given its serial number, and optionally specifying the port number the addressed module is connected to.

Note: in YOCTOPUCE commands, the optional parameters <sn> holds either the modules serial number or its name
Action Command Description
Serial Command ASCII serial command or binary a2b_uu(serial command)  
Modbus Command _ variable holding the last value read via MODBUS
  sleep(<float>) sleep: add a delay of <float> seconds
  button(<bool>) sets calling button to “pressed” if argument is 1 or True
  write([slaveId,register,value],..,[slaveId,register,value]) write register: MODBUS function 6 (int) or function 16 (float)
  wcoil(slaveId,register,<bool>) write coil: MODBUS function 5
  wcoils(slaveId,register,[<bool>,..,<bool>]) write coils: MODBUS function 15
mwrite(slaveId,register,andMask,orMask) or mwrite(s,r,am,om,v) mask write register: MODBUS function 22 or simulates function 22 with function 6 and the given value v
  writem(slaveId,register,value) or writem(slaveId,register,[<int>,..,<int>]) write registers: MODBUS function 16
  writeBCD(s,r,v) or writeBCD([s,r,v],..,[s,r,v]) write 16bit BCD encoded value v to regiseter r of slave s
  writeWord(slaveId,register,value) write 32bit float to two 16bit int registers: MODBUS function 16
  writes values to the registers in slaves specified by the given id writes values to the registers in slaves specified by the given id
DTA Command Insert Data address : value, ex. 4701:1000 and sv is 100. Always multiply with 10 if value Unit: 0.1 / ex. 4719:0 stops heating
Call Program A program/script path (absolute or relative) start and external program
Hottop Heater   sets heater to value
Hottop Fan   sets fan to value
Hottop Command motor(n),solenoid(n),stirrer(n),heater(h),fan(f) with n={0 ,1},h={0,..100},f={0,..10}
Fuji Command write(<unitId>,<register>,<value>)  
PWM Command out(<channel>,<value>[,<sn>]) PHIDGET PWM Output: <value> in [0-100]
  toggle(<channel>[,<sn>]) PHIDGET PWM Output: toggles <channel>
  pulse(<channel>,<millis>[,<sn>]) PHIDGET PWM Output: turn <channel> on for <millis> milliseconds
  outhub(<channel>,<value>[,<sn>]) PHIDGET HUB PWM Output: <value> in [0-100]
  togglehub(<channel>[,<sn>]) PHIDGET HUB PWM Output: toggles <channel>
  pulsehub(<channel>,<millis>[,<sn>]) PHIDGET HUB PWM Output: turn <channel> on for <millis> milliseconds
  enabled(c,b[,sn]) YOCTOPUCE PWM Output: PWM running state
  freq(c,f[,sn]) YOCTOPUCE PWM Output: set PWM frequency to f (Hz)
  duty(c,d[,sn]) YOCTOPUCE PWM Output: set PWM period with the duty cycle in % as a float [0.0-100.0]
  move(c,d,t[,sn]) YOCTOPUCE PWM Output: changes progressively the PWM to the specified value over the given time interval
VOUT Command out(<n>,<v>[,<sn>]) for PHIDGET OUTPUT modules: set analog output channel n to output voltage value v in V (eg. 5.5 for 5.5V)
  vout(c,v[,sn]) for YOCTOPUCE VOLTAGE OUT modules with c the channel (1 or 2),v the voltage as float [0.0-10.0]
  cout(c[,sn]) for YOCTOPUCE CURRENT OUT modules with c the current as float [3.0-21.0]
  sleep(<float>) sleep: add a delay of <float> seconds
IO Command set(c,b[,sn]) PHIDGET Binary Output: switches channel c off (b=0) and on (b=1)
  toggle(c[,sn]) PHIDGET Binary Output: toggles channel c
  pulse(c,t[,sn]) PHIDGET Binary Output: sets the output of channel c to on for time t in milliseconds
  out(c,v[,sn]) PHIDGET Voltage Output: sets voltage output of channel c to v (float)
  accel(c,v[,sn]) PHIDGET DCMotor: sets acceleration of channel c to v (float)
  vel(c,v[,sn]) PHIDGET DCMotor: sets target velocity of channel c to v (float)
  on(c[,sn]) YOCTOPUCE Relay Output: turn channel c of the relay module on
  off(c[,sn]) YOCTOPUCE Relay Output: turn channel c of the relay module off
  flip(c[,sn]) YOCTOPUCE Relay Output: toggle the state of channel c
  pip(c,delay,duration[,sn]) YOCTOPUCE Relay Output: pulse the channel c on after a delay of delay milliseconds for the duration of duration milliseconds
  slider(c,v) move slider c to value v
  button(i,c,b[,sn]) switches channel c off (b=0) and on (b=1) and sets button i to pressed or normal depending on the value b
  sleep(<float>) sleep: add a delay of <float> seconds
S7 Command getDBint(<dbnumber>,<start>) read int from S7 DB
  getDBfloat(<dbnumber>,<start>) read fl oat from S7 DB
  setDBint(<dbnumber>,<start>,<value>) write int to S7 DB
  setDBfloat(<dbnumber>,<start>,<value>) write float to S7 DB
Aillio R1 Heater   sets heater to value
Aillio R1 Fan   sets fan to value
Aillio R1 Drum   sets drum speed to value
Artisan Command alarms(<bool>) enables/disables alarms
  autoCHARGE(<bool>) enables/disables autoCHARGE
  autoDROP(<bool>) enables/disables autoDROP
  sleep(<float>) sleep: add a delay of <float> seconds
  tare(<int>) tare channel <int> with 1 => ET, 2 => BT, 3 => E1c1, 4: E1c2,..
  PIDon turns PID on
  PIDoff turns PID off
  PIDtoggle toggles the PID state
  pidmode(<int>) sets PID mode to 0: manual, 1: RS, 2: background follow
  playbackmode(<int>) sets playback mode to 0: off, 1: time, 2: BT, 3: ET
  openProperties opens the Roast Properties dialog
RC Command pulse(ch,min,max[,sn]) for PHIDGET RC modules: sets the min/max pulse width in microseconds
  pos(ch,min,max[,sn]) for PHIDGET RC modules: sets the min/max position
  engaged(ch,b[,sn]) for PHIDGET RC modules: engage (b=1) or disengage (b = 0)
  ramp(ch,b[,sn]) for PHIDGET RC modules: activates or deactivates the speed ramping state
  volt(ch,v[,sn]) for PHIDGET RC modules: set the voltage to one of 5, 6 or 7.4 in Volt
  accel(ch,a[,sn]) for PHIDGET RC modules: set the acceleration
  veloc(ch,v[,sn]) for PHIDGET RC modules: set the velocity
  set(ch,pos[,sn]) for PHIDGET RC modules: set the target position
  enabled(c,b[,sn]) for YOCTOPUCE RC modules: with c:int the channel, b a bool (eg. enabled(0,1) or enabled(0,True))
  move(c,p[,t][,sn]) for YOCTOPUCE RC modules: with c:int the channel, p:int the target position, the optional t the duration in ms
  neutral(c,n[,sn]) for YOCTOPUCE RC modules: with n an int [0..65000] in us
  range(c,r[,sn]) for YOCTOPUCE RC modules: with r an int in %