background image

pCOWeb

 +030220966 – rel. 1.1 – 12.12.2017 

46 

9.5

 

SETTINGS RELATING TO 

pCOWeb

 - 

pCO

 COMMUNICATION 

 

INFORMATION: 

pCOWeb

-

pCO

 communication occurs by default using the CAREL supervisor protocol. 

pCOWeb

 is also able to communicate with 

pCO*

 controller 

using protocol Modbus Extended (BMS_PROTOCOL = 30 on 1tool and SERIAL1_PROTOCOL = 30 on Easytool, BIOS > 4.00). Simple Modbus (BMS_PROTOCOL = 
3) is not supported. This enables 

pCOWeb

 to exchange up to 12048 variables (5000 analog, 5000 integer and 2048 digital variables) with the 

pCO

 application, which 

has to be specifically designed to use the new extended range of variables to the monitoring system. To enable the modbus extended protocol 

pCOWeb

 has to be told: 

 

The address used by the 

pCO

 in the serial port BMS, this is identified by the system variable BMS_ADDRESS in the 

pCO

 controller and in the 

pCO

 

application, default is 1; 

 

The highest index for each type of variable, default is 2048 for digital variables, 5000 for analog and integer variables; it is strongly advised to limit the 
number of variables read by 

pCOWeb

 to those which are actually managed by the software to improve drastically the performances of the card. All the 

configuration web pages of 

pCOWeb 

 will automatically adapt to the new limits. 

 

IMPORTANT: The number of variables read by 

pCOWeb

 must be equal or superior to the number of variables mapped in the BACnet configuration (see 

Figure 7.a

 on page 37). 

 

IMPORTANT: 

if the “CAREL supervisor” protocol or “ModBus Extended” protocol has not been selected on the 

pCO

, communication will not be possible

 

NOTE 

pCOWeb

, unlike other devices that communicate using the CAREL supervisor protocol, does not require the setting of the supervisor serial 

address (IDENT) while using ModBus Extended it is required. 

 

The fixed settings for the 

pCOWeb

 serial port are: 

frame: 8 bit 

parity bits: none 

stop bits: 2 

 

The speed can be set between 300-600-1200-2400-4800-9600-19200(default)-38400-57600-115200 bit/s and must coincide with the baud rate of the 

pCO

 

supervisor port, selected on a special screen on the application interface, the protocol can be set between Carel and Modbus Extended as we can see in 

Figure 9.i

. The default values for 

pCOWeb

 are 19200 baud and Carel protocol, and can be changed as required. 

 

      

 

Figure 9.l – Setting the pCOWeb-pCO communication: Carel (left) and Modbus (right) 

IMPORTANT 

 

The set value will only be used when 

pCOWeb

 is next rebooted. 

 

If the speed set for 

pCOWeb

 is different from the value set for the 

pCO

, communication will not be possible. 

 

9.5.1

 

Extended range ad functionalities 

All the protocols and some of the functionalities of 

pCOWeb

 have been extended to cover the entire range of variables made available by modbus extended. 

pCOWeb

 returns “Undefined” if requesting a variable which is not available on the database of modbus extended (

pCO 

application doesn’t support the 

specific index) and “Error”:  if requesting a variables which is out of the boundaries defined in the configuration page “

pCO 

Com”. 

 

Web PagesAll the web pages designed for 

pCOWeb

 <= A1.3.5 are fully compatible with version A2.0.4 and Modbus extended. The ranges of variables 

have been extended as explained here below: 

 

Read/write digital variables: <%var(0,1,1,0,1)%> up to <%var(0,1,2048,0,1)%> 

 

Read/write analog variables. <%var(0,2,1,-3276.8,3276.7)%> up to <%var(0,2,5000,-3276.8,3276.7)%> 

 

Read/write integer variables. <%var(0,3,1,-32768,32767)%> up to <%var(0,3,5000,-32768,32767)%> 

 

SNMP 

Fully compatible with version <=A135; Trap event notifications are available only for the first 207 variables (range has not been extended from A135). The 
ranges of variables have been extended as explained here below: 

 

Digital variables: OID from 1.3.6.1.4.1.9839.2.1.1.1.0 up to 1.3.6.1.4.1.9839.2.1.1.2048.0 

 

Analog variables: OID from 1.3.6.1.4.1.9839.2.1.2.1.0 up to 1.3.6.1.4.1.9839.2.1.2.5000.0 

 

Integer variables: OID from 1.3.6.1.4.1.9839.2.1.3.1.0 up to 1.3.6.1.4.1.9839.2.1.3.5000.0 

 

