User manual
2. Internet Socket: The dCine can talk to an unlimited number of internet sockets. In
the trigger definition, you can refer to any IP:Socket address. See, for instance, the
following example:
<!--IP trigger definition -->
<Trigger>IP:XX.XX.XX.XX,Port=XX,ConnectTimeout=XX URLEncodedString
Timeout=XX</Trigger>
<! example of talking to a Web server to send a message follows -->
<Door>IP:10.1.1.1,Port=80,ConnectionTimeout=500 GET+%2Fstate.xml
%3FrelayState%3D2+HTTP%2F1.1%0d%0a%0d%0a Timeout=1000</Door>
Socket based triggers have become a common method for automation messaging. With
socket based messaging, you can connect to any device that exposes a socket and send a
string pattern message into that device. Note: Socket based triggers do not support hand-
shake based messaging, such as a login process, and therefore such messaging is not
recommended. Further, due to the tendency for protocols to change over upgrades, problems
are likely to occur. Non-handshake type messaging is more likely to work with more
devices and should require less maintenance..However if a handshake type protocol is
desired/required, a device driver specific to the protocol used would need to be
implemented..
If there are any problems or faults when using socket based messaging, these will be
reflected in the operational log..
3. Serial: Serial based messaging is most commonly used to communicate with older
devices such as Audio players (CD-players, DAT-players). The dCine can send messages
via all of its installed serial ports but can only listen to one of these serial ports. Serial ports
must be specified in the <IO> section in order to monitor for messages.(Please see the <IO>
section on this manual)
Note the following example of a serial based messaging configuration:
<!--Serial definition -->
<Trigger>Serial URLEncodedString</Trigger>
<!-- Example sending a message out of the serial port being monitored -->
<Trigger>Serial LightsOff</Trigger>
<!-- definition of sending a message out any connected COM port -->
<Trigger>COMX,Baud,d,p,s URLEncodedString [timout]</Trigger>
<!-- example sending a message “LightsOff” out COM3 -->
<Trigger>COM3,9600,8,n,1 LightsOff</Trigger>
Copyright©2012 digitAll Pty Ltd 44