3-MODCOM Rule Question

Post Reply
jlh
Posts: 2
Joined: Thu Jul 09, 2015 4:43 pm

3-MODCOM Rule Question

Post by jlh »

Do you guys think this would work correctly.
I am using CT2 and CT1 to get Trouble Fire and Supervisory from old analog panels in an apartment complex.
Naming scheme looks like this:
BLDG_001_FIRE
BLDG_001_TRB
BLDG_001_SUP

There are 16 buildings and we will be transmitting in Contact ID.

Code: Select all

[FIRE ALARM SEQUENCE]
	ALARM '*<N:1-16:3>_FIRE':
		+SEND 'ACCOUNT_NUMBER' MSG "111000<N:3>",
		-SEND 'ACCOUNT_NUMBER' MSG "311000<N:3>";

[TROUBLE ALARM SEQUENCE]
	TRB '*<N:1,4-16:3>_TRB':
		+SEND 'ACCOUNT_NUMBER' MSG "137300<N:3>",
		-SEND 'ACCOUNT_NUMBER' MSG "337300<N:3>";
		
[SUPERVISORY ALARM SEQUENCE]
	SUP '*<N:1,4-16:3>_SUP':
		+SEND 'ACCOUNT_NUMBER' MSG "120000<N:3>",
		-SEND 'ACCOUNT_NUMBER' MSG "320000<N:3>";
This seems to be compiling fine I just wont have a chance to test it tell Monday morning.
Leo
Site Admin
Posts: 889
Joined: Thu Dec 11, 2008 7:52 am

Re: 3-MODCOM Rule Question

Post by Leo »

I looks Ok, if it does not work add a _

ALARM '*<N:1-16:3>_FIRE
ALARM '*_<N:1-16:3>_FIRE
jlh
Posts: 2
Joined: Thu Jul 09, 2015 4:43 pm

Re: 3-MODCOM Rule Question

Post by jlh »

Just an Update this worked great.
Post Reply