Modbus TCP/IP: Fully compatible with version <=A135. The ranges of variables have been extended as explained here below: 

 

Digital variables: coils from 1 up to 2048 

 

Analog variables: registers from 1 up to 5000 

 

Integer variables: registers from 5001 to 10000 

 

BACnet: Fully compatible with version <=A135 if using Carel protocol, with modbus extended the mapping of the variables into BACnet objects changes 
completely to allow a larger number of variables. 

 

Digital variables: Binary value objects from 1 up to 207 (Carel Protocol), 100001 up to 102048 (Modbus extended protocol) 

 

Analog variables: Analog value objects from 1 up to 207 (Carel Protocol), 100001 up to 102048 (Modbus extended protocol) 

 

Integer variables: Analog/Multistate value objects from 1001 up to 1207 (Carel Protocol), 200001 up to 202048 (Modbus extended protocol) 

 

Clock Synchronization: Variables used to synchronize the clock have been extended to cover the entire range of integer variables. 

 

Logger: With the new version of firmware, logger has been deeply improved; anyway only variables with index from 1 to 207 can be logged and graphed 
by 

pCOWeb

 

 

Содержание pCOWeb

Страница 1: ...pCOWeb User manual I n t e g r a t e d C o n t r o l S o l u t i o n s E n e r g y S a v i n g s LEGGI E CONSERVA QUESTE ISTRUZIONI READ AND SAVE THESE INSTRUCTIONS...

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

Страница 3: ...do not drop hit or shake the device as the internal circuits and mechanisms may be irreparably damaged do not use corrosive chemicals solvents or aggressive detergents to clean the device do not use...

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

Страница 5: ...S 30 6 SNMP 34 6 1 OVERVIEW OF SNMP 34 6 2 THE pCOWeb SNMP TREE 35 6 3 MIB FILE 35 6 4 SNMP CONFIGURATIONS FOR pCOWeb 36 7 BACNET 37 7 1 BACnet Carel Mapping 38 7 2 BACnet MODBUS Mapping 38 7 3 BACnet...

Страница 6: ...62 APPENDIX C ArGoSoft A FREEWARE MAIL SERVER 63 APPENDIX D FileZilla Server A FREEWARE FTP SERVER 66 APPENDIX E iReasoning MIB Browser as a TRAP receiver 67 APPENDIX F CAREL TAGS FOR pCOWeb HTML PAGE...

Страница 7: ...ng functions WEB server used to check or change the operating status of the pCO controller using a remote computer running for example Mozilla Firefox Google Chrome or Microsoft Edge dynamic web pages...

Страница 8: ...green Single pCO pCOWeb communication error one failed response from the pCO or attempt to write a variable with an index higher than 207 After 5 failed responses the Status LED starts flashing red un...

Страница 9: ...om the pCO controller IMPORTANT to avoid damage before inserting pCOWeb disconnect power to the pCO controller Figure 2 c Inserting pCOWeb in the pCO controller Figure 2 d Securing pCOWeb with the cov...

Страница 10: ...ce installed pCOWeb may however no longer be accessible Therefore during installation use the scissors to separate the two labels supplied and apply one in an easily accessible position near the pCO c...

Страница 11: ...llation manager The steps to be completed are as follows 1 Configuration of the PC for direct connection to pCOWeb 2 Connection and start up of pCOWeb to check correct installation 3 Activation of the...

Страница 12: ...possible 1 Open the Windows Control panel 2 Double click Internet options the window shown in left will be displayed 3 Click Connections Another window right will be displayed Figure 3 c Setting the...

Страница 13: ...rebooted if the button is NOT pressed pCOWeb will return to the User configuration see chapter 9 on page 41 NOTE 2 These values are part of the Bootswitch parameters and unlike the user parameters can...

Страница 14: ...if pCOWeb is now rebooted for example switching the pCO controller off and on again without pressing the button again as described in 3 1 2 on page 12 pCOWeb will use the user set IP address if this...

Страница 15: ...o avoid losing access to other sites as an alternative the proxy can be disabled only for one or a few IP addresses o see point C in paragraph 3 1 1 on page 11 however with the variants shown in examp...

Страница 16: ...ensure compatibility for direct communication as an alternative to the procedures described above the PC can be configured so that it responds not only to the IP address already set but also to a sec...

Страница 17: ...documentation available at http ksa carel com APPENDIX G on page 68 lists the CAREL tags and describes an example of the default demo page resident on the pCOWeb Other pages are shown in APPENDIX I o...

Страница 18: ...ion and paragraph 9 8 on page 49 shows how to read the current information The following examples assume that the current data being used are httpadmin fhttpadmin and the IP address is 10 0 5 0 Figure...

