Please enable JavaScript to view this site.

Introduction

Recommended communication if an exchange of registers between two controllers is to be realized through a serial connection.

bcc3_master_slave_seriail

Data exchange uses the BCC/31 protocol. Messages are sent on reserved channels 190 ÷199.

When messages arrive on one of the user channels they are placed in a channel queue. Each queue can contain up to 16 positions. When this queue is full new messages will be discarded.

From program R3 it is possible to:

Initialize the serial channel via the instruction ser_bcc_h_init()

Read the message present in the queue via the instruction bcc_receive()

Send any response on the same communication channel on which the request came via the instruction bcc_send()

Instruction

ser_bcc_h_init()

Initialize the indicated serial channel

bcc_h_setup()

Prepares the response

bcc_send()

Sends the data packet

bcc_receive()

Receives the data packet

Shell commands

UA

Command to send an ASCII string to a user channel

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC