E-blocks 2 CAN Bus (BL0140)

For E-blocks user to discuss using E-blocks and programming for them.

Moderators: Benj, Mods

VladimirRepin
Posts: 26
Joined: Tue Sep 18, 2018 5:22 pm
Has thanked: 1 time
Been thanked: 3 times
Contact:

E-blocks 2 CAN Bus (BL0140)

Postby VladimirRepin » Wed Sep 19, 2018 10:22 am

Hi,

I have a problem with CAN Bus from E-blocks 2.

There is no component CAN Bus BL0140 (E-blocks2) in FlowCode 8. The macros of compo

Is it possible to release an update with this component?

Thanks in advance for your help.

User avatar
Benj
Matrix Staff
Posts: 14373
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4447 times
Been thanked: 4150 times
Contact:

Re: E-blocks 2 CAN Bus (BL0140)

Postby Benj » Wed Sep 19, 2018 3:58 pm

Hello,

No I have not created an E-blocks specific component for the BL0140 CAN board yet.

For now you can use the CAN component available from the Comms component category to drive the board.

VladimirRepin
Posts: 26
Joined: Tue Sep 18, 2018 5:22 pm
Has thanked: 1 time
Been thanked: 3 times
Contact:

Re: E-blocks 2 CAN Bus (BL0140)

Postby VladimirRepin » Wed Dec 19, 2018 10:37 am

Hello,

I have a CAN Bus Board BL0140 from Eblocks2 and a small program using CAN(Internal, MCP2515) component macros, which I took from Comms.

A component is initialized in the program, and since the initialization macro does not return anything, I check in another way work it or not. After initialization, leds on CAn Bus Board should be lit one by one, then values from the switches are read and displayed on the screen.
Leds do not shine, values are not read.

Could you tell me what I'm doing wrong? Thanks.
Attachments
CANtest.fcfx
(14.42 KiB) Downloaded 25 times

User avatar
Benj
Matrix Staff
Posts: 14373
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4447 times
Been thanked: 4150 times
Contact:

Re: E-blocks 2 CAN Bus (BL0140)

Postby Benj » Wed Dec 19, 2018 11:04 am

Hello,

I'm afraid that the LEDs on the board are only available when using the external CAN bus transceiver as they are connected to it's I/O pins.