background image

10/10 MN05003004Z-EN

CPU

11

Surface mounting

LED status indicator

a

chapter “Operating states” on page 41.

Operating mode selector switch

The operating modes “Stop” and “Run” are selected by a rocker 
switch at the front of the CPU module. Please note that the 
position of the operating mode selector switch sets the behaviour 
of the CPU. The effectiveness of the software settings depends on 
the position of the operating mode selector switch. If the selector 
switch is changed to the “Stop” position while the equipment is in 
the “Run” mode, then the CPU will switch from the operating 
mode “Run” to the “Stop” state at the end of the cycle that is 
currently running. The position of the operating mode selector 
switch is polled at the end of each cycle, and the controller 
switches to the selected state, 

a

chapter “CPU operation”.

Multimedia Card (MMC)/Memory card

The multimedia card is used as an optional backup medium for the 
(boot) project and to save recipe data. The operating system 
supports memory capacities up to a maximum of 128 MByte.
At present, Eaton offers MMCs in the sizes 16 and 32 MByte, with 
the type designations XT-MEM-MM16M and XT-MEM-MM32M. 
To write data to the multimedia card, just plug it into the 
corresponding MEM CARD slot in the CPU. Use the command 
“create boot project” to transfer the project to the MMC. 

Erasing functions

Use the browser “Format” command in order to erase the entire 
content on the MMC. You can delete the boot project and the 
operating system on the MMC using the “Reset (Original)” 
command.

Data access to the multimedia card

The “XC100_File” library is contained in the “Lib_CPU101”. It 
provides the elements for access to the MMC. It is necessary to add 
the respective library to the “Library manager”:

X

Change to the library manager and position the mouse pointer 
on the field for the libraries. Then press the right-hand mouse 
button.

X

Select the “Additional library insert” command in the new 
opened information window. 

X

Select the “Lib_CPU101” library and then the “XC100_File” 
file. Open this file.

The module is integrated into the library manager with the 
“Open” command. The following functions are now available:

• FileClose
• FileDelete
• FileGetSize
• FileOpen
• FileRead
• FileRename
• FileSetPos
• FileWrite.

Further information about these modules can be found in the 
“Libraries of the XC100_File.lib” section and the in the manual 
“Function Blocks for easySoft-CoDeSys” (MN05010002Z-EN; 
previously AWB2786-1456GB).

Figure 7:

Block diagram of the XC-CPU101

a

State indication RUN, Stop, SF

b

Operating mode selector switch

c

Multimedia card

d

Programming device interface: RS232 on XC-CPU101

e

CANopen fieldbus interface

f

Voltage monitoring

g

I/O bus interface

h

XIOC I/O bus (on module rack)

MMC

CAN

RS 232

80C164

FLASH (XV)

+   

SRAM

Px

Py     

SPI

UART

(LCD/ 

Touch

Panel)     

Adr. 

Data     

GPIO      

a

c

b

e

d

g

f

h

h

From operating system (OS) version 03.03 it is possible to 
transfer the operating system to the memory card and to 
transfer it from there to other PLCs, 

a

 section 

“Updating the operating system (OS)” on page 22.

h

Attention!

• The “FAT16 file system” is not transaction-safe.
• The control voltage/control may not be switched off 

when a File service is still open.

• A voltage failure or shut down of the supply voltage 

with an open File service can lead to destruction of the 
multimedia card.

Summary of Contents for XC200 Series

Page 1: ...n der Industrie in Wohn und Zweckbauten öffentlichen Einrichtungen bei Energie versorgern im Handel und bei OEMs Zu Eatons Electrical Sector gehören die Marken Cutler Hammer Moeller Micro Innovation Powerware Holec MEM und Santak www eaton com Eaton Adressen weltweit www moeller net address E Mail info bonn eaton com Internet www eaton com moellerproducts www eaton comDirecciones de Eaton en todo ...

Page 2: ... 06 02 2nd edition 10 2002 3rd edition 04 2003 4th edition 08 2003 5th edition 11 2003 6th edition 12 2003 7th edition 06 2004 8th edition 11 2004 9th edition 03 2005 10th edition 01 2008 11th edition 10 2010 see revision protocol in the About this manual chapter Eaton Industries GmbH 53105 Bonn Authors Werner Albrecht Peter Roersch Editor Thomas Kracht Barbara Petrick Translator globaldocs GmbH A...

Page 3: ...es Ensure a reliable electrical isolation of the low voltage for the 24 volt supply Only use power supply units complying with IEC 60364 4 41 VDE 0100 Part 410 or HD 384 4 41 S2 Deviations of the mains voltage from the rated value must not exceed the tolerance limits given in the specifications otherwise this may cause malfunction and dangerous operation Emergency stop devices complying with IEC E...

Page 4: ...II ...

Page 5: ...11 Programming device interface 12 CANopen interface 14 Real time clock 15 XC CPU101 XV 15 Battery 15 CPU installation 16 Detaching the CPU 16 2 Engineering 17 Control panel layout 17 Ventilation 17 Layout of units 17 Preventing interference 17 Suppressor circuitry for interference sources 17 Shielding 17 Lighting protection 18 Wiring examples 18 PSU 18 Power supply of the digital inputs outputs 1...

Page 6: ...b_Common 26 Libraries of the Lib_CPU101 27 Direct peripheral access 29 Functions 30 Error code with direct peripheral access 33 Interrupt processing 34 Interrupt prioritising 34 Timer interrupt 35 DisableInterrupt 36 EnableInterrupt 36 Creating and integrating an interrupt function 37 System events 39 Browser commands 40 canload browser command 40 Data remanence 41 Program transfer 41 Operating st...

Page 7: ... for routing 58 Number of communication channels 58 8 RS232 interface in transparent mode COM 1 2 3 59 Demands placed on the functionality of the transparent mode 60 SysComOpen function 60 SysComClose function 63 SysComRead function 64 SysComWrite function 65 SysComSetSettings functions 66 SysComReadControl function 68 SysComWriteControl function 69 Automatic closing of the interface 69 Appendix 7...

Page 8: ...10 10 MN05003004Z EN 4 ...

Page 9: ...Logging off j 69 Battery life j 08 03 Reprint 10 69 XC CPU 101 C256k 8DI 6DO XV j 12 03 Completely revised 12 03 Reprint 41 Data remanence 1st paragraph j 04 04 42 Limit values for memory usage j 06 04 18 68 72 External 24 V DC line filter for the XC100 power supply j j 11 04 11 MMC j 19 Startup behaviour j 21 Full reset j 21 Creating and transferring a boot project j 22 Updating the operating sys...

Page 10: ...nts in this manual references are made to more detailed descriptions in other manuals These are described with their title and documentation number e g MN04802001Z EN All manuals are available in PDF format If for some reason the manual is not supplied on the product CD it is available for download as a PDF file Go to http www eaton com moeller a Support and enter the document number in the Quick ...

Page 11: ...des the operating voltages required by the processor unit and the inputs outputs local and decentralized Task The power supply transforms the 24 V DC supply voltage into the voltages required by the system These voltages are fed to the bus on the basic rack unit and any expansion rack units that are present The special feature of connection to the 24 V supply voltage is that the processor unit and...

Page 12: ...y isolated right up to the bus Local digital inputs outputs The outputs Q0 0 to Q0 5 can be loaded with 500 mA a duty factor ED of 100 and a utilization factor g of 1 The outputs are short circuit proof A short circuit state should however not be permitted to exist over a longer period Figure 3 Block diagram power supply unit a Status indicator for I Os b Front connection terminals c Internal filt...

Page 13: ...tion and they start the programmed Interrupt routines The program section which has been processed up to the arrival of the Interrupt signal is interrupted immediately All further Interrupt processes should be application related programmed Figure 4 Connections for PSU and local I O I0 0 to I0 7 local digital inputs Q0 0 to Q0 5 local digital outputs 0VQ 24VQ supply voltage for the local inputs ou...

Page 14: ...t control functions The available operating and interface control devices are LED display for RUN Stop and general error Operating mode selector switch RUN Stop RS232 interface e g for programming device interfacing CANopen interface as a fieldbus interface Interface for a multimedia memory card MMC The CPUs for XC100 controllers are available in various different versions XC CPU101 C64K 8DI 6DO X...

Page 15: ... multimedia card The XC100_File library is contained in the Lib_CPU101 It provides the elements for access to the MMC It is necessary to add the respective library to the Library manager X Change to the library manager and position the mouse pointer on the field for the libraries Then press the right hand mouse button X Select the Additional library insert command in the new opened information win...

Page 16: ...is an RJ45 socket Use the programming cable XT SUB D RJ45 for connecting XC100 The interface is not electrically isolated Interface assignment Data transfer rate modification X Open the Resources r PLC Configuration dialog field X Activate the Other parameters tab X Select the required data transfer rate in the Baudrate list field In the example this is 38400 kBit s X Close the Other Parameters wi...

Page 17: ...lect the field with the preset baud rate This field now has a grey background X Double click this field once more to choose the Baud rate e g 38400 Bit s Confirm with OK X Select the menu Online r Log in again Once again you will see the following message X Again answer this query with Yes X Select the menu Online r Start a figure 9 This puts the controller into the RUN mode The subsequent communi...

Page 18: ...owing characteristics Characteristic impedance 100 to 120 O Capacitance 60 pF m The demands placed on the cable connectors and bus termination resistors are specified in ISO 11898 Following you will find some demands and stipulations listed for the CANopen network In the following table standard parameters for the CANopen network with less than 64 CANopen slaves are listed table complies with the ...

Page 19: ...e CPUs with text displays from the XV 101 Battery A lithium battery type 1 2 AA 3 6 V is used for data saving The battery compartment can be found on the left side of the CPU unit behind a cover plate The charge level of the battery is monitored If the battery voltage falls below a fixed preset level then a general error message will be generated The battery buffer times are Worst case 3 years con...

Page 20: ...pull the top of the CPU module forwards X Lift up the CPU module and remove it h Detailed information about the installation of the backplanes and XI OC modules can be found in the manual Hardware and Engineering XI OC Signal Modules MN05002002Z EN previously AWB2725 1452GB Here you can also find further information on the various types of module rack and the individual slot assignments for the CP...

Page 21: ...ters contactors solenoid valves Control and signal cables e g digital input lines Measurement and signal cables e g fieldbus connections Take care to implement proper cable routing both inside and outside the control panel to keep interference as low as possible X Avoid parallel routing of sections of cable in different power categories X As a basis rule keep AC cable separated from DC cables X Ke...

Page 22: ...U Power supply of the digital inputs outputs The wiring example indicates the wiring of a separate voltage supply for inputs outputs h You can find wiring examples for the XI OC modules in the manual Hardware and Engineering XI OC signal Modules MN05002002Z EN previously AWB2725 1452GB Figure 18 Wiring example for the supply section a Main switches b Circuit protection device c 24 V DC supply volt...

Page 23: ...tion with the programming system as well as execution and debugging of the application program It only supports one application program Figure 20 Startup behaviour BTS MMC k BTS PLC BTS in MMC Power on yes No yes no PLC Start BTS MMC a PLC Application will be deleted Default settings 38 4 KB COM1 125 KB CAN 127 CAN Node ID Boot project MCC Main memory project SRAM Boot projekt in MCC CPU start Loa...

Page 24: ...LC and after every Cold reset During this start all the program variables are set to their initialisation values and the program is started Warm start All further starts of the loaded program as well as after Warm resets are warm starts The variables that were declared with RETAIN retain their values the other variables are set to their initialisation values and program is started Test and commiss...

Page 25: ...witch on if an application program is present and the operating mode selector switch is in the Run position The following settings are available WARMSTART default setting COLDSTART STOP Creating and transferring a boot project A boot project is generated by a loaded user program and saved on the MMC The following steps are necessary in order to create a boot project X Insert an MMC into the MEM Ca...

Page 26: ...d slot of the CPU X Establish a serial connection via the RS232 interface of the PC with the XC100 see a page 45 X Activate the Other Parameters tap in the PLC Configuration window X Click on the Start button The Download window opens X Press the Operating System File button and select the required operating system file hex After the operating system file has been selected from version V03 03 you ...

Page 27: ...ed into the MMC the OS and the boot project on the MMC and the user program in the PLC are deleted The procedure is similar to the description in section Transferring the operating system from the PC to the PLC on page 22 Transferring the operating system from the MMC into the PLC Switch the PLC off and on The transfer can take more than 30 seconds as the CPU must be booted several times Do not in...

Page 28: ...10 10 MN05003004Z EN 24 ...

Page 29: ...nnected and the XC100 is put into the Stop state System libraries function blocks and functions You can use various system libraries with the respective functions and function blocks for your application Generally the following libraries are available after the target system selection Standard lib RTCLib lib Counter lib SYSLIBCALLBACK LIB In these libraries general IEC modules and functions for th...

Page 30: ... libraries can be found following this paragraph More detailed explanations of the other libraries are not undertaken they are explained in the MN05010003Z EN previously AWB2700 1437GB programming software manual and or in the Library Online help of the programming system Standard lib The IEC function blocks and standard functions are contained in the Standard lib The description of the function b...

Page 31: ...omous controls CAN Device via CANopen AN2700K20GB Engineering of CAN stations AN2700K27GB Counter lib library The COUNTER library provides functions in order to integrate the XIOC 1CNT 100KHZ and XIOC 2CNT 100KHZ counter modules in the XC100 system The description of the COUNTER library can be found in the Function blocks for easySoft CoDeSys manual MN05010002Z EN previously AWB2786 1456GB in the ...

Page 32: ...for another task to access this area The description of the functions can be found in the programming software manual MN05010003Z EN previously AWB2700 1437GB manual and in the Library Online help of the programming system VISU library The VISU library provides functions with which process visualisation can be implemented in the easySoft CoDeSys The description of the VISU library can be found in ...

Page 33: ...an be integrated via a bus system can t be accessed via the Direct peripheral access Addressing is dependent on the slot number 0 to 15 of the signal modules Further differentiation within the slot exists and relates to bit number 0 to max 63 of the Inputs Outputs Depending on the functionality of the XIOC signal modules access occurs as a bit word or read write operation The access parameter indi...

Page 34: ... 0 to 11 j 0 1 to 15 XIOC 16DX j 0 to 15 j j 0 1 to 15 XIOC 8AI I2 j 0 to 7 1 to 15 XIOC 8AI U1 j 0 to 7 1 to 15 XIOC 8AI U2 j 0 to 7 1 to 15 XIOC 4T PT j 0 to 3 1 to 15 XIOC 2AO U1 2AO I2 j 0 to 3 1 to 15 XIOC 4AO U1 j 0 to 3 1 to 15 XIOC 4AO U2 j 0 to 3 1 to 15 XIOC 2AO U2 j 0 to 1 1 to 15 XIOC 4AI 2AO U1 j j AI 0 to 3 AO 0 to 1 1 to 15 XIOC 2AI 1AO U1 j j AI 0 to 1 AO 0 1 to 15 XIOC 1CNT 100KHZ...

Page 35: ... uiSlot Slot number of the signal module For possible parameters see table 4 on page 29 uiBit Bit position within the input value of the signal module For possible parameters see table 4 on page 29 ptr_xValue Pointer to the variable value ReadBitDirect Display of the fault code see table 9 on page 33 Figure 42 ReadWordDirect function uiSlot Slot number of the signal module For possible parameters ...

Page 36: ... direct access will be output with the modified output bit Thus an output from other outputs within the output word occurs at the point of time when it is accessed and not at the end of the cycle For this reason with a direct peripheral access to an output bit within a program cycle the remaining outputs of the output word should not be used and evaluated A further refresh of the output word occur...

Page 37: ...for the value transfer remain unchanged Table 9 Error code with direct peripheral access IO_ACCESS_NO_ERROR data type Figure 44 WriteWordDirect function uiSlot Slot number of the signal module For possible parameters see table 4 on page 29 uiOffset Output word within a signal module For possible parameters see table 4 on page 29 wValue Input parameter from Word type WriteWordDirect Display of the ...

Page 38: ... but without running a POU Frequent occurrence of an interrupt during a cycle can cause the cycle time to time out and result in a reset being initiated by the Watchdog User interrupts can be inhibited and re enabled from the program The functions DisableInterrup and EnableInterrupt are provided for this purpose A call parameter in the easySoft CoDeSys determines if an individual interrupt or all ...

Page 39: ...tart of the timer and can not be modified for the run time The linking of the timer interrupt with the respective IEC program occurs as with the IO interrupts via Task configuration l System events The entered interrupt function is executed immediately as soon as the interrupt occurs The running IEC program cycle can be interrupted at any point The timer interrupt can also itself be interrupted by...

Page 40: ... disable deactivate a parameterized physical interrupt by accessing it from the user program EnableInterrupt With this function the physical interrupt which was deactivated beforehand can now be re enabled as an active interrupt Figure 47 DisableInterrupt function Figure 48 EnableInterrupt function ...

Page 41: ...ing In the example a H signal on input I0 0 should branch into an interrupt module and execute it X Create a program module for the normal application PLC PRG for this purpose and a further module with the interrupt functionality Interrupt1 The following figure shows you both modules X Changeover to the PLC Configuration and assign Interrupt_0 0 from the list field to input I1 Figure 49 PLC_PRG an...

Page 42: ...ystem events input field for IO Interrupt1 X Now stay on the same row and mark the called POU field with the left hand mouse key and press function key F2 The Help Manager window opens in which all predefined programs are listed Figure 50 Assign input I0 0 with interrupt 4 Figure 51 Parameterization of the interrupt source ...

Page 43: ...n a task call up a project module for processing a system event event can also call it up The system events which can be used for the purpose are target system dependant They are comprised of the standard system and the target system dependant events Possible events are e g Stop Start Coldstart Warm start IO interrupt Timer interrupt Online modification See also figure 52 Figure 52 Interrupt modul...

Page 44: ...ck to determine the CAN bus loading from the user program is available Command Description Get a list of implemented commands reflect Mirror current command line for test purposes mem Memory dump Syntax mem start addr end addr memc As mem addresses areaddedtothestart address of the code range memd As mem addresses areaddedtothestart address of the data range pinf Output project information ppt Out...

Page 45: ...r this problem is an uninterruptible power supply with additional accumulator buffering Program transfer The transfer of an application program always takes place via the battery buffered SRAM area in the controller Afterwards a backup can be created on the multimedia card by using the Create boot project command A program backup can only be created while the system is in the HALT state The intern...

Page 46: ...cimal values In order to ensure that you use the available memory for the global data in an optimum and efficient manner we recommend that you make the following settings when a new project is being created The number of segments is set to 1 by default The number of segments is changed as follows X Select Project l Options l Compile options select the data segments field and enter the number of se...

Page 47: ...the Automatic calculation of addresses checkbox the addresses remain unchanged with modifications expansions Check for overlapping addresses If the check for overlapping addresses is activated addresses which are assigned twice will be detected and an error message is generated during compilation This setting should not be modified Uneven word addresses Independent of the Check for overlapping add...

Page 48: ...change Click first of all on the nodes to drop down the structure or set the cursor in the PLC Configuration field and press the left mouse button If you mark the Configuration XC CPU text and call the Automatic calculation of addresses all the addresses are recalculated Diagnostics You can run diagnostics with the help of the diagnostics function block The following possibilities are available h ...

Page 49: ...sySoft CoDeSys and select the COM1 or COM2 interface X Preselect the values indicated in Figure 59 You can alter the default values by making a double click on the entered value Communication fault 0 Logging off A connection can not be established between the programming PC and the XC100 please check the physical connection the baud rate of the communication parameters in the easySoft CoDeSys the ...

Page 50: ...10 10 MN05003004Z EN 46 ...

Page 51: ...signal modules can be used Connect appropriate CANopen fieldbus participants to the CANopen interface The basis for the configuration is the following hardware layout Task Make a logical AND linkage of inputs I0 0 and I2 7 on the XC100 The result of this logical operation should be presented at output Q0 3 The second step is to read in the inputs generate the outputs using a CAN Master Activate th...

Page 52: ... the configuration click the Networkfunctionality tab and tick the Support network variables check box You will get a message that this target system supports the CAN network The Support network variables control box must only be activated if you wish to work with network variables When activated the libraries required for operation of network variables are added automatically This function is not...

Page 53: ...relevant Parameter manager is only required for a CAN device Standard settings are available for this purpose which means that no modifications must be made X Close this selection with OK X Select the POU type Program and the programming language IL Figure 64 Target system settings CAN network functions 1 Figure 65 Target system settings CAN network functions 2 ...

Page 54: ...ou can continue with the programming or configuration Configure XC100 controller The example makes use of the XC CPU101 C64K 8DI 6DO X Select the Resources register left half of window at bottom to configure the XC100 with the local and central inputs and outputs Figure 66 Select POU type Figure 67 POU type Program in IL representation ...

Page 55: ...ller configuration Another window is opened PLC configuration X Click on the register card Additional parameters A window appears with the default values for the XC CPU101 C64K 8DI 6DO Figure 68 Configure XC100 controller Figure 69 Basic configuration of the XC100 settings ...

Page 56: ...les The slots EMPTY SLOT are wildcards for central expansion of the signal modules If you want to join up a central digital input module with 16 inputs right next to the CPU then carry out the following steps X Mark the first EMPTY SLOT and then click the right mouse button A window is opened X Select the field Replace element The window that is now opened lists the signal modules which are availa...

Page 57: ... on the plus sign in front of the modules AT IB0 Byte Local Inputs AT QB0 Byte Local Outputs XIOC 16DI SLOT You will now get detailed information with the physical address area of the inputs and outputs Figure 72 Configuration XC CPU101 C64K 8DI 6DO Figure 73 Address area of the configuration ...

Page 58: ...is logical operation is to be presented at output Q0 3 X Select the POUs tab and double click on the PLC PRG element The declaration and program window will be opened X Create the declaration and the program as shown in the following diagram and then compile the project X Load the project into the controller X Test the project I0 0 AND Q0 3 I2 7 Figure 74 Program and declaration window Figure 75 C...

Page 59: ...outing node ID must be set on both PLCs Routing through XC200 To perform a program transfer or routing using TCP IP through a connection between XC200 and PC you must first set the block size for the transferred data The packet size 4 KByte or 128 KByte depends on the transfer type program transfer or routing and the operating system a table 11 Table 11 Block size for data transfer Routing with th...

Page 60: ...receive the basic parameters such as Node ID and baud rate as well as a simple program Addressing PLCs on the CAN Bus can be configured as a master or as a slave The PLCs are assigned with a Node ID node number address in order to uniquely identify them with the basis communication To use the routing function to access a target PLC you must assign a further routing ID to the routing and target PLC...

Page 61: ... in the CanDevice in the CAN setting tab a figure 80 ID and baud rate are transferred with the project download Example In the following example which is based on Figure 81 the procedure for access to a PLC program is explained You have connected the PC to the PLC with node ID 2 and want to access the target PLC with routing ID 3 X Open the project of the target PLC whose program you wish to edit ...

Page 62: ...onfirm with OK X Log on and carry out the action PLC combinations for routing The following PLC support routing Number of communication channels Several communication channels can be opened e g PC n PLC 2 PC n PLC 3 in dependence on the PLC communication channel which is connected to the PC The status display of control 2 and 3 can be implemented simultaneously Table 14 Type and number of communic...

Page 63: ...s of the integrated XC100 interfaces on the RS232 are contacted in the function module they will not function as the control lines do not physically exist However these XC100_SysLibCom functions are implemented for reasons of compatibility With the XIOC SER hardware interface module the control lines are available and are operated via the SysComReadControl and SysComWriteControl function calls If ...

Page 64: ...opened the function returns a value greater than 0 X Enter this value with the following functions as the dwHandle parameter If a fault has occurred the feedback value is equal to 0 Transparent mode of the interface will not be enabled For operation of the serial interface the following parameters ENUMERATION types List types are available Baud rate for COM 1 COM 2 COM 3 Number of data bits Figure...

Page 65: ...mands placed on the functionality of the transparent mode 61 Selection of the parity Selection of the COM interface Number of stop bits Figure 85 Even uneven parity Figure 86 Selection of the COM interface Figure 87 Stop bits ...

Page 66: ...operated via this module and controlled with the TRUE command If the respective interface lines are parameterized with TRUE read write access is possible Parametric programming of the interface In the ComSettings module the complete interface parameters of the COM 2 or COM3 interface are deposited and stored These parameters are activated by the call up of the module and assigned to the respective...

Page 67: ... the TRUE return value when the action has been completed successfully Table 16 Parameters of the SysComClose function Figure 90 SysComOpen function Port Selection of the interface Parameter Specify the interface to be opened SysComOpen Return value 0 Return value 0 Opening of the RS232 interface was not successful Opening of the RS232 interface was successful Figure 91 SysComClose function dwHand...

Page 68: ...Handle Return value of the SysComOpen function SysComClose Return value TRUE Closing of the RS232 interface was successful dwBufferAddress Address under which the read data is stored dwBytesToRead Limitation of the max number of data bytes COM 1 max 190 bytes COM 2 3 max 250 bytes dwTimeout Parameter without meaning SysComRead Return value Informs you about the number of read data bytes h Caution ...

Page 69: ...nction Figure 93 SysComWrite function dwHandle Return value of the SysComOpen function dwBufferAddress Address under which the output data is stored dwBytesToWrite Number of data bytes to be sent COM 1 max 190 bytes COM 2 3 max 250 bytes dwTimeout Parameter without meaning SysComWrite Return value Informs you about the amount of sent data h Caution Test of the buffer address or the buffer size doe...

Page 70: ...e can be set with this function Table 19 Parameters of the SysComSettings function Figure 94 SysComSettings function dwHandle Return value of the SysComOpen function ComSettings Pointer which points to the memory range in which the interface parameter is stored SysComSetSettings Return value TRUE if the interface has been parameterized successfully otherwise FALSE ...

Page 71: ...3004Z EN Demands placed on the functionality of the transparent mode 67 Example The example opening a text output and closing of the RS232 interface with the XC100 Figure 95 Programming example for Transparent mode ...

Page 72: ...allows the SysComReadControl module read access to the control interface lines of the COM 2 and COM 3 interface Table 20 Parameters of the SysComReadContro function Figure 96 Read access to the control interface lines of the COM 2 or COM 3 interface dwHandle Return value of the SysComOpen function Control COM 1 Function discontinued COM 2 COM 3 TRUE read command on the control lines cables of the ...

Page 73: ...rface Table 21 Parameters of the SysComWriteControl function Automatic closing of the interface The transparent mode is automatically ended by the operating system with a PLC state change of the XC100 to STOP The interface is reinitialised with the interface parameters last used Figure 97 Write access to the control interface lines of the COM 2 or COM 3 interface dwHandle Return value of the SysCo...

Page 74: ...10 10 MN05003004Z EN 70 ...

Page 75: ... functionality V1 2 F V2 2 5 Rev B PRG default baud rate 57 6 kBit s Only V1 2 V2 3 1 PRG default baud rate 38 4 kBit s V1 3 V2 3 1 Multiple CAN users V1 3 V2 3 1 CAN Device V1 3 V2 3 1 Programming via CANopen Routing V1 3 V2 3 1 MMC access V2 0 V2 3 1 Interrupt functionality V2 0 V2 3 1 RS232 interface in Transparent mode V2 0 V2 3 1 Peripheral direct access V2 0 V2 3 1 CAN direct access V2 0 V2 ...

Page 76: ... 10 10 MN05003004Z EN 72 Dimensions XC CPU101 XT FIL 1 line filter Racks XIOC BP XC XIOC BP XC1 100 60 100 90 35 30 8 5 4 5 35 5 88 M 4 14 21 53 5 53 5 50 50 1 3 5 3 60 39 16 3 5 3 90 39 53 5 53 5 50 50 1 16 60 ...

Page 77: ...V 500 Emitted interference EN 50081 2 Class A Interference immunity EN 50082 2 Battery service life Worst case 3 years typ 5 years Weight kg 0 23 Dimensions W x H x D mm 90 x 100 x 100 Terminations Plug in terminal block Terminal capacity Screw terminals Flexible with ferrule mm 0 5 to 1 5 solid mm 0 5 to 2 5 Spring loaded terminals Flexible mm 0 14 to 1 0 solid mm 0 34 to 1 0 Electromagnetic comp...

Page 78: ...f load stable Yes Short circuit rating Yes Electrically isolated from supply voltage No CPU Microprocessor Infineon C164 Memory Program code C64K C128K C256K program code C64K C128K C256K kByte 64 128 256 Program data C64K C128K C256K kByte 64 128 256 Marker and or retain data C64K C128K C256K kByte 4 8 16 Cycle time for 1 k of instructions Bit Byte ms 0 5 Interfaces Multimedia card Yes optional 1...

Page 79: ...protection Yes Protection against polarity reversal Yes Digital inputs Input current per channel at nominal voltage mA type 3 5 Power loss per channel type 85 mW Switching levels as per EN 61131 2 Limit values type 1 low 5 V DC high 15 V DC Input delay Off r On ms type 0 1 On r Off ms type 0 1 Inputs Quantity 8 Channels with the same reference potential Quantity 8 Status indication LED Digital out...

Page 80: ...vervoltage category II Pollution degree 2 Degree of protection IP20 Rated impulse voltage V 850 Emitted interference EN 50081 2 Class A Interference immunity EN 50082 2 Weight g 95 Dimensions W x H x D mm 35 x 90 x 30 Terminations Screw terminal Terminal capacity Screw terminals Flexible with ferrule mm 0 2 to 2 5 AWG22 12 solid mm 0 2 to 2 5 AWG22 12 Power supply Input voltage V DC 24 Permissible...

Page 81: ...anel layout 17 CPU module 7 CRC checks 19 Create bootable project postOnline change 21 Creating a program sample project 54 Cycle time max 21 Cycle time monitoring 25 D Data remanence 41 Data transfer rate modification 12 Data saving 10 15 Declaration 54 Diagnostics 44 via CAN 57 Direct peripheral access Error code 33 E Electromagnetic contamination 17 EMPTY SLOT 52 Engineering 17 Erasing Boot pro...

Page 82: ...me clock 15 Reset 21 Residual cycle 41 RJ45 plug 12 RS232 interface 12 S Segments 42 Select POU type 50 Shielding 17 Single cycle mode 20 Single step mode 20 Start behaviour at Power On 21 Startup behaviour 19 20 Status indication easySoft CoDeSys 20 Stop behaviour 20 Supply interruption 41 Suppressor circuitry for interference sources 17 Switch off behaviour 20 Symbols 6 System libraries 25 Syste...

Reviews: