User contributions for Benryves

Jump to navigation Jump to search
Search for contributionsExpandCollapse
⧼contribs-top⧽
⧼contribs-date⧽
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)

6 October 2023

  • 21:0521:05, 6 October 2023 diff hist +24‎ Technical Specification ‎No edit summary current
  • 21:0521:05, 6 October 2023 diff hist +602‎ Smart Box ‎No edit summary
  • 20:5920:59, 6 October 2023 diff hist +2,526‎ N Technical Specification ‎ Created page with "== Equipment Ratings == === Power === * Input: 220/240V 50/60Hz * Power rating: 30VA (Smart Box EV : 60VA) === Connections === * 8 x 4mm socket pairs for digital sensor inputs, * 4 x 5-pin 180° DIN sockets for Smart Analogue Sensors, * 8 x 4mm socket pairs for digital outputs, rated at 5V (max. current for any one output 400mA; total max. current for all digital outputs 600mA), * 4 x 4mm socket pairs for motor outputs, rated at 5V (max. current for any one output 1...."
  • 20:5320:53, 6 October 2023 diff hist +2,288‎ N Smart Box EV ‎ Created page with "These notes document the additional features of Smart Box EV and Smart Move software. They should be read in conjunction with the Smart Box guide and the appropriate software guide for your machine. == Smart Box ''EV'' == Smart Box ''EV'' differs from the standard Smart Box by including switchable motor output voltage and a program retention feature. == Motor output voltage == The output voltage at the motor terminals can be switched to one of three ranges using the..." current
  • 20:4920:49, 6 October 2023 diff hist +8‎ Sensors ‎No edit summary
  • 20:4820:48, 6 October 2023 diff hist +3,065‎ N Outputs ‎ Created page with "== What are Outputs? == Outputs are the physical connection between Smart Box and an external device that it is controlling such as a lamp or motor. Smart Box has two types of output sockets, the blue and red ‘Digital Outputs’ on the top of the case and the ‘motor’ outputs on the side. === Digital Outputs === The eight digital outputs are designed to switch on and off lamps and buzzers or similar devices. Each output can be switched on and off individually and..."
  • 20:4320:43, 6 October 2023 diff hist +3,132‎ N Sensors ‎ Created page with "== What are sensors? == Sensors are devices which measure some physical quantity or movement and send an electrical signal back to Smart Box. This in turn converts the signal into a form that the software can understand. The sensors provide ''feedback''. An example of a system involving feedback might be a plant heating system. The computer can switch on and off a heater, but it needs to be able to measure the temperature of the environment being controlled in order to..."
  • 20:3920:39, 6 October 2023 diff hist +292‎ Smart Box ‎No edit summary
  • 20:3620:36, 6 October 2023 diff hist +2,612‎ N Setting up ‎ Created page with "== Connecting Smart Box to your computer == Smart Box is connected to your computer using a serial port on each machine. Smart Box is supplied with a serial cable to suit your computer. One end of the cable is fitted with a 5 pin DIN plug which plugs into the serial socket on the back panel of Smart Box. The other end of the lead plugs into your computer's serial port. === PC compatible computers === Plug the lead into the socket marked ‘Serial port’. The lead is..."
  • 20:2720:27, 6 October 2023 diff hist +114‎ Smart Box ‎ →‎Contents
  • 20:2620:26, 6 October 2023 diff hist +25‎ Introduction ‎No edit summary current
  • 20:2520:25, 6 October 2023 diff hist +2,528‎ N Introduction ‎ Created page with "== About Smart Box == Smart Box has been designed to allow you to monitor the environment and control external devices using your computer. Smart Box is itself a small computer which has sockets to allow the connection of many types of sensors and other devices. Because Smart Box does not have its own keyboard or monitor it receives all its instructions via the cable which connects Smart Box to the ‘host’ computer. The ‘Serial’ port at the back of Smart Box is c..."
  • 20:2220:22, 6 October 2023 diff hist +702‎ N Smart Box ‎ Created page with "© Copyright Economatics (Education) Limited 1992 == Contents == Introduction * About Smart Box * The ports * Rear panel * Software Setting up * Connecting Smart Box to your computer * PC compatible computers * Apple Macintosh * Acorn Archimedes * BBC Micro/Master computer * Setting up procedure Sensors * What are sensors? * Analogue sensors * Digital sensors * Making your own sensors Outputs * What are Outputs? * Digital Outputs * Motor Outputs..."
  • 20:1620:16, 6 October 2023 diff hist +262‎ Main Page ‎No edit summary
  • 20:1320:13, 6 October 2023 diff hist −688‎ Main Page ‎ Replaced content with "* Reference - A general reference guide to Smart Move commands." Tag: Replaced
  • 20:0920:09, 6 October 2023 diff hist −44‎ Reference ‎No edit summary current
  • 20:0520:05, 6 October 2023 diff hist +566‎ N Mathematical operators ‎ Created page with "== Description == Smart Move allows the use of mathematical operators using both standard notation and the plain English equivalent. The following operators are allowed: {| | + || PLUS |- | - || MINUS |- | / || DIVIDED BY |- | * || MULTIPLIED BY |- | = || EQUALS |- | < || IS LESS THAN |- | > || IS GREATER THAN |- | = || IS EQUAL TO |- | <> || IS NOT EQUAL TO |- | =1 || IS ON |- | =0 || IS OFF |- | || AND |- | || OR |} == Examples == PRINT 4+4 PRINT 4..." current
  • 19:5919:59, 6 October 2023 diff hist +290‎ N WAIT ‎ Created page with "== Syntax == WAIT time/condition == Description == The wait command suspends processing until a certain event occurs or for a specified time period. == Examples == WAIT UNTIL SENSOR A >= 50 WAIT 5 == Associated keyword == * PAUSE Category:Reference Category:Procedure" current
  • 19:5819:58, 6 October 2023 diff hist +469‎ N UNTIL ‎ Created page with "== Syntax == UNTIL condition == Description == UNTIL can be used in two ways. The first, as part of the REPEAT...UNTIL loop, causes a sequence of lines to be repeated until a condition becomes true. The second, as part of the WAIT...UNTIL statement, halts all processing until a condition becomes true. == Examples == UNTIL INPUT 0 IS ON AND INPUT 1 IS ON == Associated keywords == * REPEAT * WAIT Category:Reference Category:Procedure" current
  • 19:5719:57, 6 October 2023 diff hist +205‎ N TRUE ‎ Created page with "== Syntax == TRUE == Description == TRUE is represented by the value -1 in Smart Move. == Examples == PRINT TRUE == Associated keywords == * FALSE Category:Reference Category:Procedure" current
  • 19:5619:56, 6 October 2023 diff hist +265‎ N TRACE ‎ Created page with "== Syntax == TRACE ON/OFF == Description == With TRACE ON all lines are printed to the output window as they are executed. This also has the effect of slowing the program down. == Examples == TRACE ON TRACE OFF Category:Reference Category:Procedure" current
  • 19:5519:55, 6 October 2023 diff hist +633‎ N TIME ‎ Created page with "== Syntax == TIME Hours:Minutes:Seconds:Centiseconds == Description == The TIME keyword can be used either to set the internal clock to a certain time or to read the current time. A time value begins with a colon. When setting the time include all values from the unit you are setting down to the centiseconds. For example, to set the clock to a value of 1 minute type :1:00:00 (1 minute, zero seconds, zero centiseconds) == Examples == Print the current time PRINT TI..." current
  • 19:5319:53, 6 October 2023 diff hist +416‎ N SWITCH ‎ Created page with "== Syntax == SWITCH ON/OFF == Description == Used to switch on and off the digital outputs. Smart Move will also accept SWITCHON and SWITCHOFF as valid keywords. == Examples == SWITCH ON 1 SWITCH ON OUTPUT 1 SWITCH ON 0,2,4,6 SWITCH ON 3 POWER 5 SWITCH ON 5 PULSE 50,50 SWITCH ON 1 SPEED 5 == Associated keywords == * POWER * SPEED * PULSE Category:Reference Category:Procedure" current
  • 19:5219:52, 6 October 2023 diff hist +568‎ N STORE ‎ Created page with "== Syntax == STORE channel,variable,variable,variable == Description == The STORE command is used to store variables to a disk file. This is typically used to store readings from a sensor, or sensors for data capture purposes. The command can store numeric variables with a value between 0 and 255, variables containing text strings and time values. The time is automatically stored at the beginning of each STORE statement. == Example == STORE 1,SENSOR A,SENSOR B ==..." current
  • 19:5119:51, 6 October 2023 diff hist +299‎ N STOP ‎ Created page with "== Syntax == STOP CLOCK == Description == Smart Box has an internal clock which ticks 100 times per second. The STOP command is used to stop the clock. == Example == STOP CLOCK STOP == Associated keywords == * START * RESET * TIME Category:Reference Category:Procedure" current
  • 19:5019:50, 6 October 2023 diff hist +376‎ N START ‎ Created page with "== Syntax == START CLOCK == Description == Smart Box has an internal clock which ticks 100 times per second. The START command is used to start the clock. The current time value can be printed to the output window. == Example == START CLOCK START PRINT TIME == Associated keywords == * STOP * RESET * TIME Category:Reference Category:Procedure" current
  • 19:4819:48, 6 October 2023 diff hist +769‎ N SPEED ‎ Created page with "== Syntax == SPEED speedvalue == Description == The SPEED command varies the speed of devices connected to the outputs by rapidly switching them on and off. The speedvalue can be between 0 and 10. A speedvalue of 1 will switch the output on for 100 centiseconds and off for 900. A speedvalue of 9 will switch the output on for 900 centiseconds and off for 100. A speedvalue of 0 will switch the output off and performs the same function as the SWITCH OFF or [..." current
  • 19:4619:46, 6 October 2023 diff hist +251‎ N SENSOR ‎ Created page with "== Syntax == SENSOR sensorname == Description == This function returns the current value of the specified sensor. == Examples == PRINT SENSOR A PRINT LIGHT == Associated keywords == * INPORT Category:Reference Category:Procedure" current
  • 19:4519:45, 6 October 2023 diff hist +369‎ N RTC ‎ Created page with "== Syntax == RTC == Description == This function returns the time from the host micro's clock in Smart Move time format. == Example == To print the value of the host micro's clock PRINT RTC To set the clock in Smart Move to the same time as the host micro's. LET TIME = RTC == Associated keywords == * TIME Category:Reference Category:Procedure" current
  • 19:4419:44, 6 October 2023 diff hist +175‎ N RND ‎ Created page with "== Syntax == RND == Description == This function returns a random number between 0.00 and 65535.99 == Example == PRINT RND Category:Reference Category:Procedure" current
  • 19:4419:44, 6 October 2023 diff hist +301‎ N RESET ‎ Created page with "== Syntax == RESET CLOCK == Description == Smart Box has an internal clock which ticks 100 times per second. The RESET command is used to set the clock to zero. == Example == RESET CLOCK == Associated keywords == * START * STOP * TIME Category:Reference Category:Procedure" current
  • 19:4319:43, 6 October 2023 diff hist +568‎ N REPEAT ‎ Created page with "== Syntax == REPEAT == Description == The REPEAT...UNTIL keywords form a loop. Any instructions within the loop will be repeated until a certain condition occurs. The condition can include multiple conditions with the AND/OR keywords. The loop can be made to continue forever, or until the Escape key is pressed, by using REPEAT...FOREVER. REPEAT loops can be 'nested' up to 60 deep. == Example == REPEAT PRINT SENSOR A UNTIL SENSOR A IS > 100 OR SENSOR..." current
  • 19:4119:41, 6 October 2023 diff hist +322‎ N REM ‎ Created page with "== Syntax == REM anything == Description == The REM keyword allows you to add comments to your program as a reminder of the purpose of each part of the program. Any text after the REM will be ignored by Smart Move. == Example == REM This procedure switches on the alarm Category:Reference Category:Procedure" current
  • 19:4019:40, 6 October 2023 diff hist +867‎ N PRINT ‎ Created page with "== Syntax == PRINT printlist == Description == The PRINT command is used to print a text string or variable to the text window. The command is followed by a list of items to print. Anything within inverted commas will be printed as it is. Anything not within inverted commas is assumed to be a variable and the current contents of the variable will be printed. A semi-colon after an item in the list will print the next item on the same line. An apostrophe between items i..." current
  • 19:3619:36, 6 October 2023 diff hist +439‎ N PULSE ‎ Created page with "== Syntax == PULSE onperiod,offperiod == Description == The PULSE command allows an output to be switched on and off continuously with varying pulse rates. The on and off periods can be individually set to a maximum value of 255 which is the equivalent of 2.55 seconds. == Example == SWITCH ON 1 PULSE 50,50 SWITCH ON 1 PULSE 10,250 == Associated keywords == * POWER * SPEED Category:Reference Category:Procedure" current
  • 19:3519:35, 6 October 2023 diff hist +791‎ N POWER ‎ Created page with "== Syntax == POWER powervalue == Description == The POWER command varies the speed of devices connected to the outputs by rapidly switching them on and off. The powervalue can be between 0 and 10. A powervalue of 1 will switch the output on for 100 centiseconds and off for 900. A powervalue of 9 will switch the output on for 900 centiseconds and off for 100. A powervalue of 0 will switch the output off and performs the same function as the SWITCH OFF or [..." current
  • 19:3219:32, 6 October 2023 diff hist +306‎ N PAUSE ‎ Created page with "== Syntax == PAUSE seconds.centiseconds == Description == The PAUSE command causes all processing to cease for a certain time. It is the same as using the WAIT command with a time period. == Example == PAUSE 10 == Associated keywords == * WAIT Category:Reference Category:Procedure" current
  • 19:3119:31, 6 October 2023 diff hist +678‎ N PARAMETER ‎ Created page with "== Syntax == PARAMETER variable,variable,variable... == Description == The PARAMETER command assigns values to variables in a procedure. Any number of values can be ‘passed’ to the procedure in this way. It is like performing a number of LET commands at once. == Example == First type in this procedure ''sum'': PARAMETER number1,number2,number3 PRINT "Add together "; PRINT number1;"+";number2;"+";number3 PRINT "= "; PRINT number1+number2+number3 Now fr..." current
  • 19:2819:28, 6 October 2023 diff hist +545‎ N OUTPUT ‎ Created page with "== Syntax == OUTPUT value == Description == This command can be used to switch on and off the digital outputs simultaneously. Each digital output has a unique number associated with it. By adding up the values for any outputs you want to switch on you can set some of the outputs on while switching off any other outputs which may have been on. == Example == LET A=1 REPEAT PRINT A OUTPUT A LET A=A+A UNTIL A=256 == Associated keywords == * SWITCH ON..." current
  • 19:2519:25, 6 October 2023 diff hist +299‎ N NEXT ‎ Created page with "== Syntax == NEXT == Description == The NEXT keyword is used with FOR to create a loop which will be executed a number of times. == Example == FOR 10 TIMES SWITCH ON 1 WAIT 1 SWITCH OFF 1 WAIT 1 NEXT == Associated keywords == * FOR Category:Reference Category:Procedure" current
  • 19:2419:24, 6 October 2023 diff hist +857‎ N LET ‎ Created page with "== Syntax == LET variable = value == Description == The command LET is used to assign a value to a variable. Variables are used as a temporary place to store numbers, strings or time values. Variables can be up to 15 characters in length. == Example == Give the variable ‘x’ the value 10 LET x = 10 Add 1 to the current value of the variable ‘x’ and put the result into the variable ‘turns’ LET turns = x+1 Put the time value 10 seconds into the variab..." current
  • 19:2319:23, 6 October 2023 diff hist +317‎ N INT ‎ Created page with "== Syntax == INT == Description == The function INT returns the integer part of any numeric expression passed to it. == Example == PRINT INT 2.45 Return the Integer part of variable X, where X has been assigned a numeric value using the LET command. PRINT INT X Category:Reference Category:Procedure" current
  • 19:2219:22, 6 October 2023 diff hist +559‎ N INPORT ‎ Created page with "== Syntax == INPORT == Description == The function INPORT returns the current ‘value’ of all digital sensors as a single number. Each digital sensor has a unique ‘value’ as shown below: * SENSOR 0 = 1 when it is on. * SENSOR 1 = 2 * SENSOR 2 = 4 * SENSOR 3 = 8 * SENSOR 4 = 16 * SENSOR 5 = 32 * SENSOR 6 = 64 * SENSOR 7 = 128 So if SENSORS 0,3 and 5 are ‘ON’ INPORT will return 41 (1+8+32) == Example == IF INPORT = 255 THEN PRINT "All sensors are on" ==..." current
  • 19:2019:20, 6 October 2023 diff hist +934‎ N INKEY ‎ Created page with "= INKEY, INKEY$ = == Syntax == INKEY($) == Description == These functions return the value of any key which is pressed down when the INKEY function is used, or has been pressed since the previous INKEY/INKEY$. The key is returned as either its ASCII value (INKEY) or its character (INKEY$). INKEY returns -1 if no key is pressed. The ASCII value is the numeric value associated with each key by the computer. INKEY$ returns a blank string if no key has been pressed. '''..." current
  • 19:1719:17, 6 October 2023 diff hist +507‎ N IF ‎ Created page with "== Syntax == IF condition THEN action ELSE action == Description == The IF command is used to test for a certain condition and then perform an action. The command can be extended using the word ELSE to perform one action if the condition is true or another if the condition is false. == Examples == IF SENSOR 1 IS ON THEN FORWARD A IF SENSOR A IS GREATER THAN 128 THEN SWITCH ON 1 ELSE SWITCH OFF 1 == Associated keywords == * THEN * ELSE Category:Re..." current
  • 19:1519:15, 6 October 2023 diff hist +366‎ N HALT ‎ Created page with "== Syntax == HALT MOTOR A/B/C/D == Description == Used to switch off any motor output. Also resets the value of COUNT for the appropriate motor. == Example == Stop motor ‘A’ HALT A Stop motors ‘A’, ‘B’ and ‘C’ HALT A,B,C == Associated keywords == * FORWARD * BACKWARD * COUNT Category:Reference Category:Procedure" current
  • 19:1419:14, 6 October 2023 diff hist +10‎ ASK ‎ →‎Associated keywords
  • 19:1319:13, 6 October 2023 diff hist +15‎ GET ‎No edit summary current
  • 19:1119:11, 6 October 2023 diff hist +10‎ Reference ‎ →‎Commands and Functions for use in procedures
  • 19:1019:10, 6 October 2023 diff hist +572‎ N GET ‎ Created page with "== Syntax == GET($) == Description == These functions wait for a key to be pressed on the keyboard and then return the key as either ASCII (GET) or the character (GET$). The ASCII value is the numeric value associated with each key by the computer. Note The function only works when the cursor is in the text window. Click the cursor in the text window before pressing a key. Example Switch on motor 'A' if the 'F' key is pressed IF GET$ = "F" THEN FORWARD A == Asso..."
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)