Страница 19: ...directory or subdirectory Figure 4 g FileZilla with the Local Site left and Remote Site right windows The path for entering the web pages and the customized directory is usr local root flash http 6 Al...

Страница 20: ...server on the local network or the Internet pCOWeb sends the e mail to the server and a PC can then access the server and download the messages that have been sent to it APPENDIX D on page 63 presents...

Страница 21: ...arm fired alarm reenter to be included in the e mail and SNMP notifications to identify the activation and return events Example 1 Figure 4 k FTP PUSH and SNMP TRAP programmed to be sent for analog va...

Страница 22: ...AR No action Suggests the character that the XML interpreter can use as the separator for the values of the analog variables SEPARATOR_CHAR SEPARATOR_CHAR SYSTEM End of the section with the sequ of ta...

Страница 23: ...RE a From the pCOWeb main page see a pagina 42 open the Events page b Figure 4 n c The page is divided into eight tabs four of them d Figure 4 o Figure 4 p and Figure 4 q contain the common settings f...

Страница 24: ...on N at least 1 required e mail addresses that pCOWeb will send the messages to Ftp Push FTP Push Configuration recipients for sending XML files Input file name required used to choose the XML templat...

Страница 25: ...4 3 4 Setting the notifications set upon variations in the variables IMPORTANT Some settings described below Event Handlers Trap Configuration and E Mail Configuration are also used for the scheduled...

Страница 26: ...set in Figure 4 t that the TRAP will be sent to for the events relating to the variable IMPORTANT any Hosts enabled after one that is not enabled will be ignored Example 1 1 2 3 3 4 4 5 Hosts 3 and 4...

Страница 27: ...les Events enable enable all the events generated by variations to the variable Trigger an Activation notification event is generated when there are following variations in the value of the variable P...

Страница 28: ...his window Timeout repeat time the first event will be generated after the Timeout has elapsed from when the Submit button was selected the following events will be generated when the Timeout has elap...

Страница 29: ...LOCK WITH pCO SYNCHRONIZATION For this to occur the application program running on the pCO must transmit the information on five selected integer supervisory variables The page shown in Figure 5 a is...

Страница 30: ...to 207 even if the ModBus Extended protocol is running START OR DISPLAY THE RECORDS 1 Open the Clock and Logger page Figure 5 d 2 Click the Logger tab The settings are located in the bottom section of...

Страница 31: ...tically calculate the highest and lowest value reached by all the variables of the same group and automatically adjust the scale Manual Limits are defined by the user if one or more values overtake th...

Страница 32: ...ction Update files to this very moment see below In the usr local root flash http log directory pCOWeb automatically saves the powerup log csv file containing the records with the date time of the eve...

Страница 33: ...ment function Download all csv and graphs a window is opened this may take some time showing the list of directories for the months in which records have been saved to download select the directory an...

Страница 34: ...or specific organisations The standard also allows as each number to be replaced by a name In the example the path is rewritten with the standardised name in brackets 1 iso 3 organization 6 dod 1 inte...

Страница 35: ...58993460 NOTE 4 A variable is always read write however the value will be retained only if featured in the pCO application program Example 1 3 6 1 4 1 9839 2 1 2 45 0 type 2 pCO variable analog with i...

Страница 36: ...ed by the device The default is 9839 which is the identifier assigned to CAREL the full list of assigned identifiers is available on https www iana org assignments enterprise numbers enterprise number...

Страница 37: ...by pCOWeb save them on pCOWeb or on the PC for later use when required The BACnet configuration is saved on pCOWeb in a number of files in the usr local root flash etc sysconfig directory in the same...

Страница 38: ...log Value Multi state Value and Binary Value objects are named A0001 A2048 I0001 I2048 and D0001 D2048 corresponding to their MODBUS mapping 7 3 BACnet features Alarming BACnet Intrinsic Alarming is s...

Страница 39: ...vered from the factory 7 3 3 Schedules BACnet schedules are supported and made visible through the 16 Schedule and 16 Calendar objects For each Calendar object there can be from 0 to 16 dates in the D...

Страница 40: ...read write the variables The ranges of variablesare aligned with the standard Modbus addresses The limits of variables are aligned with the standard Modbus limits read coils discrete inputs 2000 writ...

Страница 41: ...e different from Figure 3 g 3 If the page appears as shown in Figure 3 g click the Go to Administrator area link An authentication dialogue box similar to the one shown in Figure 9 a will be opened Co...

Страница 42: ...Summary page If the login data entered are correct the following page will be displayed as shown in The section in the middle Body is the information page and can be refreshed by clicking Information...

