3dataevent, 4irlearning, 1irlearning – CREATOR CR-PGMIII User Manual
Page 39: 2irltool, 32 pgmⅢ programmable ethernet control system

CREATOR CHINA 2011-03
WWW.CREATOR1997.COM
32
PGMⅢ Programmable Ethernet Control System
7.7.3.3 Data Event
Choose the “Event type” as “[DATA_EVENT]:
Choose a device from the drop-down menu or
choose “none”.
Choose the channel number after the “Channel
“option. As for COM interface, the channel
number here is used to identify different COM
interfaces. For example: if we choose the channel
number to be 1 after defined the Com interface on
the motherboard of the controller, it means the
first COM interface of the CR-PGMIII.
Click to choose the necessary event functions in
the “Options” tab:
ONLINE: the operations to be done after received
the data online command from the device
OFFLINE:the operation to be done after received
the data offline command from the device
ONERROR : the operation to be done after
received the error information from the device
ONDATA:the operation to be done after received
data from the device
We add button even here. (Generally we need to
add more than one button event.)
Then we can find the BUTTON_EVENT function
under the DEFINE_EVENT in the editing area.
7.7.4 IR Learning
7.7.4.1 IR Learning
To control IR devices, their IR control codes need
to be collected firstly. And this procedure is called
“IR Learning”, and it is different between different
controllers.
There is a built-in IR Learning Module in the
CR-PGMⅢ. What needs to be done is only to
press the respective buttons on the remote facing
the IR Learning Module, the Sensor on the
CR-PGMIII, and the IR Control codes will be
learnt and stored into our PC into a cir file.
The procedure can be done with the IR Learning
Management Tool named “IRL” in the Think
Control 1.0 software.
7.7.4.2 IRL Tool
IRL
is a tool in the Think Control 1.0, used
for collecting the IR Control Codes from the
devices, and upload them into the CR-PGMIII
along with the program.
Click the icon from the tools bar to launch the IRL
tool, shown as below:
◆
Set the IR connection IP
First connect the CR-PGMIII to the PC with the
network cable. After launching the IRL, type in the
CR-PGMIII’s IP address and port number,
then
click “Apply”. (The default IP of the CR-PGMIII is
192.168.1.20,the port number is fixed as 100)
Launch the IRL