background image

 

 

4.2. Terminal Description 

 

The supply and external signals must be connected in accordance with the fig. 3.  

Individual outlets have been described in the table 1. 

Caution: 

One must pay a particular attention on the correct connection of external signals  
(see table 1) 
 

 

 

 

      Fig. 3. Electrical connections of the SMC controller. 

 

The controller has two serial ports, Port 1 and Port 2. 
The port 1 is destined for communication with devices of Slave type. 
Two  RS-485  interface  systems  are  added  to  the  Port  1.  The 

operation of both systems is identical. Interface systems are electrically connected and galvanically isolated 
from the remainder of the system. Interface lines are connected to terminals 1, 2, 3, 4 for the first port, and 5,  
6  ,  7  ,  8    for  the  second  port.  The  RS-485  bus  enables  the  direct  connection  to  32    devices  with  RS-485 
interface. The maximal bus length depends on the baud rate and  is included in limits from several dozens of 
meters for high speeds, up to ca 1.2 km for low speeds.                                                     
The port 2 is destined for the controller configuration with the PC computer. 

 
 

The  Port  2  includes  RS-485,  RS-232  and  USB  interfaces. The  RS-485  interface  enables  the  connection  of 
the  controller  to  the  RS-485  serial  bus,  its  lines  has  been  led  out  to  terminals  14,  15  and  16.  RS-232  and 
USB interfaces are destined to connect with the Master system. 

There are 3 signalling diodes on the frontal plate 

D1 Two-colour diodes
  

Green  colour    continuous  lighting  –  signals  a 
correct controller work. 

  

Green  colour  –  pulsating  –  signals  the  work  in  the 
configuration mode. 

  

Red colour – signals a configuration error. 

D2  Green diode 

  

Signals  the  data  transmission  from  the  side  of  a 

slave device type.  

       D3 Yellow diode 
  

Signals  the  data  transmission    from  the  side  of  a 

master device type. 

 
        Table 1. Description of SMC Controller Outlets

 

Termi-

nal 

Terminal description 

5 V ( for bus bias) 

Line A of the first RS-485 interface of Port 1 

Line B of the first RS-485 interface of Port 1  

Line GND of the RS-485 interface of Port 1 

Line GND of the RS-485 interface of Port 1 

Line B of the second RS-485 interface of Port 1 

Line B of the second RS-485 interface of Port 1 

 5V (for bus bias). 

9, 10 

Lines of controller supply 

11 

Not used 

12 

Output TxD of the RS-232 interface of Port 2 

13 

Input RxD of the RS-232 interface of Port 2  

14 

Line    GND  of  the  RS-232  and  RS-485 
interfaces of Port 2 

15 

Line A  of the RS485 interface of Port 2 

16 

Line B of the RS-485 interface of Port 2 

 

USB 

socket 

SMC

Содержание SMC series

Страница 1: ...PROGRAMMABLE LOGIC CONTROLLER SMC TYPU USER S MANUAL ...

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

Страница 3: ...t Controllers in the Computer 8 5 CONTROLLER CONFIGURATION 9 5 1 Connection PC SMC 9 5 2 SMC Communication Devices SM modules 12 5 3 Writing the Program in SMC 17 6 DESCRIPTION OF THE TRANSMISSION PROTOCOL FUNCTIONS 18 6 1 Readout of n registers Code 03 18 6 2 Writing Values in the Register Code 06 18 6 3 Writing in n registers Code 16 19 6 4 Identifying Report of the Device Code 17 19 7 ERROR COD...

Страница 4: ...blocks The system designer can create own libraries with functions functional blocks and programs Two serial ports are destined for communication Port 1 with two RS 485 interface systems for the communication with devices working in the object Port 2 with RS 485 RS 232C and USB interfaces for the communication with the Master system through wire links The asynchronous character communication MODBU...

Страница 5: ...s cancellation In the security scope the controller meets the requirements of the EN 61010 1 standard Remarks Concerning the Operator Safety Service All operations concerning transport installation and commissioning as well as maintenance must be carried out by qualified skilled personnel and national regulations for the prevention of accidents must be observed Before switching the controller on o...

Страница 6: ...ION OF THE DESIGN AND INSTALLATION 4 1 Design Description The SMC controller is destined to be fixed on a 35 mm rail support acc to EN 60715 in the way shown on the fig 2 SMC Fig 2 Fixing way of the SMC controller ...

Страница 7: ...e enables the connection of the controller to the RS 485 serial bus its lines has been led out to terminals 14 15 and 16 RS 232 and USB interfaces are destined to connect with the Master system There are 3 signalling diodes on the frontal plate D1 Two colour diodes Green colour continuous lighting signals a correct controller work Green colour pulsating signals the work in the configuration mode R...

Страница 8: ...the controller in the Windows system causes the addition of a successive serial COM Port to the list of ports serviced by the operating system 4 4 Installing COM Port Controllers in the Computer On the CD added to the product there are catalogues with controllers for following operating systems WIN_XP Windows 2000 Windows XP Windows Vista Windows Server 2003 WIN_XP_64 Windows Vista x64 Windows XP ...

Страница 9: ...m from the CD acc to the section 4 4 It generates that the USB port will be serviced as a serial port PC SMC Cable Connect the USB port of the computer to the USB port of the SMC controller on the frontal plate 5 1 2 Number of the USB Port Read out in the Device Manager of the Windows system which COM port is the USB port connected to the SMC controller Menu Start Settings Control panel System Har...

Страница 10: ...ext require the file import from the compiled project After starting the configuration window of the CPCon communication appears Fig 7 Table of communication tasks The communication task table has a basic meaning It defines which transactions of the MODBUS protocol i e exchange of messages queries responses readout or commands confirmation write will take place Transactions are named here communic...

Страница 11: ...ut metric contains documentation data of the carried out program by the controller The synchronization sets the controller clock acc to the computer 5 1 5 Transmission Settings Transmission Settings The Settings window with Communication tags Program Settings and Update appear in the window Vertical communication The Tag serves to set PC SMC communication parameters The port number issues from the...

Страница 12: ... SMC Communication Devices SM Modules For the SMC controller communication with object devices can serve a global variables which addresses e g START STOP ALARM have been assigned to b COM_SM1 COM_SM2 etc communication blocks dedicated for SM module The communication is configured by fulfilling a suitable number of rows of the task table Each line represents one communication task of the SMC contr...

Страница 13: ...n be read out by groups by means of the function with Code 3 readout of registers named FC3 here Function Code 3 The first window can have the shape like below Fig 14 Definition of the target slave number and the readout function 5 2 2 Variables Addresses The list of global variables with addresses appears in the creator window Fig 15 Assignment of global variables to the device ...

Страница 14: ...16 Assignment to the device and definition of the beginning address 5 2 4 Priority Timeout Communication tasks defined by type lines of the main table are made in breaks which after performing the program time remains to the end of each cycle If the break is important the task can be carried out several times The task with a normal priority is carried out twice rarely than the task with a high pri...

Страница 15: ...the communication which of the variable is destined to write the communication time in and by means of which one can enable or disable communication tasks Control variables are used in advanced projects Fig 18 Control variables 5 2 6 Creation of the Communication Task Press the button The first line with data set in the creator appears in the table of communication tasks and with it the conversion...

Страница 16: ...ion tasks can be utilized in later modifications or in other Projects The file with the table is also indispensable when the CPSim Simulator has to stimulate the operation of devices added to the controller The CPCon configurer write files with the XMC extension Press the button The window Write file with the configuration of the communication subsystem appears in which one must write the file nam...

Страница 17: ...he Program in SMC Before writing it is worth to open the lower part of the window by clicking Communication monitoring It allows to check if the write has proceeded correctly Press the button The window of the project specification metric appears which with the program will be written in the SMC controller During the write check information is displayed in the Communication monitoring window Fig 2...

Страница 18: ...ter with 6B h address address function register address Hi register address Lo number of registers Hi number of registers Lo checksum 11 03 00 6B 00 03 7E LRC Response Register data are packed beginning from the lowest address first the older byte next the younger register byte Example Response frame address function numb of bytes value of reg 107 Hi value of reg 107 Lo value in reg 108 Hi value i...

Страница 19: ...e events can appear If the slave unit receives the request without a transmission error and can perform it correctly then returns the correct response If the slave unit does not receive the request not any response is returned In the program of the master device timeout conditions will be fulfilled for the request If the slave unit receives the request but with transmission errors parity error LRC...

Страница 20: ...e addresses the request to the slave unit numbered 10 oHa The function with the code 01 is not implemented in the concentrator then the device returns the erroneous response with the error code nr 01 It indicates the forbidden function in the slave device Possible error codes and their meanings are presented in the table below code meaning 01 forbidden function 02 forbidden data address 03 forbidd...

Страница 21: ...ure 20 70 ºC relative air humidity 95 inadmissible condensation of water vapor Ensured protection levels from frontal housing side IP 40 from terminal side IP 20 Overall dimensions 45 x 120 x 100 mm Weight 0 25 kg SMC casing for mounting on a 35 mm DIN rail Electromagnetic compatibility noise immunity acc to EN 61000 6 2 noise emissions acc to EN 61000 6 4 Safety requirements acc to EN 61010 1 ins...

Страница 22: ...glish E other X Acceptance tests without extra l requirements 0 with an extra quality inspection certificate 1 acc to customer s request X After agreeing with the manufacturer ORDERING EXAMPLE The code SMC 1 00 E 1 means SMC programmable controller of SMC type 1 supply voltage 85 253 V a c d c 00 standard version E English language 1 delivered with an extra quality inspection certificate ...

Страница 23: ...the Manufacturer s Quality Control Dept If the unit has been used in compliance with the instructions the Manufacturer guarantees to repair it free of charge 2 After the guarantee period One should turn over the controller to repair it in a certified service workshop The disassembling of the housing causes the cancellation of the granted guarantee Our policy is one of continuous improvement and we...

Страница 24: ...OF ALUMINIUM ALLOY PRESSURE CASTINGS PRECISION ENGINEERING AND THERMOPLASTICS PARTS SMT ASSEMBLY SERVICES MOUNTING OF SUBCONTRACTED ELECTRONIC DEVICES QUALITY PROCEDURES According to ISO 9001 and ISO 14001 international requirements All our instruments have CE mark For more information please write to or phone our Export Department SMC 09 1 January 2010 Lubuskie Zakłady Aparatów Elektrycznych LUME...

Отзывы: