background image

Page 16 

Section 6 - 

 

Serial & TCP Communication 

6.1

 

Introduction 

The CCD100 allows full control and feedback via TCP/IP and RS232 (via the USB port). All 
controls via the HMI are also available via comms or on the webserver and all calibration is 

also performed via comms commands or the webserver. 
 
Please note that RS232 serial comms is only provided for legacy & debug purposes and is 
not configurable. The fixed baud rate is 57600 with other settings as follows: 8 data bits, 1 
stop bit, No parity, No handshaking. 
 
TCP/IP comms requires an IP address and subnet mask to be configured for the CCD. This 
can  be  set  via  the  HMI.  Note  that  on  changing  the IP  address  or subnet  mask,  the  CCD 

must  be  re-initialised  by  performing  a  system  reset.  This  is  done  automatically  if  setting 
from comms or the webserver (the CCD waits a second and then resets itself), but if setting 
from the HMI, you must power off & on for the new TCP/IP settings to come into effect. 
 
Note for the host connection, the TCP port of the CCD100 is port 101. 
 

6.2

 

Command/Query format 

The  format  of  the  commands  and  queries  is  common  between  all  available  comms 

protocols for ease of use and understanding when switching between comms methods: 
 

Format: 

accc[?] [p][,p][,p]

¿

 

 
…  where  ‘a’  =  address,  ‘ccc’  =  command/query,  ‘?’  =  query  identification;  ‘p’  = 

parameter (separated by commas if more than one) 
 
The first letter to be entered on the command line, before any command or query, is the 
address  identifier.  The  is  a  legacy  character  left  in  to  provide  some  level  of  backwards 
compatibility  and  familiarity  with  Chell’s  remote  comms  protocol  from  earlier  display 
models. It can no longer be configured and is now fixed to the character ‘a’. On TCP/IP this 
address  doesn’t  really  mean  anything  because  TCP/IP  uses  an  IP  address  per  unit  for 
identification.  

 
Most commands are identified by three letters (although this is not always the case) and a 
query is identified by following the command letters with a ‘?’ character. For all commands 
with parameters, you must separate the command from its parameters with a space, and 
separate multiple parameters with commas. 
 
Table 1 in Appendix A summarises all commands and queries available. Note that where a 
command is also a query, you do not enter any parameters for the query ‘version’ unless 

explicitly stated in the table. 
 
For  everything  sent  on  the  comms  port,  the  CCD  will  reply  by  informing  the  user  of  the 
command/query  it  has  just  received,  along  with  any  parameters  identified,  any  data 
requested  (if  it  was  a valid  command/query)  and  a  line  indicating  whether  the  command 
was accepted. This reply block is the same for anything sent to the CCD and is as follows. 
(‘

¿

’ indicates a carriage return/line feed pair): 

Содержание CCD100

Страница 1: ...e House Folgate Road North Walsham Norfolk NR28 0AJ ENGLAND Tel 01692 500555 Fax 01692 500088 Chell Configurable Display CCD100 OPERATING MANUAL e mail info chell co uk Visit the Chell website at http...

Страница 2: ...in this manual may impair the user s protection Chell Document No 900219 Issue 1 0 ECO Date 20th February 2018 Chell s policy of continuously updating and improving products means that this manual may...

Страница 3: ...Main Screen changing Setpoint 7 c Main Screen Setpoint Valve Control 8 d Main Menu Screen 9 e Setpoint Screen Excitation Screen if millivolt option fitted 9 f Input Screen 10 g Comms Screen 11 h Filte...

Страница 4: ...lc 23 c Retrieve all settings ras 23 SECTION 7 PRINCIPLES 24 7 1 INTRODUCTION 24 7 2 ANALOGUE INPUTS 24 a Range 24 b Full Scale Voltage 24 c Units String 24 7 3 ANALOGUE OUTPUTS 24 7 4 SETPOINT CONTRO...

Страница 5: ...display the output from a pressure transducer It supports both voltage transducers typically 5 10V full scale and also millivolt transducers max 250mV full scale There is also a secondary channel whic...

Страница 6: ...accuracy 15 minutes assumes unit already stabilised at ambient and excludes transducer warm up time 2 3 Measurement and Outputs Power supply out 15V dc 250mA max 24V dc 300mA max Use 15V or 24V trans...

Страница 7: ...V Supply 15 Earth Chassis All other pins Not Connected If the transducer is being powered from another source e g a mains powered supply it will only be necessary to connect to the two signal pins Not...

Страница 8: ...positive conductor to the centre pin Connect the negative 0V conductor to the outer of the jack If requested a compatible AC DC switch mode power supply will have been supplied with the unit Cautions...