Страница 43: ...pCOWeb date and time at the moment of the last update requested for the page displayed from the PC for example with F5 G symbol that the HTML page conforms to the HTML 4 01 standard H BTL Mark it sho...

Страница 44: ...HTML page or CGI executable was loaded via FTP this process needed to be run to automatically attribute the transferred file the rights needed to be recognised by the pCOWeb operating system currently...

Страница 45: ...emory only when selecting the Submit button IMPORTANT The values set will only be used when pCOWeb is next rebooted Figure 9 j Opening the network configuration page NOTE 2 If pCOWeb is started when t...

Страница 46: ...ted If the speed set for pCOWeb is different from the value set for the pCO communication will not be possible 9 5 1 Extended range ad functionalities All the protocols and some of the functionalities...

Страница 47: ...using the ENTER key and setting the desired value with UP DOWN keys If the DHCP option is set to ON it is not possible to change IP address and Netmask fields Pressing the ENTER key repeatedly all av...

Страница 48: ...the unzip It will return the folder name used for the unzip process mnt data tmp and the status of each file present in the folder Install plugin report This report will provide the install informati...

Страница 49: ...ccess these from a web browser for example Mozilla Firefox Username Password authentication will be required pCOWeb requires authentication if and only if the directory that contains the html page als...

Страница 50: ...selecting Accessories Prompt and then entering telnet 10 10 7 132 IP address or name of the pCOWeb 2 at the login request type httpadmin and the password see 9 8 2 3 type cd usr local root flash http...

Страница 51: ...e Tests page features the following tests IMPORTANT the Gateway normally needs to be set see 9 4 1 on page 45 Specify the name a DNS must be set see 9 4 1 on page 45 or the IP address then select the...

Страница 52: ...al 0 1 Analog 3276 8 to 3276 7 Integer 32768 to 32767 Figure 9 w pCO variables test Send all notifications send all the notification messages set regardless of whether the corresponding events occurre...

Страница 53: ...ing the value of a parameter wait until the setting has been confirmed to allow time for the confirmation to be sent via the browser to pCOWeb or alternatively select the Reboot button available on th...

Страница 54: ...rupted due to a power failure the block A transferred is not valid Upon next reboot the normal functions will no longer work but pCOWeb due to presence of a valid block B will continue to operate to a...

Страница 55: ...on page 43 9 11 2 Procedure for updating the firmware via FTP or SCP block A only INFORMATION The firmware only block A can also be updated via FTP or SCP An already updated pCOWeb where the firmware...

Страница 56: ...ot both at the same time DEV default parameters PVT LCT bios logger configuration pCOWeb does not support BIOS BOOT Figure 9 ee pCO application zip file selection The pCO must have a bios version 4 10...

Страница 57: ...deration any safety timing or specific procedure defined in the software Please go to http ksa carel com and download the step by step guide Updating pCO Application via pCOWeb pdf 10 TECHNICAL SPECIF...

Страница 58: ...address Within a network each IP address must be unique The correct setting of this address is fundamental for the exchange of data between the various devices The IP address is made up of four number...

Страница 59: ...ism for the transmission of a data packet is illustrated below NOTE A network device can contact another device only if its MAC address is known or the MAC address of the corresponding gateway that it...

Страница 60: ...tination IP address of the personal computer subnet mask of the personal computer The communications manager using these three numbers establishes whether the recipient s IP address belongs to the ran...

Страница 61: ...the server with the MAC address acquired E destination IP address outside of the subnet send to the gateway In this case the personal computer will send the message to a special network device called...

Страница 62: ...mmunication buffer comm buffer var value is different from the value of the variable in the application AN12 if it is different it transfers the value of the variable in the application to the communi...

Страница 63: ...er Finger Server started optional service not used by pCOWeb ignore Web Server started the server to access the MAILBOX from an Internet Browser is running IMPORTANT if port 80 is busy the web server...

Страница 64: ...ia web pages To do this simply open an Internet browser that can access the computer where ArGoSoft is running and type the name or the IP address of the computer if the same computer is running the b...

Страница 65: ...e one running Outlook the two computers must be able to exchange data It is recommended to use the same computer In this case enter 127 0 0 1 internal address of the computer visible to all the intern...

Страница 66: ...mple below shows how to set a user on FileZilla Server the procedure is the same for setting other users Figure E b FileZilla Server Interface creating the ftpaccount user 1 Open the user configuratio...

Страница 67: ...ully path through SNMP trees It also offers a built in trap receiver that can receive and process SNMP traps When started no configuration is required The user must select the IP address whose SNMP tr...

