Home
manual IOXEC EN
Contents
1. 169 254 1 1 in case there is no DHCP server Subnet mask 255 255 0 0 in case there is no DHCP server NetBIOS name XEC Username admin Password xec To restore factory default parameters locate the push button on the board and do the following turn off IO XEC e press and hold the push button turn on the device e hold the push button pressed for at least 5 seconds during boot Factory defaults te 3 E es ideiOriginal XET 10 Configuration tool The configuration tool allows to name the various variables with suitable labels These labels will be use to identify the variables in the web server define the type of hardware that is connected to the inputs configure the events that are sent through the event server define the baud rate of the serial port define the time zone properties implement some automation features send configuration to IO XEC e make test connections to the command and event server 10 1 Hardware features G T ww E a a m Eile Configuration Hardware features Internal variables Logic controller TCP dient Digital inputs Digital outputs Label Type Label On power up Events InputO InputO standard Output 0 Output 0 False Never Inputi Inputi standard v Never X Output 1 Output 1 False v Never X Input2 Input2 standard v Never X Output 2 Output 2 False v Never X Input3 Input 3 standard Never
2. Numerical NX e CO AO AIO AIT e TS TM TH DD DM DY DW Function EVENT Digital input Ix x 0 7 Digital output Qx x 0 7 Internal bit Bx x 0 7 Numerical internal variable Nx x 0 7 High speed counter Analog output 0 1000 Analog input 0 1000 Temperature analog input 0 90 Internal clock current second Internal clock current minute Internal clock current hour Internal clock current day Internal clock current month Internal clock current year Internal clock current week day This function detects an event on a digital IO or internal bit Returns true when the event occurs Syntax var EVENT var event Ix Qx Bx event T variable turns to true idei rieinal sistemas de dom tica e seguran a lo F variable turn to false S when a short push occurs in a push button L when a long push occurs in a push button R when a push button is released after a long push Function IS Returns true if the logical value of a digital IO or internal bit equals the value parameter Returns false otherwise Syntax IS var value var Ix Qx Bx event T variable is true F variable is false S during a short push in a push button L during a long push in a push button R after a push button is released Function COMPARE Returns the result true or false of the comparison between two numerical variables using a comparison operator Syntax COMPARE var1 opera
3. DNS Secondary DNS Copyri ideiOriginal sistemas de dom tica e seguran a Ida 00 02 00 00 00 00 XEC admin Enable DHCP 192 168 1 104 192 168 1254 255 255 255 0 192 168 1 11 0000 Save Config ght 2009 2011 ideioriginal Ida All rights reserved 5 Command server The command server makes it possible to control and get status of the device It allows to activate the outputs and get the status of all the variables In order to access this service a TCP socket must be created to the device on port 8200 The default username and password required to login are admin and xec respectively The TCP port number is 8200 All the commands must be terminated with lt gt The variables whose status can be retrieved and activated are Qx digital outputs x 0 8 Bx internal bits x 0 7 CO high speed counter Nx internal numerical variables x 0 7 AO analog output Ix digital input x 0 7 AIO analog input AIT analog temperature input 5 1 Authentication Syntax LOGIN user pass lt gt user user name pass password 5 2 Variable set All the settable variables above can be set with this command Syntax SET var val timer lt gt var QX Bx CO Nx AO val 0 1 T Qx Bx 2147483648 2147483647 Nx Cx 0 1000 AO timer 0 9999 Qx Bx in 1 10s idei riginal bec 5 2 Status If the STAT command is issued the status of all the variables is retri
4. Output 3 Output 3 False Never Input4 Input4 standard v Never Output 4 Output 4 False v Never Input5 Input5 standard v Never Output 5 Output 5 False Never Input6 Input 6 standard v Never X Output 6 Output 6 False v Never X Input7 Input7 standard v Never Output 7 Output 7 False v Never Analogue log TCP serial bridge Label On power up Events Output Ana output 0 10 eu ias Baud rate 19200 X Input0 Ana input 0 10 Inputi Temperature 4 Time definitions Counter Time zone 0 00 Label Counter 0 Onpowerup 0 Start DST Events 1 Divider 1 Type Disabled X End DST idei riginal sistemas de dom tica e seguran a Ida In this tab the hardware is configured according to the application needs Inputs In the inputs section you can define for each input the label thetype o Standard a regular contact o push button e the events that are captured and sent through the event server Analog In the analog section you can define the label the value of the analogue output on power up the value variation that has to occur in order to create an event Counter In this section you can define the label the value of the counter on power up the type of counter the value variation that has to occur in order to create an event the divider number of pulses detected to increment the counter Digital outputs In this section you can define the label
5. manual page 5 25 Digital inputs CON 1 2 2 Serial port RS 232 RJ11 RS232 DB9 2 lt 5 4 e 3 5 e 2 ideirioinal sistemas de dom tica e seguran a ig User s manual page 6 25 4 Web server The web server is available with a standard browser The device s status and configuration can be viewed and changed accessing the various pages The default username and password required to login are admin e xec respectively Home page Welcome You have reached IO XEC web server Here you can See the status of the hardware and internal values Upload configuration files Change security and network settings All the above contents are restricted for authenticated users In order to access them you have to provide a user name and password combination The default are User Name admin Password xec Please note that user name and password are case sensitive Copyright O 2009 2011 ideioriginal Ida All rights reserved ideiOriginal LAKES sistemas de dom tica e seguran a Ida User s manual page 7 25 Variable status Firefox L IO XEC E gt Li hitps rec protect status htm Status Device status Digital inputs input 0 input 1 Oinput 2 input 3 Input 4 input 5 input 6 input 7 Digital outputs Output 0 output 1 output 2 output 3 Output 4 output 5 output 6 output 7 Buzzer Virtual input outputs esit o esit 1 es
6. While the logic controller is active this process is repeated endlessly As stated each line has two sections left and right On the left the combination of events and status is performed using the functions IS EVENT and COMPARE and the following operators logical AND e logical OR e logical XOR e parenthesis to implement priorities in the evaluation On the right a SET operation must be defined According to the syntax used an action is performed Some examples ar provided Toggle Q0 when TO is active event iO t set q0 t e If IO is true and I1 or I2 are true activate Q1 Deactivate Q1 otherwise is i0 t is i1 t is i2 t set q1 Blink an output every second compare ts ts set q1 1 5 Count the number of seconds that an input is active is i3 t compare ts ts set n0 n0 1 Multiple lines can be added to achieve the required automation The number of lines is limited by the available memory The configuration tool indicates how much memory is occupied by the written lines Two blocks can be added The first block is executed one time in order to initialize the process The second is iterated The behavior of the logic controller on power up can be one of the following Don t start It can be started through the web page Start immediately After the reboot as soon as possible Start after a successful time update Waits until the NTP server is available and an update to the cur
7. eved Syntax STAT lt gt The response of the command has several fields according to the variable type IQB iiiiiiiiqqqqqqqqbbbbbbbb Digital variables ieee q b i q b i q b IM i q b i q b i i NMx y x CNO y AIx y x AO y ideiMrioinal sistemas de dom tica e seguran a ig 8 inputs 8 outputs 8 internal bits f variable is false inactive t variable is true active r push button is released F variable changed to false T variable changed to true S push button was pressed for a short time L push button was pressed for a long time R push button was pressed for a long time and released Value of numerical variables 0 7 2147483648 2147483647 Value of the high speed counter 2147483648 2147483647 Value of analog inputs m d 0 0 1000 Value of analog output 0 1000 j 5 3 Keep connection alive Like all embedded devices the resources are limited In order to save memory IO XEC only keeps connections active when needed If no commands are sent during 120 seconds the connection is closed In order to keep the socket alive a keep alive command must be issued Note that this command is only needed if no other commands are sent for a 120 seconds period Syntax KA lt gt 5 3 Reboot Reboots the device Syntax REBOOT lt gt 6 Event server According to the configuration that is done see section 10 IO XEC sends i
8. ideiOriginal sistemas de dom tica e seguran a Ida User s manual v0 8 ndice PEN ini reru estem e R C EUR 3 2 Hardware I Tue MR Cm 3 2 1 Connection blocks 4 eee eee eee e eene eene tenet en netta setas etas etos stessa tense anna sse sees sacos assada 4 2 2 Serial port RS 232 eee tente reete t to do erba e d e Fin Eee PY go e Ebo S Ne evan o cos seser anistia asas oasis a eee eus 5 d Web SOPORE citius eee eu ico euet PIA RIR DEE aaa educ RE M BUD OR DOADO NERD VE EUR EE 6 M Command serve ess nit eps a a ten UN TUIS M Dre NN eM UI A S Dui eE ee Vae 10 5 1 NIUI ID OED 10 A VE Y E 11 ONS sans 10 Ds 2 P AU T A T E A A M 11 5 3 Keep connection allive scccsssccsccsscsssssecsscssecsccsessscccssscscsssccsscssccsssssccesesscssesscesesssees 12 5 3 dni M sen onde disiedo 12 6 Event Servel MIRI OP RT E PESE TER 12 A 9 9 4 21 68 PESDOHSES o onsite ubt ba con ivive eei Ee ite bre rae xv P os ROES SSS eL DE 13 PAY 4 21118437 474 rH M 13 9 Factory def nlts aic deserto rae eie e T E tA aee OR ete E A si 14 LO Configuration 00L iioi ate FO E EC EX RR EEG TII IE ME 15 10 1 Hardware featUres sc ssccccsrscecoccossvecesciscsssccoccrssevsetoscrssessecsscruscoscccecscsessvssaceseessre 15 10 2 Internal variabl S sccecccecccsciecic cirssceccrscrctiscecccccccostes cecic
9. it 2 esit 3 Bit 4 sit 5 sit 6 esit 7 Analog input outputs Ana input 0 0 1000 Temperature 19 C Ana output 0 1000 New value Numerical variables o Counter 0 Numeric 0 New value New value Numeric 1 New value Numeric 2 New value Numeric 3 New value Numeric 4 New value Numeric 5 New value Numeric 6 New value 0090000000 Numeric 7 New value Logic Controller Status No program Start Stop Current time Date Tue 2011 May 03 Time 00 12 55 ideiOriginal sistemas de dom tica e seguran a Ida User s manual page 8 25 Upload of configuration file Firefox L IO XEC File Uploads Please upload the file provided by the configuration tool You should upload the file without editing it manually Copyright 2009 2011 ideioriginal Ida All rights reserved ideiOriginal sistemas de dom tica e seguran a Ida User s manual page 9 25 Network configuration Firefox OE http xec protect config htm Network configuration Network Configuration This page allows the configuration of the devices s network settings CAUTION Incorrect settings may cause the board to lose network connectivity Recovery options will be provided on the next page Enter the new settings MAC Address Host Name User name Password Password IP Address Gateway Subnet Mask Primary
10. nformation about the events detected on internal variables and hardware This server only implements 2 commands login see section 5 1 and ka see section 5 3 The syntax is the same as described before When an event happens IO XEC sends a string like the stat see section 5 2 command but limited to the field containing the event For example if an event occurs in an input only the IQB event is sent The TCP port number of this service is 8201 idei riginal ec 7 IO XEC responses Welcome Connection successfully opened OK Command successfully executed ERR 100 Invalid command ERR 200 Argument error invalid variable ERR 300 Argument error invalid value ERR 400 Argument error invalid number of arguments ERR 500 Login error ERR 800 Command not allowed ERR 900 Login not performed 8 Serial server The serial server is a transparent bridge between a TCP socket and a serial port RS232 After a connection is established all the bytes received on socket are dispatched through the serial port and all the bytes that arrive on the RS232 port are forward to the TCP connection The TCP port number is 9761 The baud rate of the serial port is selected using the configuration tool see section 10 idei riginal ec User s manual page 14 25 9 Factory defaults When IO XEC is connected for the first time it has the following network configuration DHCP active IP address
11. ostes criessbcsei riconcrecctrestnevnttcee 18 10 3 Logical Controller sscesessscessescsisereseraceirssisenerio 19 I Technical speciftcutiOHs as e vesc ees ando ieu DU Vete Vb x Reve dianito suas oaeiae rioari oosa nana 25 idei riginal bec sistemas de dom tica e seguran a lda 1 Introduction IO XEC is a device that captures electrical signals and transmits this information through a TCP IP connection in an Ethernet network It implements the following TCP applications Web server port 80 Event server port 8200 Command server port 8201 Serial RS232 Ethernet bridge port 9761 2 Hardware description Ports Ethernet Serial RS232 Inputs 8 general purpose digital inputs several configurations are possible 1 fast digital input designed for incremental encoders 1 analogue temperature input the recommended sensor is LM35 1 analog input 0 10V Outputs 3 relay digital outputs 5 open collector digital outputs 1 analog output 0 10V ideiOriginal Anec lt User s manual page 4 25 2 1 Connection blocks The connection blocks are accessible after opening the device s enclosure Xec ideicniotnal t Bloco de terminais CON2 Bloco de terminais CON 1 Power supply GND 12Vdc CON1 1 2 Digital outputs NO NC NO CMNC NOCM NC CON1 9886898998 D e OUTO OUT1 OUT2 e De 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 ideiOriginal XET User s
12. rent time is performed It needs an Internet connection The logic controller status is shown in the web server idei riginal ec User s manual page 24 25 11 Technical specifications Power 12V 1A Ethernet 10T 100T base 10Mbit s Serial port RS 232 4800bps 9600bps 19200bps 57600bps 115200bps no parity no flux control Relay outputs 6A 230Vac 5 24Vdc no polarity idei rieinal exec sistemas de dom tica e seguran a lo O User s manual page 25 25 ideiOriginal eyxec sistemas de dom tica e segura
13. the value of each output on power up the events that are captured idei riginal sistemas de dom tica e seguran a lda TCP serial bridge Here you can define the baud rate of the RS232 port Time definitions IO XEC has an internal clock that synchronizes to ntp org time server In order to adjust local time settings it can be defined the time zone in terms of hours For instance if the device is located in o Lisbon 0 00 should be used o Paris 1 00 should be used o Azores 1 00 should be used o Helsinki 2 00 should be used Daylight Saving Time DST start and end patterns These patterns have four sections separated by a dot You can setup the day month day of week and hour where the DST start or end takes place The syntax is lt month gt lt day gt lt day of week gt lt search gt For example o 04 01 6 2 2 00 start DST on the second Sunday of April at 2 00 o 03 31 6 1 2 00 start DST on the last Sunday of March at 2 00 o 03 31 2 00 start DST on the 31th March at 2 00 o 10 31 6 1 2 00 end DST on the last Sunday of October at 2 00 ideiOriginal Anec lt User s manual page 18 25 10 2 Internal variables tm ir ile Configuration Hardware features Internal variables Logic controller TCP dient Digital internal variables Numerical internal variables Label On power up Events Label On power
14. tor var2 vari Nx CO AIO AIT AO TS TM TH DY DM DD DW var2 Nx CO AIO AIT AO TS TM TH DY DM DD DW x 32bit value event returns true if var1 is greater than var2 lt returns true if vari is less than var2 gt returns true if var1 is greater than or equal to var2 lt returns true if var1 is less than or equal to var2 l returns true if var1 is different var2 ideiOriginal Anec ED Function SET If a true condition is met assigns a value to a variable This functions has 3 variations depending on the variables and parameters used Syntax 1 var Syntax 2 var value tmr Syntax 3 vari var2 idei rieinal sistemas de dom tica e seguran a lo SET var Sets the value of the condition to var Ix Qx Bx SET var value tmr Sets var to value if the condition is true Does nothing otherwise Ix Qx Bx O false 1 true T toggle timer in 1 10s optional SET var1 var2 Sets var1 with the value of var2 if the condition is true var2 can contain simple calculations such as N4 10 CO N1 Does nothing otherwise Nx CO AIO AIT AO TS TM TH DY DM DD DW Nx CO AIO AIT AO TS TM TH DY DM DD DW x 32bit value simple calculations allowed Syntax The syntax is very simple The automation concept is organized in lines each one divided in two sections left and right The lines are executed one after the other When the processor reaches the lats lien it jumps to the first one
15. up Events Bto Bio False Never Num O Numerico fo f Bti pti False Never Numi Numeric ss foi Bt2 Bt2 Fase v Never Num 2 Numeric 2 lo 0 Bt3 Bit3 False gt Never Num3 Numeric 3 lo 0 Bit4 Bit4 False Never Num 4 Numeric 4 lo 0 Bts Bit5 _ False Never Num5 Numerics 0 0 o ato Bte Fase Never Nm6 Numerics 0 fo Bt7 Bit7 False Never 0 Num 7 Numeric 7 lle 0 L gt Digital internal variables They act as virtual IOs It can be configured the label the value on power up the events that are captured ideiOriginal KES sistemas de dom tica e seguran a Ida User s manual page 19 25 Numerical variables These variables have length of 32bit signed It can be defined e the label the value on power up the value variation that has to occur in order to create an event 10 3 Logical Controller File Configuration Hardware features Internal variables Application program On power up Start after time update Initial conditions The logical controller allows to implement automation functions The device can perform calculations logical combinations of the various variables internal and external idei riginal LIKES sistemas de dom tica e seguran a Ida Variables 1 Boolean IX Qx BX 2
Download Pdf Manuals
Related Search
Related Contents
LST GO-55000-317 User's Manual Smeg ML60 Instruction Manual Manual de instalación - Seco-Larm Pregnancy Resource MANUAL DE INSTRUÇÕES Aero Tec - Schlotterer IMP 1.6 User manual Centralis Indoor RTS Planon System Solutions PrintStik DPEN-PS900 User's Manual Copyright © All rights reserved.