Страница 9: ...lection This may be to go to a sub menu or to an editable or information screen see HMI breakdown for more details b Editable screens On any screen that has editable fields switches move the selection...

Страница 10: ...t mode override active for 2 seconds override mode Change setpoint mode to AUTO Change setpoint value main screen changes as below override mode Change setpoint mode to OPEN Change setpoint value main...

Страница 11: ...a specific value the setpoint mode can be changed to Open or Closed which overrides any previously set value Again the main screen shows everything as normal but with the addition of the OPEN or CLOSE...

Страница 12: ...for selection of any menu item Special note for millivolt option If the millivolt option is fitted then the Setpoint menu option will be listed as Excitation to allow for configuration of the initial...

Страница 13: ...assign a units label up to 5 characters for the channel data The number of decimal places selected on the range field dictates the number of decimal places shown for the input channel data on the Main...

Страница 14: ...and buffer size of the adaptive filter The filter only applies to the display and comms output readings The band is represented as a percentage of FS and can be set between 0 00 OFF and 1 00 and also...

Страница 15: ...xt character when in edit mode Move edit field selection up Move edit field selection down Zero Go to edit mode for currently selected field j Factory Defaults Confirmation Screen If Factory Defaults...

Страница 16: ...ote for TCP streaming to work a TCP connection on port 101 must be pre established the unit does not data stream over the HTTP port 80 5 2 Live data The live data page is the first page the user will...

Страница 17: ...is the maximum Voltage output of the transducer Source is where the setpoint is referenced from Internal will output the number entered as the setpoint value and Slave will output a percentage of the...

Страница 18: ...in the image above the input must get to Trip point 2 of fullscale and the relay will not switch off until the input drops to Trip point 2 of fullscale The trip point is the Engineering unit at which...

Страница 19: ...c command query query identification p parameter separated by commas if more than one The first letter to be entered on the command line before any command or query is the address identifier The is a...

Страница 20: ...rrect invalid parameters e ERROR if there was some internal comms error w BUSY if the comms is currently busy 6 3 Main commands a Output current readings r This command tells the CCD to get the curren...

Страница 21: ...n decided that when 100ms repeated output is used the data will be taken every 100ms and buffered up to be sent out every 500ms in blocks of 5 readings This has proven to be a more robust output metho...

Страница 22: ...command above is not non volatile This command can be used to set an initial setpoint value on system startup It takes one parameter which is the initial setpoint value The current value of the setpoi...

Страница 23: ...IP address To retrieve the current IP address use the query eip The returned data is IP ADDRESS xxx xxx xxx xxx where xxx is always a three digit octet b Ethernet subnet mask esm This command changes...

Страница 24: ...The number of decimal places passed in the range value dictates the number of decimal places shown for the main data output up to a max of 4 decimal places any more will get chopped off The current ra...

Страница 25: ...buffer size in seconds between 0 and 6 seconds 0 can be used to effectively turn the adaptive filtering off To retrieve the current filter size use the query fls The returned data is FILTERING SIZE x...

Страница 26: ...nction although it can take an optional parameter of 0 which clears any value already generated by a previous rezero To find the current user rezero value use the query irz The data returned is as fol...

Страница 27: ...Scale Voltage Each device attached to the CCD will have a full scale voltage which is the maximum voltage the device should output under normal operating conditions Typical values are 10V 5V and 1V Th...

Страница 28: ...ltage is 0 25V b Setpoint Source The setpoint source dictates where the setpoint value comes from assuming the mode is set to Auto see above This can be one of two possibilities Internal or Slave Inte...

Страница 29: ...of the filtering irrespective of the band setting It should be noted that this type of adaptive filtering can cause readings to be displayed abnormally particularly if the buffer size is one of the l...

Страница 30: ...within the instrument means that the user is strictly forbidden from removing the covers without invalidating Chell s obligations under both Warranty and COSSH 8 4 Cleaning A dirty instrument may be...

Страница 31: ...as Comma separated string returned See Table 3 for actual settings Ethernet IP address eip eip IP octets P1 xxx xxx xxx xxx Ethernet subnet mask esm esm IP octets P1 xxx xxx xxx xxx Input channel unit...

Страница 32: ...Range 10 000 Input Channel Full Scale 10 000 V or 100 00 mV If millivolt option fitted Input Channel Display Precision 3 3 decimal places Input Channel User Rezero 0 0 No rezero set Setpoint Value 0...

Страница 33: ...byte 0 1 as for sps query initial value 8 char string representation of a float initial slave value 8 char string representation of a float initial mode 1 byte 0 2 as for sim query Adaptive filter ban...

Отзывы: