CAN BUS RS232 Line Ethernet CAN H/W FIFO RS232 FIFO IP ARP CAN S/W FIFO TERMINAL Emulator COMMAND Interpreter ICMP TCP UDP PROTOCOL Converter TELNET DHCP C2E
SW1 CAN RS232 RJ45 Power
<< CAN2RS232 CONVERTER Terminal >> +- syntax -+ function ----------------+ INI CAN controller initialize EID Set 11/29 bit ID mode SID [hex8] Set CAN ID (Hexa Code) CBR Set CAN baud rate SCP Set CAN parameters RBR Set RS232 baud rate RCV Start receiving message SND Send message STS Request status CLR Clear error EXT Exit terminal mode +----------+--------------------------+
<< CAN2Ethernet Gateway Terminal >> +- syntax -+ function ----------------+ INI CAN controller initialize EID Set 11/29 bit ID mode SID [hex8] Set CAN ID (Hexa Code) CBR Set CAN baud rate SCP Set CAN parameters RBR Set RS232 baud rate RCV Start receiving message SND Send message STS Request status CLR Clear error SIP Set IP Address
SSM Set Subnet Mask SGW Set Gateway SMA Set MAC Address SIM Set IP Mode SPT [hex4] Set Port CPW Change Password +----------+--------------------------+ FORMAT Example (Decimal) : 192.168.1.1? FORMAT (Hexa code) : XX.XX.XX.XX.XX.XX?
00.45.89.AB.DF.5F 0. Static IP mode 1. Dynamic IP mode(dhcp)? Sending DHCP requests... Timeout!! Sending DHCP requests... IP Address 192.168.1.3 Subnet Mask 255.255.255.0 Gateway 192.168.1.1 MAC Address 00-04-A3-00-00-00
Version 1.0 CAN_ID FFFFFFFF CAN BaudRate 1000 kbps CAN Param 00/BA/07 RS232 BaudRate 115200 bps ErrorWarning 0 Rx/Tx Warning 0/0 Bus passive 0 Bus off 0 Overrun 0:0:0 Extend ID mode 0 Mask1,2 FFFFFFFF,FFFFFFFF Filter1-3 FFFFFFFF,FFFFFFFF,FFFFFFFF Filter4-6 FFFFFFFF,FFFFFFFF,FFFFFFFF IP Address 192.168.1.3 Subnet Mask 255.255.255.0 Gateway 192.168.1.1 MAC Address 00-04-A3-00-00-00 Port Number D431 IP mode Dynamic (DHCP) New password (Max 8 characters)? ******* Retry input password? ******* OK
[ Welcome to CAN2Ethernet Telnet Service ] login ID : [ Welcome to CAN2Ethernet Telnet Service ] login ID : root login password : ******* << CAN2Ethernet Gateway Terminal >> +- syntax -+ function ----------------+ INI CAN controller initialize EID Set 11/29 bit ID mode SID [hex8] Set CAN ID (Hexa Code) CBR Set CAN baud rate SCP Set CAN parameters RBR Set RS232 baud rate RCV Start receiving message SND Send message STS Request status CLR Clear error SIP Set IP Address SSM Set Subnet Mask SGW Set Gateway SMA Set MAC Address SIM Set IP Mode SPT [hex4] Set Port CPW Change Password EXT Exit terminal mode +----------+--------------------------+
You cannot change IP address in telnet!! Only changable in RS232 terminal.
Req Firmware Version Version = 1.0
00000000000 11111111111 xxxxxxxxxxx 11111111111
11111110000 00010000000 0001000xxxx 11111111111
1) boolean Initialize (short port, long brate)
port brate 2) void SetCanBaudRate (short baudrate) baudrate 3) boolean SetRs232BaudRate (long baudrate) 4) boolean SetCanID (boolean extmode, long canid) extmode canid 5) void SetBitTiming (short BRGCON1, short BRGCON2, short BRGCON3) BRGCON1 BRGCON2 BRGCON3 6) void SetAcceptacneFilter(long mask1, long mask2, long filter1, long filter2, long filter3, long filter4, long filter5, long filter6) 7) void ReqCanStatus()
8) void Close() 8)boolean SendMessage (long canid, short len, short data0, short data1, short data2, short data3, short data4, short data5, short data6, short data7) canid len data0~7 1) void PacketReceived(long canid, short length, short data0, short data1, short data2, short data3, short data4, short data5, short data6, short data7) canid length data0~7 2) void ProtocolAcknowlegde (boolean iserror, short ErrCode) iserror ErrCode 3) void RspCanStauts(short status, long canid, short BRGCON1, short BRGCON2, short BRGCON3)
status canid BRGCON1 BRGCON2 BRGCON3