Page 1 of 1

3-MODCOM Rule Question

Posted: Fri Jul 10, 2015 5:04 pm
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.

Re: 3-MODCOM Rule Question

Posted: Mon Jul 13, 2015 6:12 am
by Leo
I looks Ok, if it does not work add a _

ALARM '*<N:1-16:3>_FIRE
ALARM '*_<N:1-16:3>_FIRE

Re: 3-MODCOM Rule Question

Posted: Tue Jul 21, 2015 4:42 pm
by jlh
Just an Update this worked great.