For Model EC-1500 RS232C Communication Kit Instruction Manual
Introduction to the system Table of Contents Thank you for purchasing the RS232C Communication Kit Ergosiser EC-1500. By connecting the EC-1500 and an external computer to this kit, the following control and data transfers are possible using the directional communication capability of the RS232C interface: ・Controlling and carrying out the EC-1500 internal program from an external computer. ・Retrieving data (pulse rate, wattage, etc.) of the EC-1500 from an external computer.
[1] Preparation 1-1) Checking components in the package ・The package should include the following components. If there is a missing component, notify the fact to the store where you bought this kit.
1-2) Assembling RS232C communication kit 1-2-a) Installing RS board 4 in operation unit ・Remove the 8 screws that are holding the upper body on the rear panel of the operation unit. Open the unit's upper body as shown in the figure below. ・Referring to the figure, place the RS board so that its mounting holes are aligned with mounting holes in the unit and the black optical cable connector is located at the rear end of the unit. Secure the board with the 2 screws supplied.
• Remove the caps (A) & (B) connect the optical cable connector to the operation unit optical cable connector. (Fix both caps (A) & (B) when it’s unused.) * Secure the optical cable on the handlebar post with the cord clip. SH Optical cable connector of RS board IN PU T LL OU PU Cap(A) Plug in Remove Cap(B) Optical cable connector Remove Optical cable 1-2-c) Connecting procedure 1. Connect the converter to the RS232C port of the computer. 2.
[2] Learning how the system works 2-1) Transmission Format ・Communication speed (baud rate) ・Data bit length ・Stop bit ・Parity check ・XON / XOFF control ・SI/SO control 2400 8 bit 1 bit none none none 2-2) Contents of Data Transmission from the EC-1500 ・The EC-1500 outputs display data in character code, continuously when you set exercise conditions and once per second when you are exercising.
2) During Exercise ・The EC-1500 sends data to an external computer every second.
2-3) Externally Controlling the EC-1500 2-3-a) During Setting Exercise Conditions ・When exercise conditions are being set you can send data in a "character code + numeric code + CR code format (shown in example below) from an external computer, setting your exercise conditions.
y b Restart data output from the EC-1500. Makes the EC-1500 buzzer beep for 1 second. If the EC1500 receives this signal again while the buzzer is still beeping, another beep will immediately be heard for 1 more second. 2-4) Considerations on data transfer 2-4-a) Use of BASIC is convenient to control from external device ・Although the EC-1500 can interpret software of any language, its serial function is basically designed to easily accept BASIC language.
2-4-d) Changing exercise conditions ・To set the age to 30, send the code "A 30 CR", as shown below. TX$ = "A30" PRINT#1,TX$ In the same way, other exercise conditions can be changed. CAUTION: Some computers will express TX$ as "Asp30" when "AGE=30 : TX$="A" (AGE)" is entered. The EC-1500 recognizes this as an error code and will not return the acknowledged signal "a". ・The setting range of torque is 0.5-4.0 kg•m. The value is multiplied by 10, i.e. 5-40 kg, and transmitted via RS232C interface.
2-4-g) Changing exercise conditions ・Sending the code "i CR" ("d CR") while executing training program Auto, Isopower (constant power) or manual will increment (decrement) the pedal during training torque in 0.1 kg•m steps. ・Sending "I" + "set value" while isopower training changes sets the watt value. The effect of the value change can be verified by monitoring the watt value data included in the exercise status data sent from the EC-1500 every second.
[3] Sample program 3-1) Program that verifies connection to the EC-1500 (CHECK) ・The following simple program can check whether the EC-1500 is correctly connected or not. ・When data in the form of "A....." or "B....." appears on the screen of the computer's monitor, the EC-1500 is correctly connected. If not displayed, check the connection of the system. 10 'CHECK 20 '********************************** 30 '* EC-1500 CHECK PROGRAM * Open RS232C port in the form suitable for the 35 '* Copyright by CATEYE CO.
3-2) Program that controls the EC-1500 externally (TEST) ・This program allows to duplicate the buttons on the operation unit from the external computer for operating the EC1500. While the training takes place, it monitors LCD display data and graphs the changes in pulse rate. 10 'TEST 20 '****************************************** 30 '* EC-1500 DEMONSTRATION PROGRAM * 35 '* Copyright by CATEYE CO., LTD.
420 *TEST 430 LOCATE 1,1:PRINT "AEROBIC POWER" 440 LOCATE 3,2:PRINT "1。AGE ";:PRINT USING "####";AGE 450 LOCATE 3,3:PRINT "2。PULSE LIMIT ";:PRINT USING "####";LTPLS 460 LOCATE 3,4:PRINT "3。SEX ";:PRINT USING "####";SEX 470 LOCATE 3,5:PRINT "4。WEIGHT ";:PRINT USING "####";WEIGHT 480 GOTO *PEND 490 *MANU 500 LOCATE 1,1:PRINT "MANUAL TRAINING" 510 LOCATE 3,2:PRINT "1。AGE ";:PRINT USING "####";AGE 520 LOCATE 3,3:PRINT "2。PULSE LIMIT ";:PRINT USING "####";LTPLS 530 LOCATE 3,4:PRINT "3。SET TORQUE ";:PRINT USING "
Advance the program when the displayed exercise condition is suitable to apply. 860 IF A$ ="Y" OR A$="y" GOTO *WORK 870 IF A$ ="N" OR A$="n" GOTO *ENTER To change the displayed exercise condition, 875 IF A$ ="B" OR A$="b" GOTO 50 modify steps up to 1390. 880 GOTO 850 890 *WORK 900 FOR I=2 TO 20 :LOCATE 3,I:PRINT SPC(40):NEXT I Start sending EC-1500 data. 910 PRINT #1,"y":GOSUB *ACKCHECK 920 GOSUB *PBADV Start EC-1500 program and change the screen to 930 GOSUB *SCALE in-training screen.
1280 IF A$="i" OR A$="I" THEN GOSUB *TQUP 1290 IF A$="d" OR A$="D" THEN GOSUB *TQDOWN 1300 IF A$="r" OR A$="R" THEN GOSUB *RESETN 1310 IF A$="+" THEN GOSUB *TQINC 1320 IF A$="-" THEN GOSUB *TQDEC 1330 ' 1340 INPUT #1,RX$:IF LEFT$(RX$,1)<>"A" GOTO 970 1350 INPUT #1,RX$:IF LEFT$(RX$,1)<>"A" GOTO 970 1360 *ACTEND 1370 CLOSE 1380 END 1390 *ENTER 1400 LOCATE 6,12:INPUT "ITEM TO BE CHANGED? ",N 1410 LOCATE 6,13:INPUT "VALUE TO BE SET ",A$ 1420 IF N=1 GOTO *WRITEAGE 'AGE 1430 IF N=2 GOTO *WRITEPLSLT 'PULSE LIMIT 1
10 1720 1730 1740 1750 1760 1770 1780 1790 1800 1810 1820 1830 1840 1850 1860 1870 1880 1890 1900 1910 1920 1930 1940 1950 ' 1960 ' 1970 ' 1980 1990 2000 2010 2020 2030 2040 2050 2060 2070 2080 2090 2100 2110 *WRITETGTQ IF VAL(A$)>4 OR VAL(A$)<.
2120 2130 2140 2150 2160 2170 2180 2190 2200 2210 2220 2230 2240 2250 2260 ' 2270 2280 2290 ' 2300 ' 2310 ' 2320 2330 2340 2350 2360 2370 2390 2400 2410 2420 *TQUP IF MODE%=5 GOTO 2150 TX$="i":PRINT #1,TX$:GOTO *ACKCHECK TGWATT0$=STR$(TGWATT+5):L=LEN(TGWATT0$) TX$="I"+RIGHT$(TGWATT0$,L-1) PRINT #1,TX$:GOTO *ACKCHECK *TQDOWN IF MODE%=5 GOTO 2210 TX$="d":PRINT #1,TX$:GOTO *ACKCHECK TGWATT0$=STR$(TGWATT-5):L=LEN(TGWATT0$) TX$="I"+RIGHT$(TGWATT0$,L-1) PRINT #1,TX$:GOTO *ACKCHECK *ACKCHECK INPUT #1,RX$ IF RX$<>