We just bought a DT80M and CANGate. To test the CANGate, I put together a one-row schedule in Delogger and downloaded it to the logger.
Unfortunately, Delogger's "Errors" window keeps saying "Serial sensor scan error at control position 13". The RS232 Rx & Tx lights do blink on the CANGate, so something is happening. And while the configured message is not on the CAN bus (my CAN msgs are non-std), using the SNOOP command I was able to verify that there is some CAN traffic visible to the CANGate.
Any help would be much appreciated. Here's my program:
'JOB=JOB1 'COMPILED=2011/09/08 14:23:00
'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 0;SETADDR 1 0^M}",W)
015: 1SERIAL("{CONNECT 2 250;SETADDR 2 0^M}",W) 'J1939
016: ' Initialise selected CAN parameters
017: 1SERIAL("{BEGIN^M}",W)
018: 1SERIAL("{1 RECVJ 2 61445 4 4 256 6 0 FORMAT un 1 -125 \034%%.0f\\n\034 ^M}",W)
019: 1SERIAL("{END^M}",W)
020: 'schedule definition
021: RA("B:",ALARMS:OV:100KB,DATA:OV:1MB)1S LOGONA GA
022: 1SERIAL("\e{RP 1^M}%f",2,"ETC2TrCurrGear~gear value")
023: END 'end of program file
We just bought a DT80M and CANGate. To test the CANGate, I put together a one-row schedule in Delogger and downloaded it to the logger.
Unfortunately, Delogger's "Errors" window keeps saying "Serial sensor scan error at control position 13". The RS232 Rx & Tx lights do blink on the CANGate, so something is happening. And while the configured message is not on the CAN bus (my CAN msgs are non-std), using the SNOOP command I was able to verify that there is some CAN traffic visible to the CANGate.
Any help would be much appreciated. Here's my program:
````
'JOB=JOB1 'COMPILED=2011/09/08 14:23:00
'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 0;SETADDR 1 0^M}",W)
015: 1SERIAL("{CONNECT 2 250;SETADDR 2 0^M}",W) 'J1939
016: ' Initialise selected CAN parameters
017: 1SERIAL("{BEGIN^M}",W)
018: 1SERIAL("{1 RECVJ 2 61445 4 4 256 6 0 FORMAT un 1 -125 \034%%.0f\\n\034 ^M}",W)
019: 1SERIAL("{END^M}",W)
020: 'schedule definition
021: RA("B:",ALARMS:OV:100KB,DATA:OV:1MB)1S LOGONA GA
022: 1SERIAL("\e{RP 1^M}%f",2,"ETC2TrCurrGear~gear value")
023: END 'end of program file
````