background image

 

LogicMachine3 Re:actor

 

Product Manual

 

 
 
 
 

 
 

Document Issue 1.0  

June, 2013 

 

Technical Support: 

[email protected]

 

 
 
 
 

Содержание LogicMachine3 Re:actor

Страница 1: ...1 LogicMachine3 Re actor Product Manual Document Issue 1 0 June 2013 Technical Support support openrb com...

Страница 2: ...tworks The Logic Machine will enable you to efficiently customize building automation processes easily delivering unlimited flexibility benefit to end users in a cost effective way Logic Machine is an...

Страница 3: ...ealth or life or with application that can result danger of people animals or real value Mounting advice The devices are supplied in operational status The cables connections included can be clamped t...

Страница 4: ...object functions group communication functions 53 1 2 8 Group communication functions 54 1 2 9 Object function examples 54 1 2 10 Data type functions data types 55 1 2 11 Data types 55 1 2 12 Data sto...

Страница 5: ...09 2 1 CUSTOM DESIGN USERMODE VISUALIZATION 110 3 TOUCH VISUALIZATION 110 4 SYSTEM CONFIGURATION 112 4 1 CHANGING PASSWORD 112 4 2 PACKAGES 113 4 3 UPGRADE FIRMWARE 114 4 4 REBOOT LOGIC MACHINE 114 4...

Страница 6: ...DMX INTERCONNECTION WITH LM2 142 8 1 EXAMPLES 144 9 3GMODEM CONNECTION WITH LM2 146 9 1 EXAMPLES 146 9 2 SMS HANDLER PROGRAM 146 9 3 SEND SMS MESSAGES TO SPECIFIC SIM NUMBERS AFTER GROUP READ OR GROUP...

Страница 7: ...conformity EMBS CE 111231 01 EMC EN61000 6 1 EN61000 6 3 PCT Certificate Technical data Power supply 7 36V DC Power consummation 1 5W Interface EnOcean 868MHz 1 10BaseT 100BaseTX 1 RS485 2 USB2 0 1 TP...

Страница 8: ...am 1 5mm2 Operating elements LED 1 CPU load 1 Activity Enclosure Material Polyamide Color Gray Dimensions 104 W x90 H x51 L mm Usage temperature 5C 45C Storage temperature 25C 55C Weight 150g Warranty...

Страница 9: ...9 LogicMachine3 Re actor kit contains Embedded board with preinstalled software Plastic DIN rail case 868MHz antenna 4 x 8pin extension connectors...

Страница 10: ...10 Terminal connection schemes KNX TP...

Страница 11: ...11 RS485 The EIA 485 differential line consists of two pins A aka aka TxD RxD aka inverting pin B aka aka TxD RxD aka non inverting pin...

Страница 12: ...12 24V power supply...

Страница 13: ...13 Analog inputs e g reed contact...

Страница 14: ...14 Analog inputs 0 10V...

Страница 15: ...15 Digital output...

Страница 16: ...16 Resistive sensor input...

Страница 17: ...17 Analog output...

Страница 18: ...f Browser iOS Discovery For more info please see here http openrb com discover ip of logic machine or streaming player Standards supported Logic Machine is compatible with the following standards KNX...

Страница 19: ...19 The system is made so that each of the standards can be used with each other so Logic Machine can act as BACnet to Enocean gateway or Modbus to GSM etc...

Страница 20: ...name admin Logic Machine Network ConfigurationPassword admin User mode visualization Touch visualization Login name Read only visview Write viscontrol Write admin level visadmin User mode visualizati...

Страница 21: ...specific protocol used for addressing static IP address By default 192 168 0 10 use DHCP protocol to get IP configuration Current IP the IP address got from DHCP server This field appears only if the...

Страница 22: ...wnloaded here http marknelson us 2011 10 25 dns service discovery on windows Linux PC The utility called Avahi can be downloaded here www avahi org Android The freely available app called ZeroConf Bro...

Страница 23: ...please backup your visualization scripts and object in Logic Machine Tools Backup as the database is cleaned during the upgrade Note After each upgrade we strongly recommend to clean your browser cach...

Страница 24: ...press Save button The device will be rebooted after 5 seconds and new firmware will be installed Logic Machine for KNX EIB network configuration management with ETS To use Logic Machine with KNXnet IP...

Страница 25: ...t IP Press Rescan button and then choose from the drop down menu found Logic Machine Press OK Back in Options Communication window select newly created interface as Communication Interface from the dr...

Страница 26: ...26 Make sure that bus status is Online press button in ETS...

Страница 27: ...e it will automatically offer to switch to KNXnet IP qmode ACK all group telegrams acknowledge receipt of telegram to all group communication Parameter KNX corresponding interface in OS of the system...

Страница 28: ...1 to filter all addresses in the given line Note KNX IP features should be on for filter to work Destination group filter tab DST group filter No filter Accept selected individual addresses Drop sele...

Страница 29: ...individual addresses Drop selected individual addresses policy to apply to the list of destination addresses Address list list of individual addresses One address per line Use e g 1 1 to filter all a...

Страница 30: ...TCP what makes it very reliable thanks to package delivery acknowledgement This ensures that sender always knows if the package is delivered to the recipient Secure tunnel Disabled Client Server secur...

Страница 31: ...iPad PC Import objects Fastest way is to import ESF file from ETS in Utilities Import ESF file Or connect LM to the bus and it will detect objects automatically in Objects tab once they are activated...

Страница 32: ...IP 192 168 0 10 login password admin admin Create building floor structure and add objects to the map In Vis structure menu the structure of the visualization is defined and visualization backgrounds...

Страница 33: ...rs can be minimized by pressing on left right arrow icon making the map more visible especially on small displays Existing objects can be added to the map by clicking on Unlock current floor plan for...

Страница 34: ...y to Logic Machine s USB WiFi adapter In the browser enter Logic Machine s IP default 192 168 0 10 Click on the User mode visualization or Touch visualization icon Save the application as permanent sh...

Страница 35: ...35 o Then minimize side bar by pressing on left arrow icon to make the map more visible...

Страница 36: ...successful login a default page appears Logic Machine visualization creator scripts object relations alerts KNX objects and KNX objects designing building view and visualization maps Network configura...

Страница 37: ...al logs Schedulers administrator interface for user mode schedulers Trend logs administrator interface for trend logs Vis structure building definition and image file upload Visualization Visualizatio...

Страница 38: ...38 1 1 Reactor Reactor IO configuration and mapping to KNX is done under Reactor tab No additional software is needed to configure KNX mapping of IO ports...

Страница 39: ...the object with By pressing the button the field will be automatically filled with the next free group address Status object status object group address Lock object lock object group address Write to...

Страница 40: ...next free group address Status object status object group address Lock object lock object group address Write to bus defines either to write or not to bus on value change Mode Binary on Off PWM 0 100...

Страница 41: ...automatically filled with the next free group address Status object status object group address Lock object lock object group address Write to bus defines either to write or not to bus on value chang...

Страница 42: ...will be automatically filled with the next free group address Status object status object group address Lock object lock object group address Write to bus defines either to write or not to bus on valu...

Страница 43: ...ill be automatically filled with the next free group address Status object status object group address Lock object lock object group address Write to bus defines either to write or not to bus on value...

Страница 44: ...t status object group address Lock object lock object group address Write to bus defines either to write or not to bus on value change Mode Voltage Binary On Off Binary Short Long Step dimmer input mo...

Страница 45: ...ect status object group address Lock object lock object group address Write to bus defines either to write or not to bus on value change Mode Voltage Binary On Off Binary Short Long Step dimmer input...

Страница 46: ...dress Status object status object group address Lock object lock object group address Write to bus defines either to write or not to bus on value change Mode Voltage Binary On Off Binary Short Long St...

Страница 47: ...ally used when nearly real time response is required Resident scripts that use polling to check for object state changes Usually used for heating and ventilation when data is gathered from more than o...

Страница 48: ...ies whether the script is active green circle or disabled red circle Execute on group read specifies whether the script is executed on KNX group read telegram Category a new or existing name of the ca...

Страница 49: ...ools Print script listings page Description description of the script Scheduled Script name the name of the script Minute Minute Hour Hour Day of the month Day of the month Month of the year Month of...

Страница 50: ...occurs for given group address Event information is stored in global event variable Variable contents dstraw integer raw destination group address srcraw integer raw source individual address dst stri...

Страница 51: ...ident scripts are executed in parallel they should not have infinite loops or it will not be possible to reload scripts after editing 1 2 4 Scheduled scripting Scheduled scripts are executed when the...

Страница 52: ...ct value Group read Group write Update interval etc Storage Get data from storage Save data to storage Script control Get other script status enable or disable other scripts Alerts and logs Alert Log...

Страница 53: ...e grp tag tags mode Returns Lua table containing objects with the given tag Tags parameter can be either Lua table or a string Mode parameter can be either all return objects that have all of the give...

Страница 54: ...as the result grp response alias value datatype Similar to grp write Sends group response request to the given alias grp read alias Sends group read request to the given alias Note this function retu...

Страница 55: ...ed data as Lua variable type depends on data type value length in bytes error nil error string 1 2 11 Data types The following data types can be used for encoding and decoding of KNX data Data represe...

Страница 56: ...tten Returns boolean as the result and an optional error string storage get key default Gets value for the given key or returns default value nil if not specified if key is not found in the data stora...

Страница 57: ...riable as test_object_data Now we are retrieving data from storage Data type is checked for correctness 1 objectdata storage get test_object_data 2 if type objectdata table then 3 if objectdata temper...

Страница 58: ...ctly at N minute hour or day N K execute script when minute hour or day is between N K range inclusive N K it is possible to specify several N and N K type parameters separated by comma For example sc...

Страница 59: ...t Note that numerical codes are not necessarily portable across platforms string find s pattern init plain Looks for the first match of pattern in the string s If it finds a match then find returns th...

Страница 60: ...and new line The options c d E e f g G i o u X and x all expect a number as argument whereas q and s expect a string This function does not accept string values containing embedded zeros except as ar...

Страница 61: ...orks as an escape character any sequence in repl of the form n with n between 1 and 9 stands for the value of the n th captured substring see below The sequence 0 stands for the whole match The sequen...

Страница 62: ...ns the substring of s that starts at i and continues until j i and j can be negative If j is absent then it is assumed to be equal to 1 which is the same as the string length In particular the call st...

Страница 63: ...ese repetition items will always match the longest possible sequence a single character class followed by which matches 1 or more repetitions of characters in the class These repetition items will alw...

Страница 64: ...inated by a new line character Return boolean as write result when file can be open for writing or nil when file cannot be accessed Example Write event status to log file located on plugged USB flash...

Страница 65: ...in case of an error json pdecode value Converts JSON string to Lua variable in protected mode returns nil on error 1 2 22 Conversion Compatibility layer lmcore is an alias of cnv cnv strtohex str Con...

Страница 66: ...string to a binary string 1 2 23 Bit operators bit bnot value Binary not bit band x1 x2 Binary and between any number of variables bit bor x1 x2 Binary and between any number of variables bit bxor x1...

Страница 67: ...called with a file handle it simply sets this file handle as the default input file When called without parameters it returns the current default input file In case of errors this function raises the...

Страница 68: ...e signs of both parameters to find the quadrant of the result It also handles correctly the case of x being zero math ceil x Returns the smallest integer larger than or equal to x math cos x Returns t...

Страница 69: ...ace to the simple pseudo random generator function rand provided by ANSI C No guarantees can be given for its statistical properties When called without arguments returns a uniform pseudo random real...

Страница 70: ...Returns the value of the removed element The default value for pos is n where n is the length of the table so that a call table remove t removes the last element of table t table sort table comp Sort...

Страница 71: ...ory named oldname to newname If this function fails it returns nil plus a string describing the error os time table Returns the current time when called without arguments or a time representing the da...

Страница 72: ...he table next table index Allows a program to traverse all fields of a table Its first argument is a table and its second argument is an index in this table next returns the next index of the table an...

Страница 73: ...e of e has a __tostring field then tostring calls the corresponding value with e as argument and uses the result of the call as its result type v Returns the type of its only argument coded as a strin...

Страница 74: ...ctions Common functions contains library of globally used functions They can be called from any script any time without special including like with user libraries Functions like sunrise sunset Email a...

Страница 75: ...pting helpers import scripting helpers restore default scripting helpers backup all scripts in gz file restore script from archive gz file with two possibilities Remove existing scripts and import fro...

Страница 76: ...ect parameters To change the settings for existing or new objects press on the specific list entry Object name Name for the object Group address Group address of this object Data type KNX data type fo...

Страница 77: ...e objects by one of the following Name Group address Data type Current value Tags Comments 1 3 2 Object visualization parameters By pressing on the button of the corresponding object you can set speci...

Страница 78: ...e object state In the object list by pressing on the button you can change the state of the object The appearance of the New value depends on what visualization parameters are set for specific object...

Страница 79: ...omatically or not Clear Clear the list of group addresses Next Previous page move to next or previous page Refresh refresh the object list 1 3 6 Filter objects On the left side of the object list ther...

Страница 80: ...tering is available when there is a need to find specific period information Start date start date and time for log filtering End date start date and time for log filtering Name or group address speci...

Страница 81: ...et ftp 2 3 ftp file 4 ftpfile string format ftp ftplogin ftppassword 192 168 1 11 s csv os date Y m d_ H M 5 get past hour data 3600 seconds 6 logtime os time 60 60 7 8 list of objects by id 9 objects...

Страница 82: ...38 ifdatatype dt charordatatype dt stringthen 39 data data gsub z 40 date to DD MM YYYY 41 elseifdatatype dt datethen 42 data string format 2d 2d 2d data day data month data year 43 time to HH MM SS...

Страница 83: ...83 66 if err then 67 alert FTP upload failed s err 68 end...

Страница 84: ...ontrol KNX group address values based on the date or day of the week 1 5 1 Add new scheduler Object the object group address which will be controlled by scheduler Active define this scheduler as activ...

Страница 85: ...fine the event active or not Value value to send to the group address when the event will be triggered Start time start time for the event Days of the week days of the week when the event will be trig...

Страница 86: ...to make trends for Name name of the trend Log type Counter Absolute value type of the log Counter type is used to count the date Absolute value saves the actual readings 1 minute data average value o...

Страница 87: ...sualization structure In Vis structure menu the structure of the visualization is defined and visualization backgrounds are uploaded By default there is Main level added To add a new level building pr...

Страница 88: ...visualization Show Show and make default Hide visibility for this particular plan in Touch visualization Background image choose background image from the list added in Vis graphics Images Backgrounds...

Страница 89: ...en adding Levels in Levels Plans tab Layouts will not be visible from the Usermode Touch visualizations When you add any background objects to layouts level in Visualization they will automatically ap...

Страница 90: ...fined the widget in Layouts Widgets tab you can add objects to it in Visualization tab When you have added necessary objects to the widget you can choose it when adding objects for main Levels e g Bed...

Страница 91: ...n Vis structure tab it is visualized in Visualization tab Controlled and monitored objects can be added and managed in this section Both side bars can be minimized by pressing on icon making the map m...

Страница 92: ...lue of scale type objects Text Label text label to put on visualization Image Add specific image on the visualization Gauge Metering gauge Frame add frame object to the visualization On the left side...

Страница 93: ...Default Icon Default icon of scale type objects Icons library is located in Vis graphics Icons tab On icon On state icon for binary type objects Icons library is located in Vis graphics Icons tab Off...

Страница 94: ...active state icon if the link is to current plan in case you have several smaller plans on one visualization and want to display the current one Font size size of font Text style text style bold itali...

Страница 95: ...ter the url in form http USER PASSWORD IP Once the camera parameters are defined press Add to plan button and newly created object will appear in look of video camera You can move the object to the lo...

Страница 96: ...ch values is planned to be shown in the graph Data object group address of the object Custom name name of the object Icon icon to launch the graph Width sub window width for displaying the graph Heigh...

Страница 97: ...Note that while being in editing mode the object will not work Press on Save and reload plan button so the objects starts functioning 1 8 6 Text Label Text labels can be added and moved across the vi...

Страница 98: ...ion Source url Select image Source URL of the image or image from local database Width width of the image Height height of the image External link external link URL when pressing on the image Once the...

Страница 99: ...Save and reload plan button so the objects starts functioning 1 8 9 Frame Source Url Schedulers Trend logs frame source Url Source URL of the page to integrate Width width of the frame Height height...

Страница 100: ...is graphics The list of predefined icons list of images and backgrounds is available in Vis graphics tab Press on Add new icon button to add a new entry The system accepts any size icons GIF is also s...

Страница 101: ...101 Name optional the name of the icon File Icon file location Images Backgrounds tab is used to upload image files for visualization purposes...

Страница 102: ...orrect data types for some imported objects Existing objects will not be overwritten Objects with the same name are considered duplicates and might not be imported Reset object clean up delete all obj...

Страница 103: ...ta and time settings Install updates install Logic Machine update file lmu Logic Machine will reboot after successful update Backup backup all objects logs scripts visualization Restore restore config...

Страница 104: ...iggered all new objects will appear automatically in the Objects list Object log size max count of object logs Default log policy either to log status change for all objects or only for checked object...

Страница 105: ...ent per object log settings are kept unchanged Warning Excessive object logging degrades Logic Machine performance System by clicking on the arrow near System button KNX Connection and User Access set...

Страница 106: ...perature 24 then 4 resulting message Temperature levels are too high 25 3 5 alert Temperature level is too high 1f temperature 6 end 1 12 Error log Error messages from scripts are displayed in Error l...

Страница 107: ...107...

Страница 108: ...108 1 14 Help Documentation for scripting syntaxes is displayed in Help tab...

Страница 109: ...ization contains created visualization maps There are three access levels read write admin password access can be also disabled Access level Login Password Read only Visview visview Write viscontrol v...

Страница 110: ...is designed for iPhone iPod iPad Android touch screen devices All objects which are added in Logic Machine configuration by default are visible in touch visualization if there is no Hide in touch opti...

Страница 111: ...an be controlled Launching visualization on touch device iPad in this case Make sure your iPad is connected wirelessly to the Logic Machine either through separate access point or directly to Logic Ma...

Страница 112: ...ter functionality on KNX EIB Logic Machine as well as do access control management upgrade firmware see network and system status and others Login Password admin admin 4 1 Changing password The login...

Страница 113: ...e access parameters for Logic Machine Network Configuration RSS and XML Visualization access parameters for Touch and User mode visualization 4 2 Packages System Packages shows the packages installed...

Страница 114: ...Logic Machine part 4 4 Reboot Logic Machine You can restart the Logic Machine by executing System Reboot command 4 5 Shutdown Logic Machine You can shutdown the Logic Machine by executing System Shut...

Страница 115: ...o disable enable or to take a look at the traffic flow graph using special icons on the right side By clicking on the interface you get to the configuration Protocol specific protocol used for address...

Страница 116: ...ddress MTU maximum transmission unit the largest size of the packet which could be passed in the communication protocol By default 1500 4 6 1 Ethernet interface data throughput graph On the main windo...

Страница 117: ...ated in Network Routes menu The window is divided in two parts Static routes and Dynamic routes 4 7 1 Dynamic routes Interface interface name Destination destination IP address Network mask network ma...

Страница 118: ...s 4 8 ARP table Address Resolution Protocol table is listed in Network ARP table 4 9 FTP server You can enable access to FTP server of Logic Machine by enabling this service in Service FTP Server Serv...

Страница 119: ...itoring System monitoring is used to monitor system processes hardware In case of failure the system will be rebooted or specific task restarted 4 11 NTP client NTP servers can be specified in Service...

Страница 120: ...ral system status with CPU usage Memory usage Partition information can be seen in Status System status window 4 13 Network status Network overview of IP setting and transferred data can be seen in St...

Страница 121: ...Network utilities Ping and Traceroute utilities are located in Status Network utilities window Both IP address and DNS names are accepted 4 15 System log Operating system log is available in Status Sy...

Страница 122: ...122 4 16 Running processes System running processes can be seen in Status Running processes window...

Страница 123: ...r example specify thermostat values depending of the day of the week time and holidays 5 1 Events Each scheduler is mapped to specific group address in administration panel see section 1 4 of this man...

Страница 124: ...124 5 2 Holidays In Holidays special days are specified which are then used adding new events Click on Add new holiday button to specify a holiday...

Страница 125: ...rent trends where each is mapped to a specific KNX group address Current Current trend is drawn in blue you can choose either to show Day Month or Year view Previous previous time period you can choos...

Страница 126: ...126 Datapoints can be shown also in a way of table which can be later exported as CSV file...

Страница 127: ...e blocks in the Helpers 7 1 Master functions mb setslave slaveid Sets slave id to read write data from to mb readcoils start count mb readdiscreteinputs start count mb readregisters start count mb rea...

Страница 128: ...e result in Alerts 1 initmodbus on first script execution 2 ifnotmbthen 3 require luamodbus 4 mb luamodbus tcp 5 end 6 7 prepare connection to given ip and port 8 mb open 192 168 1 100 1502 9 10 open...

Страница 129: ...s 0x1000 2 14 result bit lshift r1 16 r2 15 grp write 5 5 1 result 16 17 read 3 phase system current from 32 bit register 18 r1 r2 mb readregisters 0x100E 2 19 result bit lshift r1 16 r2 20 grp write...

Страница 130: ...writemultipleregisters 17 reportslaveid 18 getcoils 19 getdiscreteinputs 20 getinputregisters 21 getregisters 22 setcoils 23 setdiscreteinputs 24 setinputregisters 25 setregisters 26 27 new connecton...

Страница 131: ...65 return nil res 2 66 normal reply 67 else 68 return unpack res 69 end 70 end 71 end Handler resident script with 0 delay configuration 1 mb open dev ttyS2 38400 E 8 1 H set baudrate and other serial...

Страница 132: ...0 then 17 grp write 1 1 1 value dt bool 18 else 19 alert coil d s coil tostring value 20 end 21 end 22 23 register write callback 24 mb setwriteregistercb function register value 25 if register 0 then...

Страница 133: ...binary value 1 value event getvalue 2 mb mbproxy new 3 mb setcoils 0 value Example event script which changes modbus slave register address 5 Must be mapped to a group address with scaling 0 100 valu...

Страница 134: ...cmd value id cmd value unpack data split id tonumber id or 0 check if ac is valid ac aclist id if not ac then return end default offset offset id 1 152 on off if cmd ON or cmd OFF then mb writebits o...

Страница 135: ...temp value local hex lmcore inttohex value 2 return knxdatatype decode hex dt float16 end function encodetemp value local hex knxdatatype encode value dt float16 datahex return tonumber hex 16 end sen...

Страница 136: ...ork Configuration Network BACnet To make KNX EIB objects BACnet readable writable mark necessary objects in Logic Machine as Export object Binary objects will appear as Binary Values other numeric val...

Страница 137: ...137 Note BACnet service restart and Reinitialize Device requests will reload all objects priority array will be reset to NULL...

Страница 138: ...cean Interfaces tab 7 2 EnOceanto KNX mapping All telegrams received from EnOcean devices appears in Enocean KNX section Once some specific device has to be mapped to KNX the corresponding row has to...

Страница 139: ...139 When EnOcean gateway received telegram from specific device the respective row gets light green Respective KNX group addresses get updated with the new values...

Страница 140: ...t Once the device is added you should pair it with specific device in EnOcean network press Tech in button Note EnOcean device should be set in learning mode in order to pair it successfully Further t...

Страница 141: ...141...

Страница 142: ...RS 485 port port dev ttyS2 number of calls per second resolution 20 total number of channels to use channels 3 transition time in seconds does not include DMX transfer time transition 2 value setter...

Страница 143: ...self channels chan ticks self ticks end end end main loop handler function DMX run local i bs bm as am delta local res self params resolution if not self calibrated then bs bm os microtime end self g...

Страница 144: ...3 4 transition 2 5 6 end 7 8 d run Setter used in other scripts DMX set channel value channel DMX channel number 1 512 value DMX channel value 0 255 8 1 Examples Predefined scene example The followin...

Страница 145: ...ch to next scene 23 current current 1 24 if current scenes then 25 current 1 26 end Random scene example The following example should be placed inside a resident script Sleep time defines scene keep t...

Страница 146: ...rature NOTE a Object data type and name must be set in Objects tab Otherwise script won t be able to read and write to object b Only ASCII symbols are accepted in the message 9 1 Examples Binary write...

Страница 147: ...im 18 parse object name address 19 find cmd sub 1 1 and or 20 offset find and 1 or0 21 pad with space when in read mode 22 if mode R and find then 23 cmd cmd 24 end 25 find name 26 pos cmd find find 1...

Страница 148: ...ser sms data sms sender 71 end 72 end 73 set sms handler 74 modem setsmshandler handler 75 send pin if set 76 ifpincodethen 77 modem send AT CPIN pincode 78 end 79 set to pdu mode 80 modem send AT CMG...

Страница 149: ...be send should be specified at the beginning 6 localmsg 23335555 1 1 1 changes its value to tonumber event datahex 7 client sendto msg 127 0 0 1 12535 8 9 msg 23335556 1 1 1 changes its value to tonum...

Страница 150: ...ings 8 srcsubnet 1 9 srcdevice 254 10 devicetype 0xFFFE 11 command types 12 cmd 13 chanreg 0x0031 single channel regulate 14 chanregreply 0x0032 single channel regulate answerback 15 chanstat 0x0033 r...

Страница 151: ...5 14 HDL magicthen 53 returnnil magic 54 end 55 56 leading code 57 ifpacket sub 15 16 HDL lcodethen 58 returnnil lcode 59 end 60 61 get data length and check against 62 len packet byte 17 63 iflenandl...

Страница 152: ...chan value delay Parameters dstsubnet device subnet dstdevice device address chan channel number 1 n value value 0 100 or true false delay transition time or delay in seconds 0 65535 by default is 0...

Страница 153: ...alue dpt decode event datahex dt bool 2 HDL chanreg 1 11 1 value Test the program If you change the value for object 4 1 2 in Objects menu with Set Value it will automatically change the relay state i...

Страница 154: ...00 38400 57600 115200 230400 o parity none even odd o databits 5 6 7 8 o stopbits 1 2 o duplex full half Note half is required for RS 485 Reads the specified number of bytes execution is blocked until...

Страница 155: ...ead 10 Timeout read script will wait for 10 characters for 20 seconds data port read 10 20 Close serial port port close Resident script RS 485 echo test open port on first call if not port then requir...

Страница 156: ...l r objects Parameters address object address e g 1 1 1 name object name e g My object data decoded object value e g 42 or 01 01 2012 datatype object datatype e g 1 or 5 001 standard KNX data types ti...

Страница 157: ...157 Login Password for remote XML request Login and password can be changed in Network Configuration System GUI Login Admin Remote tab...

Страница 158: ...so Alerts and Errors can be read by XML requests Alerts XML request http remote remote 192 168 0 10 cgi bin scada remote request cgi m xml r alerts Errors XML request http remote remote 192 168 0 10 c...

Страница 159: ...remote remote 192 168 1 211 cgi bin scada remote request cgi m rss r alerts 50 latest alerts will be shown alert time will be shown in UNIX timestamp alert date will be shown as RFC date Error tab co...

Страница 160: ...160 Login Password for remote RSS requests Login and password can be changed in System Configuration System User access Admin Remote tab...

Отзывы: