receiving even parity with RS232macro

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

Moderators: Benj, Mods

Post Reply
tmcsecurity
Posts: 2
Joined: Thu Nov 29, 2007 6:27 pm

receiving even parity with RS232macro

Post by tmcsecurity »

Is there a posibility of receiving data coming from a device sending at 1200,E,7,1
I am a flowcode user and dont now anithing of c_code (yet)

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

Re: receiving even parity with RS232macro

Post by Benj »

Hello

Yes this should be possible. If the data is only 7 bits then this shouldn't be a problem. If you have any further data then I can help you extract the parity and data from the incoming signal etc. To configure this you would just have to set the RS232 component properties to use a baud of 1200 with flowcontrol disabled.

tmcsecurity
Posts: 2
Joined: Thu Nov 29, 2007 6:27 pm

Re: receiving even parity with RS232macro

Post by tmcsecurity »

Dear mr. Benj,

The purpose of my setup is to connect an intrusion system printer output witch is sending data coming from the main bus of the system.

The intrusion system has 1 main cu adres 0000 and 6 other centrale units each with an one address
in example CU0000 +CU0201 + CU0301 + CU 0401 + CU0501+ CU0601+CU0701

Each of these CU has 4 busses with 30 Input addresses
so together 120 inputs and 16 zones and 250 areas the areas are connected to 250 users and the inputs where put in a zone and a zone in an area
so a user can arm or disarm an area


So wat I need is to connect a pic cpu board with the rs232 board on port C and read the printout from the main bus of the Thor intrusion system.
So I can proces this on e-blocks and then display it on an lcd or command somthing like a speeddome camera or extra outputs for bel or wathever

But I cant get any furder because I dont now any asm or c language.

I have tried out different things already but for now I am really stuck.
I wil send you my flowcode prog and an example of the Thor printout.

I00246: C100 ALARM 15:46 Z001 0601 ALARM ZONE 1 PARK Z01
I00247: C100 TAMPER:3 15:46 Z001 0601 ALARM ZONE 1 PARK Z01
I00248: C101 ALARM 15:46 Z001 0601 TECH PANNE Z1 PARK Z01
I00249: C102 ALARM 15:46 Z014 0601 MKT ALARM POORT PARK POORT
I00250: C103 ALARM 15:46 Z015 0601 VOORALARM VOORALARM
I00251: C104 ALARM 15:47 Z002 0601 ALARM ZONE 2 PARK Z02
I00252: C104 TAMPER:3 15:47 Z002 0601 ALARM ZONE 2 PARK Z02
I00253: C105 ALARM 15:47 Z002 0601 TECH PANNE Z 2 PARK Z02
I00254: C106 ALARM 15:47 Z003 0601 ALARM ZONE 3 PARK Z03
I00255: C106 TAMPER:3 15:47 Z003 0601 ALARM ZONE 3 PARK Z03
I00256: C107 ALARM 15:47 Z003 0601 TECH PANNE Z 3 PARK Z03
I00257: C108 ALARM 15:47 Z004 0601 ALARM ZONE 4 PARK Z04
I00258: C109 ALARM 15:47 Z004 0601 TECH PANNE Z 4 PARK Z04

explain

I000253 IS THE EVENT NR
C100 IS THE INPUT NR
ALARM tells you there is an intrusion
15:45 is the time of the event
Z002 is the zone nr
0601 is the CUNR
Tech panne Z4 is just comment of the input detector name and zone name

greetings
Mark tits
Attachments
THOR ALRM LEZEN 01102008 V5 TEL.fcf
(19.07 KiB) Downloaded 285 times

Post Reply