Legacy Hardware and Apps
CANGate on DT82E

We have a CANgate and a DT82E. We connect the both with a serial cable (RS232). We take the protocol ISO14230 with a speed of 500 (for the serial cable connection, we keep the default parameter).

When we download the program, there are some error in the code. We didn't change the code, it is the default code of DeLogger5. What is the problem? Do we change the code of the program? Are there something else to change?

Thank you for all suggestion.

We have a CANgate and a DT82E. We connect the both with a serial cable (RS232). We take the protocol ISO14230 with a speed of 500 (for the serial cable connection, we keep the default parameter). When we download the program, there are some error in the code. We didn't change the code, it is the default code of DeLogger5. What is the problem? Do we change the code of the program? Are there something else to change? Thank you for all suggestion.

Good morning Olivier,

What were errors were reported?

Cheers,
Roger

Good morning Olivier, What were errors were reported? Cheers, Roger

Morning,

Here is the code:

'JOB=JOB1
'COMPILED=2010/10/04 13:55:19
'TYPE=dt80
DT=\d
001: BEGIN"JOB1"
002: CATTN
003: 'Spans and polynomial declarations
004: 'Thermistor declarations
005: 'Switches declarations
006: 'Parameter declarations
007: 'Global declarations
008: RS1S
009: ' Initialise port that CANgate is connected to
010: PS=RS232,57600,N,8,1,HWFC
011: ' Initialise the CANgate device
012: IF(1SERIAL("\e{VERBOSE OFF;VERSION^M}%f",2)<1.23)"CANgate not found or firmware version less than 1.23"
013: ' Initialise CANgate ports
014: 1SERIAL("{CONNECT 1 250;SETADDR 1 0^M}",W) 'J1939
015: 1SERIAL("{CONNECT 2 0;SETADDR 2 0^M}",W)
016: 'schedule definition
017: RA("B:",ALARMS:OV:100KB,DATA:OV:1MB)1S LOGONA GA
018: REFT("Temps")
019: 1SERIAL("\e{RQST 1 01_0C 3 4 256 0 FORMAT um 0.25 0 \034%%.2f\\n\034 ;RP^M}%f",2,"Engine RPM~rpm")
020: END
'end of program file

And the error:

12    Channel list error at line 12 col 11 [IF(1SERIAL<err>('\e{VERBO ]
12    Channel list error at line 17 col 8 [1SERIAL<err>('{BEGIN^M]
12    Channel list error at line 15 col 8 [1SERIAL<err>('{CONNECT]
12    Channel list error at line 14 col 8 [1SERIAL<err>('{CONNECT]
12    Channel list error at line 19 col 8 [1SERIAL<err>('{END^M}']
12    Channel list error at line 18 col 8 [1SERIAL<err>('{^M}',W)]
12    Channel list error at line 22 col 8 [1SERIAL<err>('\e{RQST ]

I didn't writ the code, it is the default code of DeLogger5.

Cheers,
Olivier

Morning, Here is the code: ```` &#039;JOB=JOB1 &#039;COMPILED=2010/10/04 13:55:19 &#039;TYPE=dt80 DT=\d 001: BEGIN&quot;JOB1&quot; 002: CATTN 003: &#039;Spans and polynomial declarations 004: &#039;Thermistor declarations 005: &#039;Switches declarations 006: &#039;Parameter declarations 007: &#039;Global declarations 008: RS1S 009: &#039; Initialise port that CANgate is connected to 010: PS=RS232,57600,N,8,1,HWFC 011: &#039; Initialise the CANgate device 012: IF(1SERIAL(&quot;\e{VERBOSE OFF;VERSION^M}%f&quot;,2)&lt;1.23)&quot;CANgate not found or firmware version less than 1.23&quot; 013: &#039; Initialise CANgate ports 014: 1SERIAL(&quot;{CONNECT 1 250;SETADDR 1 0^M}&quot;,W) &#039;J1939 015: 1SERIAL(&quot;{CONNECT 2 0;SETADDR 2 0^M}&quot;,W) 016: &#039;schedule definition 017: RA(&quot;B:&quot;,ALARMS:OV:100KB,DATA:OV:1MB)1S LOGONA GA 018: REFT(&quot;Temps&quot;) 019: 1SERIAL(&quot;\e{RQST 1 01_0C 3 4 256 0 FORMAT um 0.25 0 \034%%.2f\\n\034 ;RP^M}%f&quot;,2,&quot;Engine RPM~rpm&quot;) 020: END &#039;end of program file ```` And the error: ```` 12 Channel list error at line 12 col 11 [IF(1SERIAL&lt;err&gt;(&#039;\e{VERBO ] 12 Channel list error at line 17 col 8 [1SERIAL&lt;err&gt;(&#039;{BEGIN^M] 12 Channel list error at line 15 col 8 [1SERIAL&lt;err&gt;(&#039;{CONNECT] 12 Channel list error at line 14 col 8 [1SERIAL&lt;err&gt;(&#039;{CONNECT] 12 Channel list error at line 19 col 8 [1SERIAL&lt;err&gt;(&#039;{END^M}&#039;] 12 Channel list error at line 18 col 8 [1SERIAL&lt;err&gt;(&#039;{^M}&#039;,W)] 12 Channel list error at line 22 col 8 [1SERIAL&lt;err&gt;(&#039;\e{RQST ] ```` I didn&#039;t writ the code, it is the default code of DeLogger5. Cheers, Olivier

Good morning Olivier,

You have selected 1SERIAL for the port address which is the serial sensor port. The DT82E does not have a serial sensor port.

Please change the port address to 2SERIAL which is the host port and you will also need to change the Host port function from Command to Serial.

Cheers,
Roger

Good morning Olivier, You have selected 1SERIAL for the port address which is the serial sensor port. The DT82E does not have a serial sensor port. Please change the port address to 2SERIAL which is the host port and you will also need to change the Host port function from Command to Serial. Cheers, Roger
24
3
2
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft