Page 28
At the end of the check process of the digital and analog ports, the
communication channel is checked, in case of receiving a request, the request
is checked and if the request is legitimate it will be taken care of.
The IO card is controlled by the MAIN card. Only when requests are received
from the MAIN, the requests will be checked and performed.
The IO card will perform an electrical restart of the systems (IO card) if it does
not receive requests within 5 seconds. In the next request received from the
MAIN, the IO card will indicate to the requester of IO card systems restart.
The "brain" in the IO card runs on microcontroller type: STM32F103R6T6.
The Microcontroller is an electrical Integrated circuit with an actualized
complete system (SoC) including a processing unit, external interfaces,
memory, etc.
The Microcontroller is constructed of a number of main components:
1. Central processing unit
– the main component in the microcontroller is a
central processing unit (CPU) This unit is in charge of receiving the request
(command) code from the memory, deciphering, receiving variable data
from the memories and performing the command.
2. Memory
– divided into 2 sections.
2.1 software memory
– in this memory the software that samples the IO
card and request (command) from the user are saved. As this
memory is a flash memory it is possible to burn the code many times
(efficient to the development stage).
2.2 information memory
– in this memory the data and other variables
values are saved. This memory is not flash memory, but is RAM
memory.
Digital / Analog ports (in/out)
– through them the microcontroller
can receive data of digital/analog signs from the system, save
them and pass them on respectively to the user request.
Ports (in / out) to the communication
– in the IO card there is a
UART component. This component enables communication with
the MAIN card through the RS-232 in suitable protocol.
MAIN
and IO cards
:
communication protocol between IO board to Main
Board
Communication protocol between IO to Main boards is described below.
The communication manged by the Main board (master), the IO functions as
slave
1. There are six communication functions.
The communication functions (to read or write) identified by number.
The communication functions listed below:
1.1 01 - Read
– command to IO send all the information of digital analog
inputs.
1.2 02 - Write
– Command to IO to activate analog and digital outputs.
1.3 03 - Read version
– IO software version to verify the version.
1.4 04
– N.A.
1.5 05 - Read number that identifies the ID of IO board and the software
version.
www.shanghaidelan.com 021-54263653
Summary of Contents for ELARA11-D
Page 163: ...Page 162 Piping Diagram w w w s h a n g h a i d e l a n c o m 0 2 1 5 4 2 6 3 6 5 3...
Page 164: ...Page 163 w w w s h a n g h a i d e l a n c o m 0 2 1 5 4 2 6 3 6 5 3...
Page 165: ...Page 164 w w w s h a n g h a i d e l a n c o m 0 2 1 5 4 2 6 3 6 5 3...
Page 166: ...Page 165 w w w s h a n g h a i d e l a n c o m 0 2 1 5 4 2 6 3 6 5 3...
Page 167: ...Page 166 w w w s h a n g h a i d e l a n c o m 0 2 1 5 4 2 6 3 6 5 3...
Page 168: ...Page 167 w w w s h a n g h a i d e l a n c o m 0 2 1 5 4 2 6 3 6 5 3...
Page 169: ...Page 168 Electric Diagram w w w s h a n g h a i d e l a n c o m 0 2 1 5 4 2 6 3 6 5 3...
Page 170: ...Page 169 w w w s h a n g h a i d e l a n c o m 0 2 1 5 4 2 6 3 6 5 3...
Page 171: ...Page 170 w w w s h a n g h a i d e l a n c o m 0 2 1 5 4 2 6 3 6 5 3...
Page 172: ...Page 171 w w w s h a n g h a i d e l a n c o m 0 2 1 5 4 2 6 3 6 5 3...
Page 173: ...Page 172 w w w s h a n g h a i d e l a n c o m 0 2 1 5 4 2 6 3 6 5 3...
Page 174: ...Page 173 w w w s h a n g h a i d e l a n c o m 0 2 1 5 4 2 6 3 6 5 3...
Page 175: ...Page 174 w w w s h a n g h a i d e l a n c o m 0 2 1 5 4 2 6 3 6 5 3...
Page 176: ...Page 175 w w w s h a n g h a i d e l a n c o m 0 2 1 5 4 2 6 3 6 5 3...