Страница 68: ...r 0 VariableType VariableIndex MinValue MaxValue where 0 zero required reserved for future extensions VariableType 1 Digital 2 Analog 3 Integer VariableIndex 1 to 207 for Carel protocol 5000 for ModBu...

Страница 69: ...value will not be indicated Figure G b The var TAG used for writing After having entered a new value selecting the Submit button sends pCOWeb the value entered for the variable and a new request for...

Страница 70: ...see APPENDIX C on page 62 Example Figure G d on page 70 Displaying the result of the write operation DOCTYPE html PUBLIC W3C DTD HTML 4 01 Transitional EN html tagparser pcotagfilt head meta content t...

Страница 71: ...rser pcotagfilt head meta content text html charset ISO 8859 15 http equiv content type title pCOWeb Demo Page title head body bgcolor ffffff h1 style text align center pCOWeb Demo Page h1 br BAUD RAT...

Страница 72: ...xample html select name script setdb commcfg speed option value 9600 checkdbsel commcfg speed 9600 9600 option option value 19200 checkdbsel commcfg speed 19200 19200 option option value 38400 checkdb...

Страница 73: ...g that is until the web page is returned other web pages are requested pCOWeb will need to be rebooted To use this type the following command directly into the address field in the web browser http 17...

Страница 74: ...ibutes the title to the html page window opened by the browser meta content text html charset ISO 8859 15 http equiv content type link rel stylesheet href style css type text css title pCOWeb Demo Pag...

Страница 75: ...t name script var 0 3 1 32768 32767 value var 0 3 1 td tr tr td Var 10 td td input type text name script var 0 3 10 32768 32767 value var 0 3 10 td tr table td tr table center br line break The follow...

Страница 76: ...index equal to their supervisry index e g analog 101 is copied into the array called analogs to the index 101 The string is composed by TYPE START_INDEX END_INDEX TYPE2 START_INDEX2 It can contain up...

Страница 77: ...the parser of the xml to the new format keeping the string as for version A135 will use the old xml format Copy and pasting the same URL to the browser it will return the following XML values contain...

Страница 78: ...tion or to overtake the limitations of the embedded web server of the pCOWeb for example php or asp or net could be used to generate dynamic web pages 2 Any web developer is able to develop the page w...

Страница 79: ...the HTML pages used to create the configuration files required for the correct use of the Plugin and they must be installed in the usr local root flash http plugins directory NOTE The presence of html...

Страница 80: ...the Plugin bin_users directory of the Plugin being installed They represent the executable files binary files or bash scripts that manage the functions of the Plugin During installation the executabl...

Страница 81: ...t Starting Ntp script in the system log 8 This line runs the ntp sh script see the previous section note that the standard output is redirected to dev null to avoid unnecessary messages 9 showStatus d...

Страница 82: ...uninstallation of the Plugin IMPORTANT the contents of pluginname must not contain spaces In the case of the NTP Plugin the file contains the string Network_Time_Protocol and the following link is di...

Страница 83: ...ressing Modicon Compatible Analog 1 1 2 2 2 3 207 207 208 5000 5000 5001 Integer 1 5001 5002 2 5002 5003 207 5207 5208 5000 10000 10001 Digital 1 1 2 2 2 3 207 207 208 2048 2048 2049 As a consequence...

Страница 84: ...gital 2 and 3 are set to 0 Selecting the LOGICAL ADDRESSING 1 Data register 0 Number of points 3 Data read is 1 1 0 this because in versions 1 4 x there was a bug It is possible to read digital variab...

Страница 85: ...OMPATIBLE addressing 3 Data register 1 Number of points 3 Again you see 1 1 0 For a correct visualization you should use 4 Data register 2 Number of points 3 as using Modscan selection Version 1 5 x 1...

Страница 86: ...correct index the correct information is obtained A LOGICAL ADDRESSING data register 1 Number of points 3 Again with MODICON COMPATIBLE settings trying the previous set Data register 1 Number of poin...

Страница 87: ...y 54 Firewall 21 flag 79 FTP 9 15 19 20 21 22 23 24 25 26 27 30 31 39 51 53 54 55 57 61 63 64 70 73 83 93 99 104 gateway 8 17 27 57 76 77 78 Gateway 12 27 57 64 76 GATEWAY 55 76 Glibc 104 GNU 60 63 68...

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

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

Страница 90: ...CAREL Industries S r l Via dell Industria 11 35020 Brugine Padova Italy Tel 39 049 9716611 Fax 39 049 9716600 http www carel com e mail carel carel com pCOWeb 030220966 rel 1 1 12 12 2017...

Отзывы: