background image

 

544 

Jetter AG 

 

10  Programming 

 

FIFO data 

R 200010504 shows which of the messages boxes has received the latest 

new CAN message. Read access to R 200010504 removes the value which 

has been read last from the FIFO buffer. This access decrements the value of 

R 200010503 by one. 

Note:

 

Each read access to this register, even via an active JetSym setup screen, 

decrements the number of received CAN messages. 

 

Module register properties 

Values 

No FIFO data available: 

-1 

 

Number of the message box 

containing new data: 

 
0 ... 15

 

Type of access 

Read access removes 

characters 

 

Value after reset 

-1 

 

Takes effect 

When the CAN-Prim interface is enabled 

 

 

Global receiving mask 

The global receiving mask is for filtering the bits of the received CAN IDs. If 

the bit of the global receiving mask is set, the received bit of the CAN ID is 

compared with the global receiving ID as shown in R 200010507. 

 

Module register properties 

Values 

In the case of 11-bit CAN IDs 

0 ... 0x7FF 

 

In the case of 29-bit CAN IDs 

0 ... 0x1FFFFFFF 

Bit = 0 

Bit is not compared with R 200010507 

Bit = 1 

Bit is compared with R 200010507 

Takes effect 

When the CAN-Prim interface is enabled 

 

 

R 200010504 

R 200010506 

Summary of Contents for JC-120MC

Page 1: ...User Manual JC 120MC Controller 60880901 We automate your success...

Page 2: ...past a revised document will be supplied only if required by law or deemed appropriate by Jetter AG Jetter AG shall not be liable for errors in form or content or for missing updates as well as for d...

Page 3: ...ne Sales 49 7141 2550 433 Phone Technical Hotline 49 7141 2550 444 Fax Sales 49 7141 2550 484 E mail Sales sales jetter de E mail Technical Hotline hotline jetter de This User Manual is an integral pa...

Page 4: ...dress info jetter de Your feedback will help us produce manuals that are more user friendly as well as address your wishes and requirements This document contains important information on the followin...

Page 5: ...43 Serial interface port X11 44 Ethernet ports Female connectors X14 X15 47 4 2 CAN bus interface Female connector X19 48 Female connector X19 Pin assignment 49 Specification of the Y cable 51 JX2 sy...

Page 6: ...m bus 108 JX2 system bus topology 109 Power supply of JX2 I O modules 110 Power supply of JX2 slave modules 112 4 9 Connecting displays and HMIs 113 Overview of displays and HMIs 114 Connecting a disp...

Page 7: ...n program memory 202 Memory for volatile application program variables 203 Memory for non volatile application program registers 204 Memory for non volatile application program variables 205 Registers...

Page 8: ...ion Register description 270 10 3 6 Administrating the connections of the JetIP TCP and STX debug server 272 Automatic termination of connections 273 Register 275 10 3 7 Executing an ARP request 276 E...

Page 9: ...9 9 Monitor functions 364 Overview of displays and HMIs 365 Meaning of keys in monitor function 366 Displaying and changing variables 367 Configuring the monitor function 369 10 10 Controlling printer...

Page 10: ...10 13 2 Creating e mails 432 Name of the e mail template file 433 Structure of the e mail template file 434 Inserting real time controller values 436 10 13 3 Sending an e mail 441 10 13 4 Registers 4...

Page 11: ...for indirect access 552 Using the CAN Prim interface 556 Using CAN ID masks 559 RTR frames via CAN Prim interface 560 11 Automatic copying of controller data 562 11 1 Operating principle 564 Activati...

Page 12: ...tion Control 603 15 Quick reference JC 120 MC 605 Appendix 621 A Technical specifications 622 JC 120MC Technical data 623 Physical dimensions 625 Operating parameters Environment and mechanics 626 Ope...

Page 13: ...ructions This chapter informs the user of basic safety instructions It also warns the user of residual dangers if there are any Furthermore it contains information on EMC Topic Page Basic safety instr...

Page 14: ...you intend to operate the device at ambient conditions not being in conformity with the permitted operating conditions please contact Jetter AG beforehand Depending on the life cycle of the product th...

Page 15: ...ng as well as in apt protective packaging Use an appropriate outer packaging to protect the JC 120MC against impact or shock In case of damaged packaging inspect the device for any visible damage Info...

Page 16: ...0 The following line cables must be shielded Analog lines data lines motor cables coming from inverter drives servo output stage frequency converter lines between components and interference suppresso...

Page 17: ...wnload Application Note 016 EMC Compatible Installation of Electric Cabinets from the Jetter AG homepage http www jetter de In order to download Application Note 016 browse the following path Download...

Page 18: ......

Page 19: ...n of the device as well as how the order reference is made up including all options Topic Page Product description of the JC 120MC 20 Parts and interfaces of the controller JC 120MC 21 Order reference...

Page 20: ...vo axes with path control on the CAN bus a maximum of 6 servo axes is supported 2 Ethernet ports with integrated switch Powerful programming language JetSym STX Non volatile registers 60 000 option R...

Page 21: ...tem bus interface and CANopen bus interface 3 Backplane module For installing the module on a DIN rail 4 X119 Connector for additional JX3 modules 5 Module enclosure 6 DIN rail latch For removing the...

Page 22: ...R Path control Up to 12 servo axes R Additional memory option 120 000 non volatile registers Specify your desired options in the order The controller cannot be equipped with additional features after...

Page 23: ...ecifications Manual on the controller JC 120MC The document at hand CAD data of the controller JC 120MC dxf file with 2D illustrations stp file with 3D illustrations The following document and the fol...

Page 24: ...Version The following documents support you at installing the controller Installation manual It is included in the boxed controller JC 120MC and contains information on Installing the controller on a...

Page 25: ..._NEUT_WS Item no 60870411 Packaging unit 100 pcs Order reference DIV_BL_SL_3 5_KO_OR Item no 60870410 Order reference DIV_BL_3 5_ZE_8 Item no 60870963 Order reference DIV_CLIPFIX_35 Item no 60863970 T...

Page 26: ...here must be enough room to press the latches of the backplane module when replacing modules Minimum clearance above 30 mm Minimum clearance below 25 mm The width of the JC 120MC is 56 mm When the JC...

Page 27: ...s To be able to identify the JC 120MC the following prerequisites must be fulfilled The controller is connected to a PC The programming software JetSym 5 2 1 or higher is installed on the PC If you wi...

Page 28: ...nameplate is attached to the housing of the JC 120MC and contains details such as hardware revision number and serial number If you wish to contact the hotline of Jetter AG in case of a problem pleas...

Page 29: ...te The nameplate of a JC 120MC controller contains the following information S N 20080130060039 JC 120x x Part No 10000704 Rev 02 00 00 1 3 2 4 Number Description 1 Serial number 2 Controller name 3 H...

Page 30: ...C features an Electronic Data Sheet EDS Numerous production relevant data are permanently stored in the EDS The EDS data can be read out via files in the file system of the JC 120MC or via special reg...

Page 31: ...the corresponding module System JX3 ModuleXX This file is read only Formatting the flash disk or SD card does not influence this file The illustration below shows an example of the contents of the dir...

Page 32: ...6 Year 2015 TestNum 1 TestRev 255 255 255 255 FEATURES Version 1 MAC Addr 00 50 CB 00 00 00 Serial 1 Switch 1 STX 1 NVRegs 60000 JX3 bus 1 CAN 1 SD card 1 MotionControl 1 Axes 1 Web 1 ModbusTCP 1 SDL...

Page 33: ...fied The OS of the controller will ignore properties of missing entries in the file Name Example Function Version 1 Version of this section MAC Addr 00 50 CB 00 00 00 Ethernet MAC address Serial 1 The...

Page 34: ...ifying Name Example Function RTC 1 A real time clock is available Examples of EDS files for JX3 modules Please refer to the manual of the corresponding module EDS registers see page 35 Example JX3 mod...

Page 35: ...his you must select the controller or the desired JX3 module via module registers 500 and 501 The contents of the selected EDS are then displayed in the following registers Register Section in the EDS...

Page 36: ...NVRegs Number of remanent registers MR 807 JX3 bus Bus interface for JX3 modules MR 808 CAN Bus interface for JX2 modules MR 809 SD card SD card slot MR 810 MotionControl MC software MR 811 Axes Numb...

Page 37: ...hich can be used to read out the revision number of the hardware or the version of the operating system and its components If you wish to contact the hotline of Jetter AG in case of a problem please h...

Page 38: ...let you read out the hardware revisions Register Description 108020 Hardware revision of the backplane module 108021 Hardware revision CPU board 200170 Controller type The following screenshot shows a...

Page 39: ...he software versions Register Description 200168 Boot loader version 200169 Operating system version 210001 Version of the execution unit for the STX application program 200002000 Version of the JX2 s...

Page 40: ...40 Jetter AG 3 Identifying Hardware revisions see page 38 Related topics...

Page 41: ...ts Mechanical installation Connecting JX3 modules to the JC 120MC Connecting modules to the JX2 system bus Connecting displays and HMIs Topic Page Interfaces 42 CAN bus interface Female connector X19...

Page 42: ...nterface and lets you connect the following devices PC HMI by Jetter AG Any device The function of ports X14 and X15 are Ethernet interfaces and lets you connect the following devices Hub switch or ro...

Page 43: ...120MC and connected JX3 peripheral modules 0 V Reference potential Parameter Description Rated voltage DC 24 V Permissible voltage range 15 20 Input current without HMI 1 0 A max Power consumption 24...

Page 44: ...DB RS 422 transmit data not inverted RS 485 transmit receive data not inverted 6 DC 24 V HMI supply voltage 7 SDA RS 422 transmit data inverted RS 485 transmit receive data inverted 8 TxD RS 232 trans...

Page 45: ...of RS 485 1 Receiver Receives data Unused 2 Receiver transmitter Transmits data Receives and transmits data 3 Serial line Twisted line of the serial interface 4 RT Terminating resistor Connect a term...

Page 46: ...n Sub D length 5 m 60868956 Cable assy 196 8M JetControl to PC with 9 pin Sub D length 8 m 60860011 Cable assy 192 2 5M JetControl to HMI with 15 pin Sub D length 2 5 m 60860012 Cable assy 193 5M JetC...

Page 47: ...rnet port Parameter Description Type of terminal RJ45 Ethernet port Number of ports Two one port per connector Bit rate 10 MBit s 100 MBit s Cat 5e Auto crossover Yes For connecting devices to ports X...

Page 48: ...able CAN 2 lets you use the CANopen protocol To implement the functions of the CANopen protocol the CANopen STX API is used The CAN bus 1 JX2 system bus lets you connect the following devices JX2 I O...

Page 49: ...E1 Commissioning 5 Unused 6 CAN L_2 Data signal for CAN bus 2 7 CAN H Data signal for CAN bus 1 8 CAN H_2 Data signal for CAN bus 2 9 Unused Parameter Description Type of terminal Sub D connector Numb...

Page 50: ...9002 Cable assy 530 0 5 m 10309003 Cable assy 530 1 0 m 10309004 Cable assy 530 1 5 m 10309006 Cable assy 530 2 0 m 10309016 Cable assy 530 2 5 m 10309015 Cable assy 530 3 0 m 10309007 Cable assy 530...

Page 51: ...1 1 1 2 2 2 3 3 3 4 4 4 5 5 5 6 6 6 7 7 7 8 8 8 9 9 9 Number Element Description 1 Male sub D connector 9 pin For connection to BUS OUT 2 Female sub D connector 9 pin For connection to BUS IN CAN 1 3...

Page 52: ...a signal CAN 1 8 CAN H_2 Data signal CAN 2 Pinout of the 9 pin female Sub D connector CAN 1 on the Y cable Pin Signal name Description 1 CMODE0 Commissioning 2 CAN L Data signal CAN 1 3 GND Reference...

Page 53: ...Resistivity 1 000 kBaud 70 km max 500 kBaud 60 km max 250 kBaud 60 km max 125 kBaud 60 km max Number of cores 5 Shielding Complete shielding no paired shielding Twisting Core pairs CAN L and CAN H are...

Page 54: ...AN L Data signal 3 GND Reference potential 4 CMODE1 Commissioning 5 TERM Short circuited with pin 3 7 CAN H Data signal Pinout of the 9 pin female Sub D connector to the JX2 system bus cable Pin Signa...

Page 55: ...ollow the rules listed below Each non intelligent JX2 I O module connected to the system bus reduces the maximum line length by 1 0 m Each connected intelligent JX2 I O slave module reduces the maximu...

Page 56: ...and errors of the controller 4 LEDs for indicating user defined events 4 LEDs for indicating the conditions of the Ethernet ports Topic Page LEDs of the controller 57 LEDs of the controller during bo...

Page 57: ...Green OS is running E Red Generic error D1 Red Special conditions D2 Red Boot loader is running SD Amber Access to SD card Application specific LED Color Description U1 Amber Programmable depending on...

Page 58: ...ror 1Hz No valid OS 4Hz Reset fatal error or checking the network consistency ON Error refer to error register D1 OFF Normal operating condition 1Hz Automatic IP configuration or AutoCopy function is...

Page 59: ...then indicate the following Step Description 1 R E D1 D2 State 4Hz 4Hz 4Hz 4Hz Reset 2 R E D1 D2 State 1Hz OFF OFF ON Boot loader is running and is checking the OS 3 R E D1 D2 State 1Hz OFF OFF OFF Th...

Page 60: ...The second half of the start delay is in progress 6 R E D1 D2 State 1Hz ON ON OFF The OS initializes the modules on the JX3 and JX2 system bus as well as software features Web Modbus TCP etc then it l...

Page 61: ...ts that its IP address is already used on the network it takes the following actions The controller sets bit 24 in R 200009 The controller sets bit 7 in R 200008 This is the collective error bit of R...

Page 62: ...interface are located in the immediate vicinity of the RJ45 ports X14 X15 ETHERNET LED Color Description X14 1 Green LINK Network connection has been established X14 2 Amber ACT Data transmission X15...

Page 63: ...he JC 120MC is equipped with the following controls Mode selector S11 with the following positions RUN STOP and LOAD The JC 120MC is equipped with a slot for SD memory cards Topic Page Function descri...

Page 64: ...the position of selector S11 If then mode selector S11 RUN or STOP the OS is launched proceed with step 4 selector S11 LOAD position and an SD card has been inserted the OS is launched proceed with s...

Page 65: ...C 120MC Mechanical and electrical installation Step Description 5 If then the position of mode selector S11 is changed once the controller has been turned on this has no effect on the functioning of t...

Page 66: ...ype Standard SD card Mechanical operation push push Maximum memory size 32 MB 32 GB Card format FAT Protection against inserting the SD card in the wrong direction Yes Insert the SD card into the SD s...

Page 67: ...SD card is not accessed while you are removing it First close all files which are stored to the SD card Remove the SD card the same way as you do it with digital cameras After removing the SD card th...

Page 68: ...d removing the module This chapter covers mounting replacing and removing of controllers belonging to the JetControl 120 series Topic Page Installing the JC 120MC on a DIN rail 69 Replacing the contro...

Page 69: ...as follows Step Action 1 Place the controller on the upper edge of the DIN rail 2 Move the controller in the direction of the arrows until it snaps into place 3 Installation of the controller on the D...

Page 70: ...s retained on the backplane module IP address Subnet mask Gateway DNS server To remove the JC 120MC from the backplane module proceed as follows Step Action 1 Remove power from the JX3 station 2 Press...

Page 71: ...follows Step Action 1 Slide the controller onto the backplane module until the latches snap into place 2 Installation of the controller to the backplane module is now completed Installing the JC 120MC...

Page 72: ...from the JX3 station 2 Slide the controller to the left By doing so the backplane module is disconnected from the JX3 peripheral modules 3 Pull down the right DIN rail latch using a flat bladed screw...

Page 73: ...etworks is required such as IP addressing IP address port number subnet masks etc FTP connection setup data transmission etc Topic Page Factory settings 74 The configuration memory 75 The configuratio...

Page 74: ...he controller 192 168 1 1 Subnet mask 255 255 255 0 IP address of default gateway 0 0 0 0 IP address of DNS server 0 0 0 0 Controller name JetControl120MC IP port number for debugger 52000 IP port num...

Page 75: ...ges take effect Before the controller further processes data from the configuration memory it checks them for plausibility If entries are invalid or absent the controller uses the following default va...

Page 76: ...r the SD card leaves the file unchanged The configuration file is a text file the entries of which are grouped into several sections The controller replaces missing IP configuration parameters by thei...

Page 77: ...1 and 0 mixed In the event of an illegal value JC 120MC resets all four values to their defaults DefGateWay In the given example 192 168 50 11 Description IP address of the gateway to other subnets Th...

Page 78: ...In the given example JetControl120MC Description Specifies the name of the JC 120MC Allowed values First character A Z a z Next characters A Z a z 0 9 In the event of an illegal value JetControl120MC...

Page 79: ...sponding entries 2 Open an FTP connection between the PC and the JC 120MC 3 Log in as user with administrator or system rights Default login information User admin Password admin User system Password...

Page 80: ...of both ranges as well as their connection to the entries in the configuration file System config ini Register Section in config ini Name in config ini Description MR 0 IP Address IP address of the c...

Page 81: ...the following ways Default IP address Configuration via file config ini Configuration via file config ini and DIP switch Configuration via the configuration registers Configuration during runtime via...

Page 82: ...120MC has got default IP address 192 168 10 15 You may change the IP address of the JC 120MC to its default IP address at any time To set the module to its default IP address 192 168 10 15 move the D...

Page 83: ...Fourth byte of IP address The following DIP switch settings cause the controller JC 120MC to read out the IP address from the file config ini ON 1 2 3 4 5 6 7 8 9 10 11 12 Step Action 1 Establish an...

Page 84: ...for entering the upper 3 bytes of the IP address aaa First byte of IP address bbb Second byte of IP address ccc Third byte of IP address 1 Dummy entry must have got value one The following DIP switch...

Page 85: ...the JC 120MC 2 Log in as user with administrator or system rights Default login information User admin Password admin User system Password system 3 Open the folder System 4 Copy the file config ini in...

Page 86: ...IP address of DNS server 101232 Host name suffix type 101233 through 101251 Host name 101264 Port number for JetIP 101265 Port number for STX debugger 101280 through 101298 Name for AutoCopy command f...

Page 87: ...following steps The controller creates a configuration file out of the values It saves the configuration file to the backplane module as System config ini If you have entered comments and formatting...

Page 88: ...alid This can be ensured e g by including a validity check in the application program This is important because there is no check if you set the parameters during runtime of the controller Register De...

Page 89: ...n controller makes the corresponding changes in the set IP configuration in the network node Set the IP address in the configuration file config ini IP Address aaa bbb ccc ddd Element Description Addr...

Page 90: ...90 Jetter AG 4 Mechanical and electrical installation DIP switch GNN ON ON OFF OFF OFF OFF OFF OFF 3 ON ON ON OFF OFF OFF ON ON 199 Invalid ON ON ON ON ON ON ON ON Invalid...

Page 91: ...name instead of an IP address 4 Based on this translation table the JC 120MC tries to resolve the name into a related IP address If then the JC 120MC has resolved the name proceed with step 6 the JC 1...

Page 92: ..._demo 192 168 1 1 JC340 192 168 1 2 JC350 If a name cannot be found in the file etc hosts the JC 120MC tries to obtain the corresponding IP address from a DNS server During boot up the JC 120MC reads...

Page 93: ...n consists of a JX3 BN xxx bus node or a JC 120MC controller and JX3 peripheral modules connected to it The possible number of JX3 modules depends on the following parameters Maximum number of JX3 mod...

Page 94: ...xx The JX3 system bus configurator assists you in detecting limitations through engineering a real JX3 station In this case enter the amount of your JX3 modules into an Excel file The JX3 system bus c...

Page 95: ...odules which are directly connected to a JC 120MC or a JX3 BN ETH is too high Insert a JX3 PS1 into your JX3 station JX3 BN CAN The power consumption of the JX3 modules which are directly connected to...

Page 96: ...hanical and electrical installation Topic Page Limitations of the maximum number of modules 97 Limitations of the modules data exchange rates 98 Limitation depending on the power consumption of the mo...

Page 97: ...2 5 13 6 14 7 15 8 16 0V 0V 13 9 1 R 14 10 6 2 E 15 11 7 3 D1 16 12 8 4 D2 JX3 DI16 5 X21 X22 1 9 2 10 3 11 4 12 5 13 6 14 7 15 8 16 0V 0V 13 9 1 R 14 10 6 2 E 15 11 7 3 D1 16 12 8 4 D2 JX3 DI16 5 X21...

Page 98: ...JX3 peripheral modules in a JX3 system is limited The following table lists the factors for input and output data Add the input factor of all modules used and calculate the aggregated input factor Ad...

Page 99: ...2 JX3 DI16 and 8 JX3 AI4 modules are connected to a controller JC 120MC 2 JX3 DI16 with input factor 4 makes 8 8 JX3 AI4 with input factor 10 makes 80 aggregated factor is 88 3 Calculate the aggregate...

Page 100: ...0V R E D1 D2 JX3 AO4 X51 X52 1 9 2 10 3 11 4 12 5 13 6 14 7 15 8 16 0V 0V R E D1 D2 JX3 AO4 X51 X52 1 9 2 10 3 11 4 12 5 13 6 14 7 15 8 16 0V 0V R E D1 D2 JX3 AO4 X51 X52 1 9 2 10 3 11 4 12 5 13 6 14...

Page 101: ...t can be connected to one JX3 station Depending on the power consumption you must equip the JX3 station with additional power supply modules JX3 PS1 The following table shows the allowed power consump...

Page 102: ...X3 PS1 power supply module upstream the next JX3 module the allowed power consumption P24V has been reached insert a JX3 PS1 power supply module upstream the next JX3 module 8 JX3 modules have been co...

Page 103: ...C 120MC Then insert a JX3 PS1 Then you can connect the remaining 6 JX3 AO4 to this JX3 PS1 6 Determine the current consumption of the JX3 module JX3 THI2 RTD given in the technical data Current consum...

Page 104: ...E D1 D2 JX3 AO4 X51 X52 1 9 2 10 3 11 4 12 5 13 6 14 7 15 8 16 0V 0V R E D1 D2 JX3 AO4 X51 X52 1 9 2 10 3 11 4 12 5 13 6 14 7 15 8 16 0V 0V R E D1 D2 JX3 AO4 X51 X52 1 9 2 10 3 11 4 12 5 13 6 14 7 15...

Page 105: ...X3 PS1 Jetter POWER X10 0V DC24V 0 5A R E D1 D2 JX3 AO4 X51 X52 1 9 2 10 3 11 4 12 5 13 6 14 7 15 8 16 0V 0V R E D1 D2 JX3 AO4 X51 X52 1 9 2 10 3 11 4 12 5 13 6 14 7 15 8 16 0V 0V R E D1 D2 JX3 AO4 X5...

Page 106: ...e JX2 system bus of a JC 120MC JX2 I O modules JX2 slave modules Servo amplifiers JetMove 1xx JetMove 2xx and JetMove 6xx IP67 I O modules LioN S and LJX7 CSL JX SIO and Smart I O The following third...

Page 107: ...2 system bus This chapter gives a description of the physical structure of the JX2 system bus Topic Page Line length and baud rate of the JX2 system bus 108 JX2 system bus topology 109 Power supply of...

Page 108: ...ow the rules listed below Each non intelligent JX2 I O module connected to the system bus reduces the maximum line length by 1 0 m Each connected intelligent JX2 I O slave module reduces the maximum l...

Page 109: ...10 3 11 4 12 5 13 6 14 7 15 8 16 0V 0V R E D2 JX3 AI4 X41 X42 I1 I3 U1 I1 U3 I3 0V 0V SHLD SHLD U2 U4 I2 I4 U2 I2 U4 I4 0V 0V SHLD SHLD R E D2 JX3 AO4 X51 X52 I1 I3 0V 0V 0V 0V SHLD SHLD U2 U4 I2 I4...

Page 110: ...CNT1 JX2 SER1 JX2 PRN1 The JX2 IO16 does not require an external power supply One power supply module JX2 PS1 can directly supply up to five JX2 I O modules Number Part Description 1 IN JX2 system bu...

Page 111: ...o three JX2 I O modules Number Part Description 1 IN JX2 system bus cable connecting to the controller 2 JX2 IO16 Input output module 3 JX2 I O A maximum of three JX2 I O modules equipped with various...

Page 112: ...eft of it A heterogeneous JX2 station comprises of JX2 slave modules and JX2 I O modules Modules of a JX2 station must be installed from left to right in the following order Power supply module JX2 PS...

Page 113: ...alphanumeric displays and HMIs to the JC 120MC Topic Page Overview of displays and HMIs 114 Connecting a display or HMI 115 Connecting several displays or HMIs Multi display mode 116 Multi display mo...

Page 114: ...characters each 5 function keys Cursor keypad Clear ENTER JC DK Xm LCD 34 2 lines of 24 characters each 5 function keys Numeric keypad JC DK Xm LCD 52 4 lines of 16 characters each 6 function keys Nu...

Page 115: ...terface to jack X11 To do so apply connections to interface standard RS 422 R E D2 JC 350 Jetter X14 X15 BUS OUT X19 X61 ETHERNET SD CARD X11 S11 SER RUN STOP LOAD POWER X10 0V DC24V 1 5A Irrespective...

Page 116: ...ontents Connect the display or HMI via serial interface to X11 This port supports the interface standard RS 422 Jetter X14 X15 BUS OUT X19 X61 ETHERNET SD CARD X11 S11 SER RUN STOP LOAD POWER X10 0V D...

Page 117: ...everal displays or HMIs to a controller Assemble the cables for multi display mode according to the following block diagram SDB RDB RDB RDB RDB Signal Signal Signal Signal Signal 5 Pin SDA RDA RDA RDA...

Page 118: ...ized housing of the connector 3 Power supply If several displays and HMIs are used each of them must be individually connected to the power supply 4 7 Terminals Interfaces of displays and HMIs The fol...

Page 119: ...ity grade 3 Manufacturer Various manufacturers Recommended core cross section 0 25 0 128 mm 2 For information on cable specification refer to the list below Number of cores 6 Recommended core cross se...

Page 120: ...SDA 5 The interface cable JC DK Xm is prefabricated and available in the following lengths Item no Item Description 60860011 Cable assy 192 2 5M JetControl to HMI with 15 pin Sub D length 2 5 m 60860...

Page 121: ...quality grade 3 Manufacturer Various manufacturers Recommended core cross section 0 25 0 128 mm 2 For information on cable specification refer to the list below Number of cores 5 Recommended core cro...

Page 122: ...ea A metallized housing is required Pin Signal Pin 2 GND 5 5 SDB RDB 13 7 SDA RDA 12 3 RDB SDB 15 1 RDA SDA 14 Short circuited 11 10 The interface cable KAY_0386 xxxx is prefabricated and available in...

Page 123: ...lized housing quality grade 3 Manufacturer Various manufacturers Recommended core cross section 0 25 0 128 mm 2 For information on cable specification refer to the list below Number of cores 6 Recomme...

Page 124: ...with the greatest possible surface area A metallized housing is required Pin Signal Pin 6 24 V DC 4 2 GND 7 5 SDB RDB 10 7 SDA RDA 11 3 RDB SDB 12 1 RDA SDA 13 The interface cable KAY_0533 0025 is pr...

Page 125: ...e hardware of a JX3 station and installing it Configuring the software in JetSym Creating and executing a program to set and reset output 9 of the peripheral module JX3 DIO16 For initial commissioning...

Page 126: ...ontroller is powered up the application program will not be launched Following a correct commissioning the LEDs are lit as follows R SD U1 U3 U4 U2 E D1 D2 JC 3xx Jetter LED State Description R 1Hz Lo...

Page 127: ...e keyboard shortcut Alt 5 Open the window for controller configuration by double clicking the folder CPU in the Hardware Manager Select the controller type JC 120MC 4 Enter the following information I...

Page 128: ...conds Var Count Int End_Var Task Increment Autorun Loop Inc Count Delay T 2s End_Loop End_Task The JetSym setup window displays the content of the variable Number Description Function 1 Present conten...

Page 129: ...et cable to connect the controller JC 120MC and the PC 4 Set an IP address at the controller JC 120MC For more information refer to chapter IP configuration see page 73 5 On the PC set an IP address w...

Page 130: ...0V 0V 0V 0V SHLD SHLD 13 9 1 R 14 10 6 2 E 15 11 7 3 16 12 8 4 D2 JX3 DIO16 5 X21 X32 1 9 2 10 3 11 4 12 5 13 6 14 7 15 8 16 0V 0V 13 9 1 R 14 10 6 2 E 15 11 7 3 16 12 8 4 D2 JX3 DI16 5 X21 X22 1 9 2...

Page 131: ...icking on the tab Hardware with the mouse or by pressing Alt 5 on your keyboard Result 4 Connect the following Jetter AG products with the PC via Ethernet system bus Controller Peripheral modules 5 Sw...

Page 132: ...hardware scan applies to the whole IP subnet Therefore enter at least the first three elements of the IP address In this example the IP address of the controller JC 120MC is 192 168 10 16 To detect t...

Page 133: ...rrently set hardware 9 In the window Scanned Hardware click the name of the controller In this example it is JC 350 The Hardware Manager has the tree of the controller JC 350 displayed in the bottom w...

Page 134: ...14 Enter the program shown below 15 Upload the program to the controller LED 9 of the peripheral module JX3 DIO16 will be flashing This output will be refreshed every 5 seconds Output 9 of the module...

Page 135: ...ed by the operating system Files which are at the user s disposal The system directories cannot be deleted System directories even survive formatting Directory Description System System configuration...

Page 136: ...pply to the internal flash disk and the SD card 8 files max to be opened simultaneously Separate directory names by a slash not by a backslash When the controller creates a file the file contains date...

Page 137: ...rive has got the following properties Up to 7 directory levels and 1 file level are allowed Differentiation between upper and lower case Directory and file names with a length of up to 63 characters a...

Page 138: ...memory card has got the following properties The SD memory card must be compatible with FAT 16 or FAT 32 Directory and file names of 260 characters length max can be used Differentiation between uppe...

Page 139: ...umeric characters Password length 31 alphanumeric characters Number of keys for read access 31 Number of keys for write access 31 Number of predefined keys 2 You can make settings for user administrat...

Page 140: ...140 Jetter AG 6 File system Topic Page Administration of users 141 As delivered condition Predefined users and keys 143 Assigning locks 144 Assigning names to keys locks 146 Contents...

Page 141: ...ed file to the device 5 Reboot the device Result The changed user administration settings are now enabled This configuration file is a text file the entries of which are grouped into several sections...

Page 142: ...racters In case of missing entry The user is allowed to log in without password READKEYS In the given example 5 openLock2 10 11 Description Keys for read access read keys Allowed values 1 31 or corres...

Page 143: ...12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 SYSKEYS USER33 NAME system PW system READKEYS 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 WRITEKEYS 2...

Page 144: ...log in with administrator rights 2 Open the file System flashdisklock ini 3 Adjust the file entries 4 Save the changed file to the device 5 Reboot the device Result A lock is assigned to this directo...

Page 145: ...se the following lock numbers The valid lock numbers are 0 31 Lock number 0 No lock is assigned to this directory You can access this directory without any special permissions You can use numbers or p...

Page 146: ...eboot the device Result The names are available now The names are now available and can be used when assigning locks and managing user accounts This configuration file is a text file containing one se...

Page 147: ...Jetter AG 147 JC 120MC File system For names the following definitions are true A maximum of 15 alphanumeric characters Lock and key have the same name Names for Locks Keys...

Page 148: ...ewing the flash disk capacity used You can view the application scope of the internal flash disk Details on the allocation of the application scope are given in this chapter Topic Page Flash disk capa...

Page 149: ...ked 0 free 0 Track 12 sectors 128 used 128 blocked 0 free 0 Track 13 sectors 128 used 128 blocked 0 free 0 Track 14 sectors 128 used 128 blocked 0 free 0 Track 15 sectors 128 used 128 blocked 0 free 0...

Page 150: ...8 used 0 blocked 0 free 128 Track 49 sectors 128 used 0 blocked 0 free 128 Track 50 sectors 128 used 0 blocked 0 free 128 Track 51 sectors 128 used 0 blocked 0 free 128 Track 52 sectors 128 used 0 blo...

Page 151: ...of a track Total sectors Overall statistical data of the sectors Used Total number of used bytes Blocked Total number of blocked bytes Free Total number of available bytes Total Total size of the fla...

Page 152: ...S update for a controller an HMI or an I O module as well as access to the application program can be carried out via file system For a detailed description on this topic refer to the following chapte...

Page 153: ...boots up the OS system checks the content of the control register The control register is part of the file system Depending on the value contained in this register the following functions are carried...

Page 154: ...user area will be deleted Formatting will not affect system files and directories To have the device format the internal flash disk proceed as follows Step Action 1 Switch the device ON 2 Enter value...

Page 155: ...SD card will be deleted To have the device format the SD card proceed as follows Step Action 1 Switch the device ON 2 Enter value 748362163 0xd364e64d into the control register 202936 of the file syst...

Page 156: ...eral minutes To have the device check the SD card proceed as follows Step Action 1 Switch the device ON 2 Enter value 748371092 0x2c9b3c94 into the control register 202936 of the file system 3 Switch...

Page 157: ...nt which tries to connect with the FTP server will get no response to its request for establishing a connection The FTP server supports standardized commands For more information refer to FTP server h...

Page 158: ...device As User Name enter your user name e g admin As Password enter your password e g admin The factory settings include two user accounts USER1 NAME admin PW admin USER33 NAME system PW system The...

Page 159: ...the FTP client by opening a connection and entering the IP address Log in as user admin with password admin Displaying the content of the current directory using dir Transferring the file jetter1 jpg...

Page 160: ......

Page 161: ...stems is required The IP address of the FTP server must be known If the IP address of the FTP server is not known name resolution through a DNS server must be possible User name and password for loggi...

Page 162: ...connections While the controller is processing one of the functions of the FTP client tasks supporting the FTP client should not be stopped through TaskBreak or restarted through TaskRestart Otherwise...

Page 163: ...nction is used and its return value assigned to a variable for further utilization in the following way Result FtpInitialize The controller processes this function in the following steps Step Descript...

Page 164: ...in If the return value was positive the connection could be established and login was successful If the return value was 0 an error occurred and the connection could not be established Return value 0...

Page 165: ...not elapsed yet proceed with step 1 an error has occurred or the timeout has elapsed the function is terminated and value 0 is returned 3 The controller logs on to the FTP server with its user name Ad...

Page 166: ...unction parameters Parameter Value Remarks FtpConnection Handle Value returned by the function FtpConnect The following return values are possible Return value 0 Connection terminated and deleted 1 In...

Page 167: ...me Name of the file in the file system of the FTP server which the controller is to read ClientFile File name File name as which the controller is to save the file read in the local file system If the...

Page 168: ...writes the contents to the file LocalTestFile txt 4 If then no errors have occurred the file has been copied successfully the function is terminated and value 0 is returned errors have occurred the f...

Page 169: ...h the FTP server is to save the written file ClientFile File name Name of the file in the local file system the content of which the controller is to send to the FTP server If the returned value is ne...

Page 170: ...server writes the contents to the file ServerTestFile txt 4 If then no errors have occurred the file has been copied successfully the function is terminated and value 0 is returned errors have occurre...

Page 171: ...e no response from FTP server 3 Error message from FTP server for example file does not exist In the following cases the task is not processed further after issuing the function call The FTP server mu...

Page 172: ...LocalTestFile txt If the file system of the remote network node supports this the function parameter for the file located on the FTP server can also contain the path to this file Otherwise the direct...

Page 173: ...1 Invalid handle 2 Communication error there is for example no response from FTP server 3 Error message from the FTP server e g directory does not exist In the following cases the task is not processe...

Page 174: ...mplete path including several subdirectories leading to this directory If this feature is not supported the user must navigate from one directory level to the next until the desired directory is reach...

Page 175: ...o error 1 Invalid handle 2 Communication error there is for example no response from FTP server 3 Error message from FTP server e g directory already exists In the following cases the task is not proc...

Page 176: ...ne using the command FtpDirChange The file system of a JC 120MC supports both options If you specify a directory with the corresponding path as function parameter all directories up to the directory y...

Page 177: ...error 1 Invalid handle 2 Communication error there is for example no response from FTP server 3 Error message from the FTP server e g directory does not exist In the following cases the task is not pr...

Page 178: ...the complete path including several subdirectories leading to this directory If this feature is not supported the user must navigate from one directory level to the next until the desired directory i...

Page 179: ...ed by the function FtpConnect str String address Current directory with path specification If the returned value is negative an error has occurred If the returned value is 0 the current directory coul...

Page 180: ...e controller sends a command to the FTP server that it has to determine the current directory 2 The FTP server transmits the actual directory with path specification 3 If then no errors have occurred...

Page 181: ...oller which contain status information of the FTP client These registers can be used for debugging or diagnostic purposes However they can t be used for other functions such as establishing or termina...

Page 182: ...e g MR 002 To determine the complete register number add to this module register number the basic register number of the corresponding device for example 320000 FTP client module registers Overview R...

Page 183: ...this register write the timeout of the FTP client at accessing the FTP server Module register properties Values 0 2 147 483 647 in seconds Value after reset 20 Port number of the FTP server The value...

Page 184: ...register properties Values 0 2 147 483 647 IP address of the FTP server The value in this register shows the IP address of the FTP server Module register properties Access Read Takes effect if MR 004...

Page 185: ...t of FTP client Module register properties Values 0 No access at the moment 1 Parameters are being handed over to the FTP client of the controller 2 The FTP client communicates with the FTP server 3 A...

Page 186: ......

Page 187: ...tml The following file types are supported htm html shtml txt ini gif tif tiff bmp wbmp jpg jpe jpeg png xml js jar java class cab ocx pdf zip doc rtf css wml wmlc wmls wmlsc ico svg On the controller...

Page 188: ...of the HTML page the Data tags are specified When the HTML page is uploaded to the browser the HTTP server once replaces the Data tags by actual real time controller values To refresh the controller...

Page 189: ...jetter de ssi jetcontrol with NS representing the namespace The namespace is a character string with a maximum length of 63 characters The namespace introduced here will be re used for the subsequent...

Page 190: ...mple how the value of a variable is to be displayed name Function Variable name Comments Code letter followed by the variable number Example name R1000023 type Description Variable type of notation Ex...

Page 191: ...hexadecimal INTB Integer binary BOOL Register content 0 Display 0 Register content 0 Display 1 REAL Floating point decimal STRING Text register Example JC DTAG name R1000250 type REAL format 0 factor...

Page 192: ...Display OFF Input 1 Display ON Example JC DTAG name I100000308 type STRING Result The state of input 100000308 is displayed as string ON or OFF The variable name begins with a capital O followed by t...

Page 193: ...to add a constant value or another register content to the pointer register value Examples JC DTAG name PR1000300 100 Result The content of the register is displayed whose number results from the addi...

Page 194: ...the content of register 1000100 JC DTAG name PO1000300 100 Result The state of the output is displayed whose number results from the addition of the content of register 1000300 and the value 100 JC DT...

Page 195: ...0x JC DTAG name R201000 type INTX format 0 or rather this way JC DTAG name R201000 type BOOL if only Boolean is queried Binary notation is also an option JC DTAG name R201000 type INTB format b nbsp...

Page 196: ......

Page 197: ...Sym programming software has been installed on the PC Topic Page Abbreviations module register properties and formats 198 Memories Overview 199 Register and I O numbers with a JC 120MC 211 Jetter Ethe...

Page 198: ...ollowing default properties Module register properties Default property for most module registers Access Read write Value after reset 0 or undefined e g release number Takes effect Immediately Write a...

Page 199: ...CPU or in separate memory or I O modules This chapter gives an overview of the available memory Topic Page Operating system memory 200 File system memory 201 Application program memory 202 Memory for...

Page 200: ...e the OS can be executed immediately after the device is powered up Internal flash memory for storing OS data Internal volatile RAM for storing OS data The user is not allowed to directly access the O...

Page 201: ...volatile Slow access Milliseconds up to seconds A limited number of write erase cycles approx 1 million Internal flash disk size 24 MB SD card size 32 MB 32 GB By operating system By JetSym Via FTP c...

Page 202: ...d is stored to it Stored as file within the file system Default directory app Files may also be stored to other directories or on SD card By operating system By JetSym Via FTP connection By means of f...

Page 203: ...ich need not be maintained when the JC 120MC is de energized Global variables which are not assigned to permanent addresses not VL or RL Local variables Variables are stored in a compact way Variables...

Page 204: ...permanent addresses VL Register variables always occupy 4 bytes Register variables are not initialized by the operating system Number of register variables 60 000 120 000 with option R Register number...

Page 205: ...tained when the JC 120MC is de energized Global variables which are assigned to permanent registers RL Variables are stored in a compact way Size 240 000 bytes 480 000 with option R Register numbers 1...

Page 206: ...les which are assigned to permanent addresses VL Type depending on the module Register numbers on JX3 system bus 100020000 100179999 Register numbers on JX2 system bus 200002000 100019999 By JetSym By...

Page 207: ...bal variables which are assigned to permanent addresses VL Integer registers Slow access Milliseconds Limited number of write erase cycles Approx 10 000 Number of registers 128 Register numbers 108100...

Page 208: ...riables which are assigned to permanent addresses VL When the operating system is launched special registers are initialized using default values Register numbers 100000 999999 By JetSym By the e mail...

Page 209: ...igned to permanent addresses IX QX Located on modules connected to the JX2 or JX3 system bus I O numbers on the JX3 system bus 100000201 100001716 I O numbers on the JX2 system bus 200000201 200002416...

Page 210: ...on volatile Overlaid by registers 1000000 1000055 Amount 1 792 Flag numbers 256 2047 Global variables which are assigned to permanent addresses MX When the operating system is launched special flags a...

Page 211: ...p You want to read or write to a digital output in the JetSym setup You want to declare a digital input or output a variable in the JetSym application program You want to declare a digital input or ou...

Page 212: ...ers e g controllers bus nodes within an Ethernet network The GNN within a network has to be unambiguous for each Jetter device The JetSym Hardware Manager automatically assigns the GNN during configur...

Page 213: ...node has got the ID GNN 001 Number Element Description 1 Register number Supports direct access 2 Bus node ID GNN 001 ID of the first JX3 BN ETH 3 Module number 02 The first JX3 I O module connected t...

Page 214: ...DC24V 1 2A 13 9 1 R 14 10 6 2 E 15 11 7 3 16 12 8 4 D2 JX3 DIO16 5 X21 X32 1 9 2 10 3 11 4 12 5 13 6 14 7 15 8 16 0V 0V 13 9 1 R 14 10 6 2 E 15 11 7 3 16 12 8 4 D2 JX3 DIO16 5 X21 X32 1 9 2 10 3 11 4...

Page 215: ...z z Element Description Value range xx Slave module number 10 12 27 zzz Module register number 000 999 Several JM 200 drives are connected to a JC 120MC controller 13 9 1 R 14 10 6 2 E 15 11 7 3 D1 16...

Page 216: ...z z Element Description Value range xx Module specific I O module number 02 24 zz Module specific I O number 1 16 Several JX2 I O modules are connected to a JC 120MC controller 13 9 1 R 14 10 6 2 E 1...

Page 217: ...tem bus of a JC 120MC consist of the following elements 2 0 0 0 0 x x z z Element Description Value range xx Module specific I O module number 02 24 zz Module specific I O number 1 16 Several IP67 I O...

Page 218: ...nsist of the following elements 2 0 0 0 0 x x z z Element Description Value range xx Module specific I O module number 70 79 zz Module specific I O number 1 64 A CANopen module is connected to a JC 12...

Page 219: ...the JX3 BN ETH on the Ethernet system bus 001 199 xx Number of the module within the JX3 station 02 17 zzzz Module register number 0000 9999 The I O number for JX3 modules connected to an Ethernet bu...

Page 220: ...12 8 4 D2 JX3 DIO16 5 X21 X32 1 9 2 10 3 11 4 12 5 13 6 14 7 15 8 16 0V 0V 13 9 1 R 14 10 6 2 E 15 11 7 3 16 12 8 4 D2 JX3 DIO16 5 X21 X32 1 9 2 10 3 11 4 12 5 13 6 14 7 15 8 16 0V 0V R E D2 JC 350 J...

Page 221: ...1 9 2 10 3 11 4 12 5 13 6 14 7 15 8 16 0V 0V 13 9 1 R 14 10 6 2 E 15 11 7 3 16 12 8 4 D2 JX3 DIO16 5 X21 X32 1 9 2 10 3 11 4 12 5 13 6 14 7 15 8 16 0V 0V 13 9 1 R 14 10 6 2 E 15 11 7 3 16 12 8 4 D2 J...

Page 222: ...ork Data exchange Properties Cyclic implicit Architecture Publish subscribe Participants Controllers bus nodes and communication modules Access Automatically by OS Access time Fast deterministic Data...

Page 223: ...C 310 JM V 1 22 0 00 JC 120MC V 1 26 1 00 JX3 BN ETH V 1 18 0 02 JX3 COM EIPA V 1 01 0 00 JX3 COM PND V 1 03 0 06 JM 200 ETH V 1 22 0 00 JetSym V 5 1 2 Topic Page The Global Node Number 224 Acyclic da...

Page 224: ...6 5 X21 X22 1 9 2 10 3 11 4 12 5 13 6 14 7 15 8 16 0V 0V 13 9 1 R 14 10 6 2 E 15 11 7 3 D1 16 12 8 4 D2 JX3 DI16 5 X21 X22 1 9 2 10 3 11 4 12 5 13 6 14 7 15 8 16 0V 0V 13 9 1 R 14 10 6 2 E 15 11 7 3 D...

Page 225: ...ation application Controllers Data interchange out of the application program NetCopy NetBit network register Server PC E g for database applications Controllers bus nodes and communication modules E...

Page 226: ...nt of the controller uses the JetIP protocol based on UDP IP for data transfer The server functions do not require any programming or configuration by the user Acyclic data interchange on the Jetter s...

Page 227: ...addressed By means of one command a large register set or in case NetCopyList is applied a large number of registers can be copied The result of the copying process can be evaluated directly NetCopy f...

Page 228: ...r 3 JX3 BN ETH Bus node 4 JX3 AI4 Peripheral module with analog inputs Task When an event occurs user scaling of analog input 1 is to be changed Solution The NetCopy command causes values from applica...

Page 229: ...second NetCopy command will then overwrite this value again There is an undefined data condition which is prevented by the NetBit functions Further advantages of NetBit commands as compared with the...

Page 230: ...gnostics cannot be logged directly If you access network registers of cyclic data interchange the controller does not carry out acyclic network register access The controller accesses the locally stor...

Page 231: ...ter table for IP addresses 235400 GNN 235400 235599 Register table for IP ports Note on the contents of the table GNN Global Node Number in the range 000 199 When you download the configuration files...

Page 232: ...to the tables containing the IP addresses and IP ports The values read out of these tables are used by the controller to address the bus node in the network For further information on registers 23500...

Page 233: ...7 Value range zzzz 0000 9999 This lets you directly access all JX3 module registers of the remote network node Via network a controller and a bus node JX3 BN ETH are connected A JX3 AI4 module is conn...

Page 234: ...te node via network register the controller uses the first part of the register prefix as an index to the tables containing the IP addresses and IP ports The values read out of these tables are used b...

Page 235: ...cess the value via register 1nnn980zzz Value range of the GNN nnn 000 199 Value range zzz 000 199 This configuration lets you indirectly access via 200 controller registers all module registers of the...

Page 236: ...s via network register with variable destination window to a remote node the controller uses the first part of the register prefix as an index to the tables containing the IP addresses and IP ports Th...

Page 237: ...nterconnected via the Jetter Ethernet system bus There are JX3 modules connected to the JX3 BN ETH such as a JX3 AO4 of module number 03 By entering value 100000 into R 272702 of the JX3 BN ETH you ge...

Page 238: ...st access 232717 Maximum number of retries 232718 Present number of retries Flags Description 2075 Network error Timeout To R 232708 write the timeout in milliseconds for acyclic access via network Mo...

Page 239: ...number Maximum number of retries R 232717 lets you set the maximum possible number of network access retries If a network access could not be made without errors the controller will repeat the access...

Page 240: ...ror If a network error occurs the operating system sets flag 2075 In order to detect further errors this way you must manually reset the flag Flag properties Values 0 No network errors since last rese...

Page 241: ...responding subscriptions The subscriber validates the received data Data Registers Inputs Outputs Access time Very short as the network nodes access the locally stored interchanged data Configuration...

Page 242: ...l specifications of cyclic data interchange via Jetter Ethernet system bus Usage of multicast frames Reserved multicast groups 255 Multicast groups available to the user 0 254 IP addresses for multica...

Page 243: ...iber Therefore it is called subscription A subscriber can manage several subscriptions To receive a publication there must exist a corresponding subscription One publication can be received by subscri...

Page 244: ...SysConfig JetSync Publisher pub The configuration file for the subscriber is SysConfig JetSync Subscriber sub Automatic restart of the publishers and subscribers takes place in a controller at each r...

Page 245: ...blication 255x20 255x30 Registers for configuring one publication Flag 2080 Enable for publishing an error Flag 2081 Error collection of the subscriber x 0 9 Administration and configuration registers...

Page 246: ...of all subscriptions In case of an error you first read out the ID of the subscription in which an error has occurred Meaning of the individual bits Bit 0 Error in CRC computing of the configuration...

Page 247: ...the subscription does not exist R 250x11 shows value 1 Register Name Description 250x10 Index Index of the subscriptions 0 Selects the first subscription 1 Selects the next subscription 2 etc 250x11 I...

Page 248: ...4001 GNN Global Node Number 254002 IP address 254003 Port number There are several registers available which go with all publications Register Name Description 255000 Status Status register 255001 Com...

Page 249: ...the publication exists R 255x11 shows its ID If the publication does not exist R 255x11 shows value 1 In this case enter the ID of the publication into R 255x11 If the publication exists the content...

Page 250: ...ables As configured 255x23 Group address As configured 255x24 Hash Internal usage 255x25 Sequence number Internal usage 255x26 Data size Internal usage 255x27 Timeout in ms Bus cycle 255x28 Number of...

Page 251: ...ted via network Advantages of network registers network inputs and outputs in cyclical data interchange as compared with acyclic data interchange The operating system cyclically interchanges data of t...

Page 252: ...erated variables for access to JX3 modules please turn to chapter Hardware Manager see page 254 The register number in which the digital inputs and outputs of the remote nodes have been combined is ch...

Page 253: ...node JX3 BN ETH are connected A JX3 DO16 is connected to the bus node The JX3 DO16 has got I O module number 3 Task The outputs of the JX3 DO16 are to be activated or deactivated as follows Step Desc...

Page 254: ...devices If possible always use the Hardware Manager that is part of JetSym Making configurations by hand is complicated and prone to errors For detailed information on hardware configuration using Ha...

Page 255: ...us and configuring axes at the JX2 system bus Engineering JX3 modules at a JX3 BN ETH and a JC 120MC Engineering and configuring Ethernet axes Engineering an axis group path group and technology group...

Page 256: ...chapter covers error handling at the Jetter Ethernet system bus Topic Page Acyclic data interchange Error logging 257 Error message during CRC computing 258 Error message on part of a subscription 25...

Page 257: ...and You will find them in the JetSym online help Jetter AG recommends not to execute error logging via the registers and flags of the JetIP network Error logging for network registers and flags of the...

Page 258: ...e CRC computing failed because there is no configuration file The operating system of the device responds to the error by taking the following steps Step Description 1 The operating system sets bit 0...

Page 259: ...rites value 11103 and the ID to the error buffers The error buffer can be accessed via registers 380000 ff error history 5 Writes the GNN of the network node communication with which has been terminat...

Page 260: ...ontroller reacts by taking the following steps Step Description 1 The operating system sets bit 10 in R 200009 2 If or then Bit x 1 of R 200009 Bit x 1 of R 200010 the operating system sets bit 7 of R...

Page 261: ...feature can be read out You can use these registers for debugging or diagnostics Further features such as for example checking the network configuration cannot be triggered this way Topic Page Regist...

Page 262: ...20000 522999 In this chapter only the last four figures of a register number are specified e g MR 1499 Add to this module register number the basic register number of the corresponding device to deter...

Page 263: ...0 JetIPScan client OFF 1 JetIPScan client ON Bit 1 Collective error message 1 Reg 13 contains value 0 Module register properties Type of access Read Value after reset Bit 0 Depends on release status B...

Page 264: ...smaller than zero are error messages Module register properties Values 0 No error or warning 5 The user has terminated the function 1001 The first received response does not match response 2 and 3 see...

Page 265: ...g Module register properties 1001 1199 The node has reported the wrong CtrlID or CtrlIDopt see MR 110x 2001 2199 The node has not called see MR 120x 3001 3199 Several nodes of the same GNN have called...

Page 266: ...gister contains 32 bit individual groups of 7 subsequent registers each are created see table Register bit GNN Register 0 1 Register 31 32 Register 1 0 33 Register 1 31 64 Register 2 0 65 Register 2 3...

Page 267: ...the individual bits Bit 0 No warning Bit 1 Warning Module register properties Bit number GNN 1 Type of access Read Reply no 2 is not the same as replies 2 and 3 The controller scans the network config...

Page 268: ...odule register properties Bit number GNN 1 Type of access Read Wrong CtrlID or CtrlIDopt A node having got the required GNN has called yet the CtrlID or CTRLIDopt do not agree with it Meaning of the i...

Page 269: ...N 1 Type of access Read The IP settings could not be changed When the IP settings of a node have been changed the controller checks whether the node has taken over these changes If the node has not ta...

Page 270: ...s 1 199 Value after reset 1 SET configuration These registers let you read the default SET configuration Register Command line parameter 2010 NodeID GNN 2011 CtrlID 2012 CtrlIDopt 2013 IpAddr 2014 IpM...

Page 271: ...D 2212 CtrlIDopt 2213 IpAddr 2214 IpMask 2215 Gateway 2220 Quantity 2221 MAC address high 2222 MAC address low 2223 Sent IP address ACTUAL configuration 3 These registers let you read the third receiv...

Page 272: ...he node was not able to clear the connection The connection remained active The enhanced connection management allows for the server to clear connections according to criteria that can be set by the u...

Page 273: ...ed as follows Step Action 1 Enter value 0 into MR 1 If the server is to terminate the connection that has been inactive the longest time proceed as follows Step Action 1 Enter value 1 into MR 2 2 Ente...

Page 274: ...rminate all existing connections which have exceeded the minimum time of inactivity proceed as follows Step Action 1 Enter the minimum time ms into MR 2 2 Enter value 1 into MR 2 Terminating all conne...

Page 275: ...be read from module register 0 Module register properties Values 0 4 JetIP TCP server 0 20 STX debug server Mode If the maximum number of connections is active and if the server is to establish a new...

Page 276: ...en the two controllers again controller A would have to be relaunched To prevent a relaunch of controller A an ARP request must be executed on controller A The controller A inquires from the Jetter Et...

Page 277: ...IP address of a network node into the corresponding register the controller triggers an ARP request This request is used for resolution of an IP address into an Ethernet address MAC address Executing...

Page 278: ...the system command registers and the system commands for activating and deactivating the JetSync blockate will be explained in detail Topic Page Description of system command registers 279 Descriptio...

Page 279: ...system command register Now the controller sets the value of this register to 0 Register properties Value 1112502132 0x424F6F74 System command register Enter the system commands into this register Th...

Page 280: ...rts 412 Enable JetSync blockage for port X15 Register properties Access System password register contains the correct password System status register The system status register lets you evaluate the s...

Page 281: ...ask has been interrupted by a cyclic task or the Ethernet system bus publisher the following application task is processed 1 When a normal application task has been interrupted by a cyclic task or the...

Page 282: ...other Ethernet frames are forwarded as usual Purpose This command lets you prevent forwarding Jetter Ethernet system bus multicast frames to the CPU and the other ports This way networks are split an...

Page 283: ...s multicast frames to port X15 This way networks are split and thus data traffic e g from the machine network to higher level networks is reduced Address space Splitting is carried out on Ethernet lev...

Page 284: ...General system registers In this chapter the system command registers and the system commands will be explained in detail Topic Page Description of system command registers 285 Description of system c...

Page 285: ...he system command register Now the controller sets the value of this register to 0 Register properties Value 1112502132 0x424F6F74 System command register Enter the system commands into this register...

Page 286: ...ta configuration for Ethernet system bus 313 Stop process data communication for Ethernet system bus 330 Disable JetIPScan client 331 Enable JetIPScan client 410 Disable JetSync blockage 411 Enable Je...

Page 287: ...ccess 1 Task switching is carried out in the application program on I O access Bit 1 Wait for communication 0 The controller waits for communication requests for a short time 1 The controller does not...

Page 288: ...ummy modules 65535 100002034 JX3 system bus Number of retries 1 200002023 JX2 system bus I O dummy modules 1 200002024 JX2 system bus Slave dummy modules 255 200002029 JX2 system bus Baud rate 7 20000...

Page 289: ...ccess to internal variables response time of other tasks may increase Activate Task switch on I O access Effect While the controller is accessing modules on the JX2 or JX3 system bus it processes the...

Page 290: ...module configuration file ModConfig da and the configuration files for process data communication on the Jetter Ethernet system bus Publisher pub Subscriber sub from the file system This corresponds...

Page 291: ...ins enabled Purpose For testing purposes Enable JetIPScan client Effect This command lets you enable the JetIPScan client Purpose This command lets you enable the JetIPScan client which has been disab...

Page 292: ...ge for port X15 Effect The JetSync blockage is enabled for port X15 only Bit 8 in R 202962 is set Jetter Ethernet system bus multicast frames of the CPU are forwarded to port X14 only Jetter Ethernet...

Page 293: ...tartup delay register The device JC 120MC provides a register to which a delay time can be written The boot process of the device is delayed by the entered delay time Topic Page Setting the startup de...

Page 294: ...0x424F6F74 into this register Then enter the desired value into the startup delay time register Now the controller sets the value of this register to 0 Register properties Value 1112502132 0x424F6F74...

Page 295: ...zed The OS uses the real time clock for the following functions Storing file date and time When using the real time clock the following restrictions apply When the device is de energized the power res...

Page 296: ...owing steps when re booting Step Description 1 During the boot process the controller detects that the power reserve has elapsed 2 The controller sets date and time to their default values Date Saturd...

Page 297: ...ired For this there are two register sets Register set 1 is for directly accessing individual real time clock values Changes to values in register set 1 are immediately transferred to the real time cl...

Page 298: ...2926 Month R 102927 Year R 102928 Read write trigger Milliseconds This register contains the millisecond of the actual time Register properties Values 0 999 Value after reset 0 Seconds This register c...

Page 299: ...Hours This register contains the hours of the actual time Register properties Values 0 23 Value after reset If then the power reserve has not elapsed actual time the power reserve has elapsed 0 Weekda...

Page 300: ...1 Month This register contains the month of the actual date Register properties Values 1 12 Value after reset If then the power reserve has not elapsed actual time the power reserve has elapsed 1 Yea...

Page 301: ...egister properties Values 0 59 Value after reset 0 Takes effect After read write access to register 102928 Minutes This register contains the minutes stored in the buffer Register properties Values 0...

Page 302: ...ister properties Values 0 31 Value after reset 0 Takes effect After read write access to register 102928 Month This register contains the month stored in the buffer Register properties Values 0 12 Val...

Page 303: ...ter and real time clock Register properties Read The actual date and time are transferred from real time clock to buffer registers 102920 through 102927 The reading is undefined Write The values conta...

Page 304: ...ides several registers which are incremented by the operating system at regular intervals These registers can be used to easily carry out time measurements in the application program Topic Page Descri...

Page 305: ...s Application time base in milliseconds Every millisecond this register is incremented by one Register properties Values 2 147 483 648 2 147 483 647 overflowing Application time base in seconds Every...

Page 306: ...ng conditions After at least 10 ms System time base in milliseconds Every millisecond this register value is incremented by one Register properties Values 2 147 483 648 2 147 483 647 overflowing Type...

Page 307: ...communication with the servers takes place through these interfaces The following interface activities can be monitored pcomX server via serial interface JetIP server via Ethernet interface STX debug...

Page 308: ...quest 3 User flag You must set the user flag in the application program once the device has set the OS flag This indicates that the connection has temporarily been disrupted even if the device resets...

Page 309: ...s are reset by the controller upon expiry of the timeout interval 6 The application program detects that the device has reset the special flags and therefore takes appropriate action 7 When further te...

Page 310: ...rnet OS flag F 2089 User flag F 2090 pcomX serial interface OS flag F 2091 User flag F 2098 STX debugging Ethernet OS flag F 2099 User flag Timeout in the case of JetIP Ethernet This register contains...

Page 311: ...e timeout register of this interface 2 Wait until the controller has set the OS flag of this interface 3 Set the corresponding user flag To detect a timeout proceed as follows Step Action 1 Enable mon...

Page 312: ...keys Switching the HMI LEDs Monitor function In this manual we proceed from the assumption that the user is familiar with the following STX instructions DisplayText DisplayText2 DisplayValue and UserI...

Page 313: ...HMIs by Jetter AG which you can connect to the JC 120MC For a detailed description on how to connect these HMIs to the controller refer to chapter Mounting and installation Connecting HMIs see page 1...

Page 314: ...ach 5 function keys Cursor keypad Clear ENTER JC DK Xm LCD 34 2 lines of 24 characters each 5 function keys Numeric keypad JC DK Xm LCD 52 4 lines of 16 characters each 6 function keys Numeric keypad...

Page 315: ...query status information The settings made in this register are of global effect that is they will impact all functions for controlling HMIs If different settings are used in several tasks of the app...

Page 316: ...ice Basic register number Register numbers JC 120MC 220000 222804 222840 In this chapter only the last four figures of a register number are specified e g MR 2815 Add to this module register number th...

Page 317: ...sign MR 2817 State of the UserInput UserInput MR 2818 Monitor functions enable disable MR 2819 Display time for monitor functions MR 2820 Switch over to monitor display MR 2821 Dialog language of the...

Page 318: ...3 multi display mode MR 2836 Register number for LEDs on HMI 4 multi display mode MR 2837 Module number Printer module MR 2838 Module number Serial interface module MR 2839 Control character for dele...

Page 319: ...ller is able to configure the size automatically Therefore you do not have to configure the display size manually But in some cases this feature might make sense To ensure that the controller correctl...

Page 320: ...he number of lines and enter the result into MR 2804 Number of characters on the screen This module register contains the number of characters displayed on the screen Module register properties Values...

Page 321: ...how to parameterize the corresponding STX instructions In order to display texts use the following STX instructions STX functions DisplayText DisplayText2 Topic Page STX Instructions for displaying t...

Page 322: ...ion causes the text Hello World to be displayed starting at cursor position1 The second STX instruction causes the content of the string variable StringVar to be displayed starting at cursor position...

Page 323: ...rsor position 25 the STX instruction causes the text Fehler or the text Error to be displayed MR 2806 lets you control which text will be displayed Text selection for DisplayText2 The value in this mo...

Page 324: ...nterface 11 Serial interface module Output of data on a serial interface module connected to the JX2 or JX3 system bus Device number of the default device This module register contains the device numb...

Page 325: ...vice number for HMI 2 in multi display mode Module register properties Values 1 4 Value after reset 2 Device number for HMI 3 in multi display mode Module register properties Values 1 4 Value after re...

Page 326: ...MR 2814 2 If then MR 2814 is larger than 0 the value is used as cursor position MR 2814 equals 0 the message is displayed starting from the current cursor position Example MR 2814 0 DisplayText 0 1 T...

Page 327: ...cursor position as parameter of an instruction and the position on the screen Designation Line Cursor position LCD 16 LCD 110 1 1 20 2 21 40 3 41 60 4 61 80 LCD 23 LCD 27 1 1 24 LCD 34 2 25 48 LCD 52...

Page 328: ...sor position 1 Example DisplayText 0 10 H_ello Result The screen is cleared and the word fragment ello is displayed starting from cursor position 1 The default character for deleting text up to the en...

Page 329: ...95 _ Takes effect Next time when STX instruction DisplayText or DisplayText2 is issued Control character for clearing the screen up to the end of a line This module register contains the ASCII code of...

Page 330: ...When displaying numerical values the following formatting applies The numerical value is displayed right aligned The sign is the first character which is output if the sign has not been disabled befo...

Page 331: ...alue Value to be displayed Constant value name of a register or a variable How to invoke the instruction to display a value DisplayValue 0 1 12 345 DisplayValue 0 25 Axis2 Position The first STX instr...

Page 332: ...nterface 11 Serial interface module Output of data on a serial interface module connected to the JX2 or JX3 system bus Device number of the default device This module register contains the device numb...

Page 333: ...vice number for HMI 2 in multi display mode Module register properties Values 1 4 Value after reset 2 Device number for HMI 3 in multi display mode Module register properties Values 1 4 Value after re...

Page 334: ...MR 2814 2 If then MR 2814 is larger than 0 the value is used as cursor position MR 2814 equals 0 the message is displayed starting from the current cursor position Example MR 2814 0 DisplayText 0 1 T...

Page 335: ...cursor position as parameter of an instruction and the position on the screen Designation Line Cursor position LCD 16 LCD 110 1 1 20 2 21 40 3 41 60 4 61 80 LCD 23 LCD 27 1 1 24 LCD 34 2 25 48 LCD 52...

Page 336: ...ign decimal point Example Number of figures 6 Sign MR 2816 0 yes Decimal point None Field length MR 2812 7 Display 7 characters Field length for DisplayValue This module register holds the length of t...

Page 337: ...o add the sign s place even if no sign is to be displayed Example Number of figures 6 Sign MR 2816 1 no Decimal point None Field length MR 2812 7 Display 6 characters Displaying the sign Module regist...

Page 338: ...isplay field in MR 2812 Reason The decimal point requires one place in the display field Number of decimal places for DisplayValue instructions This module register holds the number of decimal places...

Page 339: ...values you have the choice between decimal or hexadecimal format Flag 2060 lets you set the format of numerical values Format of numerical values Flag properties Values 0 Decimal 1 Hexadecimal Takes e...

Page 340: ...scription 0 9 Entering a numerical value or Entering a decimal point or decimal comma Entering a negative positive numerical value You can press the key any time during input C Clearing previous entri...

Page 341: ...ed value and has the value resulting from the pressed key displayed 3 The input numerical value is displayed left aligned in the input field until executing the instruction is completed or aborted Res...

Page 342: ...displays the suggested value on device 0 starting from cursor position 10 prepares an input field and activates the cursor 2 The task stops at the STX instruction UserInput until it is aborted or unti...

Page 343: ...l interface 11 Serial interface module Output of data on a serial interface module connected to the JX2 or JX3 system bus Device number of the default device This module register contains the device n...

Page 344: ...e number for HMI 2 in multi display mode Module register properties Values 1 4 Value after reset 2 Device number for HMI 3 in multi display mode Module register properties Values 1 4 Value after reset...

Page 345: ...of MR 2814 2 If then MR 2814 is larger than 0 the value is used as cursor position MR 2814 equals 0 the message is displayed starting from the current cursor position Example MR 2814 0 DisplayText 0...

Page 346: ...sor position as parameter of an instruction and the position on the screen Designation Line Cursor position LCD 16 LCD 110 1 1 20 2 21 40 3 41 60 4 61 80 LCD 23 LCD 27 1 1 24 LCD 34 2 25 48 LCD 52 LCD...

Page 347: ...Number of figures sign decimal point Example Number of figures 6 Decimal point MR 2811 0 None Field length MR 2813 7 Field length for UserInput This module register contains the length of the input f...

Page 348: ...field in MR 2813 Reason The decimal point requires one place in the display field Setting the maximum number of decimal places for UserInput instruction This module register specifies the maximum num...

Page 349: ...ing numerical values Suggested value for UserInput This module register specifies the suggested value which is displayed when the STX instruction UserInput is invoked and after pressing the clear key...

Page 350: ...been input can be read out from MR 2808 Number of decimal places which have been input in the case of UserInput instruction This module register specifies the number of decimal places which have been...

Page 351: ...tus The status of the UserInput instruction can be polled from MR 2817 UserInput status This module register specifies the status of the UserInput instruction Module register properties Values 0 No Us...

Page 352: ...xception handling has been programmed the task is aborted and the error is displayed in the error register Result The variable which the result of the function is to be assigned to will not be changed...

Page 353: ...ed FALSE 0 While inputting numerical values the keys used for this are not mapped to the key flags and register bits Key Description 0 9 Entering a numerical value or Entering a decimal point or decim...

Page 354: ...nment list applies to single display mode and default settings of multi display mode Numerical keys Key Flag Register bit 16 bit overlaying Register bit 32 bit overlaying 0 2160 203139 0 203127 16 1 2...

Page 355: ...03128 29 F6 2206 203141 14 203128 30 F7 2207 203141 15 203128 31 F8 2208 203142 0 203129 0 F9 2209 203142 1 203129 1 F10 2210 203142 2 203129 2 F11 2211 203142 3 203129 3 F12 2212 203142 4 203129 4 SH...

Page 356: ...IFT ENTER 2199 203141 7 203128 23 SHIFT 2200 203141 8 203128 24 2213 203142 5 203129 5 2214 203142 6 203129 6 R 2215 203142 7 203129 7 I O 2216 203142 8 203129 8 2217 203142 9 203129 9 C 2218 203142 1...

Page 357: ...ying S1 2206 203141 14 203128 30 S2 2207 203141 15 203128 31 S3 2208 203142 0 203129 0 S4 2209 203142 1 203129 1 S5 2210 203142 2 203129 2 SHIFT S1 2186 203140 10 203128 10 SHIFT S2 2187 203140 11 203...

Page 358: ...et 2000 Takes effect On the next operation of a key Basic flag number for device 2 This module register contains the basic flag number for HMI 2 Module register properties Values 160 2080 Value after...

Page 359: ...Programming Basic flag number for device 4 This module register contains the basic flag number for HMI 4 Module register properties Values 160 2080 Value after reset 2000 Takes effect On the next oper...

Page 360: ...an activate or deactivate LEDs located in HMI keys The controller reads out the state of LEDs located in HMI keys from the least significant 12 bits of the corresponding register Register bit LED 1 ON...

Page 361: ...3143 2224 2235 2 MR 2834 203143 2224 2235 3 MR 2835 203143 2224 2235 4 MR 2836 203143 2224 2235 Here the assignments between keys special flag and overlaid register are listed This assignment list app...

Page 362: ...HMI 1 Module register properties Values 100000 1059999 Value after reset 203143 LED register number for device 2 This module register contains the LED register number for HMI 2 Module register propert...

Page 363: ...AG 363 JC 120MC Programming LED register number for device 4 This module register contains the LED register number for HMI 4 Module register properties Values 100000 1059999 Value after reset 203143 M...

Page 364: ...not be active The monitor function can only access controller variables which are assigned to permanent addresses Registers VL Flags MX Inputs IX Outputs QX In multi display mode the following must be...

Page 365: ...he monitor function Designation Keys Variables LCD 16 NUM 25 R and I O Registers Flags Inputs Outputs LCD 34 R Registers Flags LCD 52 R and I O Registers Flags Inputs Outputs LCD 54 Z R and I O Regist...

Page 366: ...decimal value or Entering a decimal point or decimal comma Entering a negative positive numerical value you can press the key any time during input C Clearing previous entries Aborting the monitor fun...

Page 367: ...display a flag status proceed as follows Step Action 1 Press the key R twice or the key I O three times Result The HMI switches to displaying the monitor function 2 Enter the flag number 3 Press the...

Page 368: ...a new value for this variable Meanwhile the current value is displayed 3 Enter a new value 4 Press the key ENTER Result The new value is written to the variable The variable value is displayed for the...

Page 369: ...itor function Display flag state Bit 2 Displaying an output state 0 Key I O without monitor function Display output state 1 Key I O with monitor function Display output state Bit 3 Displaying an input...

Page 370: ...itor display This module register is for configuring the function of the key ENTER Module register properties Values 0 Switching between monitor screen and normal display is activated 1 Switching betw...

Page 371: ...sponding module This chapter describes how to control the interfaces using display functions It also describes the registers used to parameterize the display functions The controller provides the foll...

Page 372: ...tter AG 10 Programming 10 10 1 Supported serial interfaces This chapter lists the printers and serial interfaces which are supported by the JC 120MC Topic Page Overview Interfaces 373 Introduction Con...

Page 373: ...programmable serial interface Serial interface of the CPU 9 JX2 SER1 Serial interface module 11 JX3 MIX2 Serial interface on the module 11 For more information on how to configure and program interfac...

Page 374: ...aces The settings made in the given registers are of global effect that is they will impact all functions for controlling printers and serial interfaces If different settings are used in several tasks...

Page 375: ...Device Basic register number Register numbers JC 120MC 220000 222806 222838 In this chapter only the last four figures of a register number are specified e g MR 2838 Add to this module register number...

Page 376: ...s refer to the following chapters Registers Description MR 2806 Text selection DisplayText2 MR 2810 Number of decimal places DisplayValue MR 2812 Field length DisplayValue MR 2816 Displaying the sign...

Page 377: ...to a printer or serial interface module connected to the JX2 or JX3 system bus the module number must be set Redirection to an internal user programmable serial interface is clearly defined by the dev...

Page 378: ...of the module which the display instruction is redirected to device 8 Module register properties Values JX3 bus 102 117 Values JX2 bus 202 224 Takes effect Next time when STX instruction DisplayText...

Page 379: ...via printer or serial interface and how to parameterize the corresponding STX instructions In order to output texts use the following STX instructions STX functions DisplayText DisplayText2 Topic Pag...

Page 380: ...output Function DisplayText2 Dev Int Pos Int Const Ref Text1 String Const Ref Text2 String Parameter Value Description Dev 8 11 Number of the device on which the text is to be output Pos Not relevant...

Page 381: ...AG 381 JC 120MC Programming Text selection for DisplayText2 The value in this module register specifies which one of the two texts is to be output Module register properties Values 0 Text1 1 Text2 MR...

Page 382: ...ut of data on a printer module connected to the JX2 or JX3 system bus 9 10 Serial interface Output of data on a user programmable serial interface 11 Serial interface module Output of data on a serial...

Page 383: ...alues the following formatting rules apply The numerical value is displayed right aligned The sign is the first character which is output if the sign has not been disabled before The first numerical v...

Page 384: ...invoked as follows DisplayValue 8 0 12 345 DisplayText 8 0 t DisplayValue 8 0 Axis2 Position DisplayText 8 0 n The first STX instruction lets you output value 12 345 The second STX instruction inserts...

Page 385: ...utput of data on a printer module connected to the JX2 or JX3 system bus 9 10 Serial interface Output of data on a user programmable serial interface 11 Serial interface module Output of data on a ser...

Page 386: ...ign decimal point Example Number of figures 6 Sign MR 2816 0 yes Decimal point None Field length MR 2812 7 Display 7 characters Field length for DisplayValue This module register holds the length of t...

Page 387: ...o add the sign s place even if no sign is to be displayed Example Number of figures 6 Sign MR 2816 1 no Decimal point None Field length MR 2812 7 Display 6 characters Displaying the sign Module regist...

Page 388: ...isplay field in MR 2812 Reason The decimal point requires one place in the display field Number of decimal places for DisplayValue instructions This module register holds the number of decimal places...

Page 389: ...values you have the choice between decimal or hexadecimal format Flag 2060 lets you set the format of numerical values Format of numerical values Flag properties Values 0 Decimal 1 Hexadecimal Takes e...

Page 390: ...S and LJX7 CSL Third party CANopen modules e g valve terminals Topic Page Module array and module codes of connected modules 391 JX2 system bus Baud rate 394 Dummy modules on the JX2 system bus 396 Mo...

Page 391: ...s Finally CANopen modules are entered according to their set module number Vacant positions between module numbers are also filled with dummy modules Registers Description R 200002015 Index to module...

Page 392: ...AG Co 67 Valve terminal type 8640 B rkert GmbH Co KG 68 I O SYSTEM 750 WAGO Kontakttechnik GmbH 69 SI unit EX 120 SMC Pneumatik GmbH 70 8200 vector 2175 Lenze Drives Systems GmbH 71 SI unit EX 250 SM...

Page 393: ...put stage 132 JX2 PID1 PID controllers 133 JX2 PROFI1 Profibus DP slave 135 JM 2xx series Servo amplifiers 137 JM D203 Servo amplifier for 2 axes 138 JM 1xx series Servo amplifiers 146 JM 6xx series S...

Page 394: ...L The baud rate setting depends on the number of modules connected to the JX2 system bus JX2 I O modules JX2 slave modules JetMove JX SIO IP67 I O modules CANopen modules 1000 kBaud 500 kBaud 250 kBau...

Page 395: ...Jetter AG 395 JC 120MC Programming Result When initializing the JX2 system bus the adjusted baud rate values were used...

Page 396: ...02024 JX2 Slave dummy modules JX2 I O modules JX2 slave modules JetMove 1xx 2xx und 6xx Not all modules on the JX2 system bus can be configured as dummy module Modules with address selector are config...

Page 397: ...120MC Step Description 1 The JC 120MC sends a monitoring telegram to a JX2 I O module The cycle time can be configured in R 200002028 2 If then a response has been received the JC 120MC proceeds moni...

Page 398: ...200002028 2 If then a response has been received the JC 120MC proceeds with step 1 for monitoring the next module no response has been received and the number of allowed retries has been maxed out the...

Page 399: ...dule is not a dummy module etc Configuration of I O module 4 24 0 I O module is a dummy module 1 I O module is not a dummy module Module register properties Value after reset Non volatile factory sett...

Page 400: ...500 kBaud 5 250 kBaud 4 125 kBaud Module register properties Value after reset Non volatile factory setting 7 Takes effect Next time when the controller is launched ON delay After the JC 120MC has bee...

Page 401: ...cted The CANopen STX API can be used Bit 6 1 CANopen support in the JX2 system bus driver is disabled This requires a restart of the controller If you intend to connect to the JX2 system bus JX2 I O a...

Page 402: ...nect more than nine JX2 I O modules the COB IDs of TX and RX PDOs used by CANopen devices must be mapped to the ID range 70 79 Important note Whether it is possible to make changes to the COB ID of PD...

Page 403: ...alues 0 31 Number of I O modules Module register properties Type of access Read only Value after reset Amount of connected I O modules Number of connected slave modules The controller JC 120MC enters...

Page 404: ...ule array Module register properties Type of access Read only Value after reset Number of connected I O and slave modules Number of connected CANopen modules The controller JC 120MC enters into this r...

Page 405: ...bus initialization an error occurred Bit 14 Timeout of a system register relating to the JX2 system bus 1 Timeout during access to a system register of the JX2 system bus Bit 15 SDO abort 1 At SDO ac...

Page 406: ...n the following cases Read write access to module registers of a slave module Values 2 17 Slave module number Module register properties Type of access Only value 0 can be entered Value 0 lets you del...

Page 407: ...s the corresponding bit in this register Meaning of the individual bits Bit 0 I O module 2 1 I O module reports a peripheral fault Bit 1 I O module 3 1 I O module reports a peripheral fault etc I O mo...

Page 408: ...meout for register access to CANopen modules This timeout applies to access to the following registers CANopen modules R 200007000 R 20007999 IP67 modules R 200003000 R 20003249 Values 1 255 Timeout i...

Page 409: ...modules must be within the configured timeout time JX2 I O modules Values 1 255 ms Timeout in milliseconds Module register properties Value after reset 10 ms Timeout at register access to I O modules...

Page 410: ...cess to JX2 modules The response to register access to JX2 Slave modules must be within the configured timeout time JX2 slave modules JetMove 1xx 2xx and 6xx Values 1 255 ms Timeout in milliseconds Mo...

Page 411: ...generated Values 1 255 Maximum number of retries Module register properties Value after reset 5 Index to I O timeout monitoring array This index is used to select the entry of the I O retry counter ar...

Page 412: ...em bus driver Version of the JX2 system bus interface Module register properties Type of access Read only Data type IP format Version of the JX2 system bus driver Module register properties Type of ac...

Page 413: ...xxx are able to automatically detect and commission connected modules JX3 modules Topic Page Module array and module codes of connected modules 414 Dummy modules on the JX3 system bus 416 JX3 system b...

Page 414: ...odule array in the following order As connected JX3 PS1 modules are not entered into the module array Register Description R 100002015 Index to module array R 100002016 Module array R 100002015 0 Numb...

Page 415: ...ts for resistance thermometers 308 JX3 CNT Universal counter module 310 JX3 MIX2 Multi purpose module 312 JX3 THI2 TC 2 inputs for thermocouples 316 JX3 DMS2 2 inputs for strain gages 340 JX3 AI4 EI 4...

Page 416: ...re initialized Register Description R 100002023 I O dummy modules JX3 modules Step Action 1 Modify the dummy module configuration within the controller via R 100002023 2 Switch the controller off 3 T...

Page 417: ...onfiguration of I O module 3 0 I O module is a dummy module 1 I O module is not a dummy module etc Configuration of I O module 4 17 0 I O module is a dummy module 1 I O module is not a dummy module Mo...

Page 418: ...nt of connected JX3 I O modules Index to module array This index lets you select the module array entry contained in R 100002016 Values 0 R 100002016 contains the number of modules connected to the JX...

Page 419: ...eaning of the individual bits Bit 3 Error 1 At least one JX3 module has caused an error Bit 16 Fatal error 1 A fatal non recoverable error has occurred on the JX3 system bus Data exchange has been ter...

Page 420: ...nication with an I O module an error occurs the controller enters the number of the module register into this register An error might occur in the following cases Read write access to module registers...

Page 421: ...he JX3 system bus Timeout interval for register access to JX3 modules The response to register access to JX3 modules must be within the configured timeout interval JX3 modules Values 1 255 ms Timeout...

Page 422: ...here is also additional version information for identifying the JX3 system bus driver Version of the JX3 system bus interface Module register properties Type of access Read only Data type IP format Ve...

Page 423: ...ments must be met When ordering the controller option W was selected A valid e mail configuration file EMAIL email ini exists while the controller is booting If both requirements have been met the cor...

Page 424: ...lowing prerequisites must be fulfilled The IP address of the e mail server is known If the IP address of the e mail server is not known name resolution through a DNS server must be possible refer to U...

Page 425: ...re then used by the e mail client You can insert blank lines as required The following characters precede a comment line or The configuration file contains up to three sections Section SMTP is mandato...

Page 426: ...t be entered The JC 120MC supports the following authentication procedures LOG ON PLAIN CRAM MD5 IP In the given example 192 168 40 1 Description IP address of the SMTP server can also be specified as...

Page 427: ...le JetControl0815 Description Log on name for SMTP authentication If this entry exists the entry PASSWORD is required too Allowed values String of 63 characters max In case of missing entry SMTP authe...

Page 428: ...s USER and PASSWORD must be entered After that the SMTP server allows e mails to be sent for a given period of time usually 10 to 30 minutes IP In the given example 192 168 40 1 Description IP address...

Page 429: ...required too Allowed values String of 63 characters max In case of missing entry POP3 log on will not be carried out PASSWORD In the given example Pop3PassWord Description Log on password for POP3 aut...

Page 430: ...which contains default settings for e mails If the respective section is not available in the respective e mail template the JC 120MC applies these default settings for sending an e mail message DEFAU...

Page 431: ...the SMTP server SMTP IP 192 168 40 1 In case the e mail server requires previous log on through POP3 and an e mail template containing default setting has been defined SMTP IP 192 168 40 1 POP3 IP 19...

Page 432: ...create an e mail Then the application program sends these e mails For each e mail the user has to create an e mail template file Topic Page Name of the e mail template file 433 Structure of the e mai...

Page 433: ...mail template file consists of a fixed part of the name and a variable part The variable part of the name allows the application program to choose various e mails for sending email_ cfg Part of the na...

Page 434: ...e sections can be tagged with realtime controller values refer to Inserting realtime controller values see page 190 FROM Sender TO Addressee CC Additional addressee s SUBJECT Subject ATTACHMENT Comple...

Page 435: ...ydomain com SUBJECT Description Subject Length 255 characters Example SUBJECT Fatal Error ATTACHMENT Description Complete name of the file to be attached Comments The attached file must be a text file...

Page 436: ...ample how the value of a variable is to be displayed name Function Variable name Comments Code letter followed by the variable number Example name R1000023 type Description Variable type of notation E...

Page 437: ...hexadecimal INTB Integer binary BOOL Register content 0 Display 0 Register content 0 Display 1 REAL Floating point decimal STRING Text register Example JC DTAG name R1000250 type REAL format 0 factor...

Page 438: ...Display OFF Input 1 Display ON Example JC DTAG name I100000308 type STRING Result The state of input 100000308 is displayed as string ON or OFF The variable name begins with a capital O followed by t...

Page 439: ...to add a constant value or another register content to the pointer register value Examples JC DTAG name PR1000300 100 Result The content of the register is displayed whose number results from the addi...

Page 440: ...the content of register 1000100 JC DTAG name PO1000300 100 Result The state of the output is displayed whose number results from the addition of the content of register 1000300 and the value 100 JC D...

Page 441: ...cation program are processed while an e mail is being sent Only a function call via e mail is not possible While an e mail of a task is being sent all other tasks which invoke the e mail function are...

Page 442: ...gramming 10 13 4 Registers This chapter gives a description of those registers from which you can query the status of e mail processing Topic Page Overview of registers 443 Registers Description 444 I...

Page 443: ...e status of e mail processing Register Description 202930 Web status 292932 IP address of the SMTP server 292933 IP address of the POP3 server 292934 Port number of the SMTP server 292935 Port number...

Page 444: ...s Bit 3 Data file function 1 available Bit 4 Modbus TCP 1 existing Bit 5 Modbus TCP 1 available Bit 7 FTP client 1 available Module register properties Type of access Read Value after reset Depending...

Page 445: ...register lets you read the port number of the SMTP server in the same format as specified in the file EMAIL email ini Module register properties Type of access Read Value after reset Depending on con...

Page 446: ...mail client of the JC 120MC 2 E mail is being compiled and connection with the server is being established 3 E mail has been sent to the server Type of access Read Task ID e mail The ID of the task t...

Page 447: ...stem of the controller The data to be sorted are indirectly addressed through a descriptor using parameter 1 As of JetSym 5 0 system function 50 is outdated Instead apply JetSym STX function QSort The...

Page 448: ...enabled That is bits 4 and 5 in Web Status register 202930 are always set To be able to use the functions described in this chapter the user must be familiar with the following Modbus TCP and support...

Page 449: ...e opened at the same time Modbus TCP only supports transmission of registers with a width of 16 bits From this follows that only the 16 least significant bits are transmitted when 32 bit registers are...

Page 450: ...ster properties Value after reset 100000000 Output offset The basic address for accessing outputs via Modbus TCP is entered into R 272705 Register properties Value after reset 100000000 The Modbus TCP...

Page 451: ...tControl receives from a Modbus TCP client the command write coils specifying output number 205 and the instruction to set this output Register 272705 Output Offset contains value 100000000 Hence outp...

Page 452: ...n JC 120MC is calculated as follows Register number specified in the command plus the content of R 272702 Register Offset write multiple registers Writing register sets The starting register number wi...

Page 453: ...ts blockwise in 16 bit words The starting register number within JC 120MC is calculated as follows Register number specified in the command plus the content of R 272702 Register Offset write coil Enab...

Page 454: ...is calculated as follows Output number specified in the command plus the content of register 272705 Output Offset read write registers Reading writing registers simultaneously The starting register n...

Page 455: ...down the connection is therefore not required Cyclical data transmission is made through the configurable function RemoteScan The inputs and outputs 20001 through 36000 that are combined in the 16 bi...

Page 456: ...least significant bits are transmitted when 32 bit registers are sent When assigning incoming register values to the internal 32 bit registers no sign extension will be carried out As of JetSym 5 0 t...

Page 457: ...transmit the desired data and clear down the connection again If RemoteScan has already established a connection for cyclical data transmission this connection will be used Setting up and clearing do...

Page 458: ...nt Int 61 Function ModbusCRCcheck FramePtr Int Length Int Int 65 67 Function ModbusReadReg Const Ref MbParam MODBUS_PARAM Int 66 68 Function ModbusWriteReg Const Ref MbParam MODBUS_PARAM Int 80 85 Fun...

Page 459: ...s of application for example are Scales Scanners Display elements Frequency inverters Temperature controllers etc This chapter addresses programmers of application programs with experience in data tra...

Page 460: ...460 Jetter AG 10 Programming 10 16 1 Interface This chapter covers the connection to a user programmable serial interface of the JC 120MC Topic Page Serial interface port X11 461 Introduction Contents...

Page 461: ...transmit data not inverted RS 485 transmit receive data not inverted 6 DC 24 V HMI supply voltage 7 SDA RS 422 transmit data inverted RS 485 transmit receive data inverted 8 TxD RS 232 transmit data I...

Page 462: ...eiver Receives data Unused 2 Receiver transmitter Transmits data Receives and transmits data 3 Serial line Twisted line of the serial interface 4 RT Terminating resistor Connect a terminating resistor...

Page 463: ...ength 5 m 60868956 Cable assy 196 8M JetControl to PC with 9 pin Sub D length 8 m 60860011 Cable assy 192 2 5M JetControl to HMI with 15 pin Sub D length 2 5 m 60860012 Cable assy 193 5M JetControl to...

Page 464: ...fact that various hardware drivers have been implemented only one hardware interface is available This means While for example communication via RS 422 is taking place simultaneous and independent co...

Page 465: ...Number Part Function 1 Interface driver Converts signals of different interface standards RS 232 RS 422 RS 485 into internal signal levels 2 Addressee Performs serial parallel conversion 3 Receiving b...

Page 466: ...ext character from the transmit buffer 3 The transmitter performs parallel serial conversion and sends this character to the interface driver using the set communication parameters 4 The interface dri...

Page 467: ...tion parameters are consistent with the settings of the connected device Parity error Jammed data transmission caused by EMC problems defective cables or connectors Check the wiring and connectors Use...

Page 468: ...s the registers associated with the user programmable serial interface These registers are used for the following tasks Parameterizing the interface Sending characters Receiving characters Topic Page...

Page 469: ...respective device e g 103000 Register Description MR 0 Error state MR 1 Protocol MR 2 Baud rate MR 3 Number of data bits per character MR 4 Number of stop bits MR 5 Parity MR 6 Interface standard MR 1...

Page 470: ...ving buffer is full one or more characters have been received Bit 13 Parity error 1 The parity bit of the received character is not correct Bit 14 Framing error 1 The format of the received character...

Page 471: ...r Module register properties Values 5 6 7 8 Value after reset 8 Stop bits This register lets you set the number of stop bits per character Module register properties Values 1 1 stop bit 2 1 5 stop bit...

Page 472: ...r to sending characters from the application program it must be checked whether the transmit buffer is able to accommodate characters This can be checked by reading out MR 11 The transmit buffer funct...

Page 473: ...ts with deleting the character on reading This register shows the oldest character stored in the receive buffer This character is removed from the buffer Thus the character received next can be read o...

Page 474: ...r properties Values 0 65 535 Type of access Read Removes 2 characters from the buffer Takes effect if MR 14 1 Receive buffer 16 bit big endian Read access to this register removes 2 characters from th...

Page 475: ...ues 2 147 483 648 2 147 483 647 Type of access Read Removes 4 characters from the buffer Takes effect if MR 14 3 Receive buffer 32 bit big endian Read access to this register removes 4 characters from...

Page 476: ...476 Jetter AG 10 Programming Error counter This register shows the number of detected errors Module register properties Values 0 2 147 483 647 Type of access Read write clearing MR 19...

Page 477: ...rial interface of the controller for use as user programmable serial interface and how to send receive characters via this interface Topic Page Configuring the interface 478 Sending characters 479 Sen...

Page 478: ...nd remote device is according to the standard of the selected interface To configure the user programmable serial interface proceed as follows Step Action 1 Enter value 1 into MR 2 2 Enter the desired...

Page 479: ...ers via user programmable serial interface proceed as follows Step Action 1 Check the transmit buffer filling level whether there is enough space in the transmit buffer 2 If there is no space in the t...

Page 480: ...es with JetSym When redirecting the instructions DisplayText and DipslayText2 to the user programmable serial interface the following restrictions apply The cursor position will not be evaluated The c...

Page 481: ...omes with JetSym When redirecting instruction DisplayValue to the user programmable serial interface the following restriction applies The cursor position will not be evaluated To send values via user...

Page 482: ...e serial interface has been configured To receive characters via user programmable serial interface proceed as follows Step Action 1 Check the filling level of the receiving buffer to make sure that i...

Page 483: ...ogrammable serial interface has been configured To receive values via user programmable serial interface proceed as follows Step Action 1 Check the filling level of the receive buffer to make sure tha...

Page 484: ...f data exchange via IP networks is required IP addressing e g IP address port number subnet mask TCP e g connection establishment termination data stream data backup UDP e g datagram For communication...

Page 485: ...Jetter AG 485 JC 120MC Programming Topic Page Programming 486 Registers 498 Contents...

Page 486: ...programmable IP interface Feature Description Number of connections 20 Maximum data size 4 000 byte While the controller JC 120MC is processing one of the functions of the user programmable IP interfa...

Page 487: ...ollowing way Result ConnectionInitialize The device JC 120MC processes this function in the following steps Step Description 1 The device JC 120MC closes all open connections of the user programmable...

Page 488: ...IPType UDP IP 1 IPTYPE_UDP TCP IP 2 IPTYPE_TCP IPAddr Valid IP address Required only for TCP IP client IPPort Valid IP port number Will be ignored for UDP IP client Timeout 0 1 073 741 824 ms 0 infin...

Page 489: ...ddress 192 168 75 123 2 If then the network client has accepted the connection the function is terminated and a positive value is returned as handle for further access to the connection the connection...

Page 490: ...is terminated and a negative value is returned If a client is to establish a UDP IP connection to a server you can invoke the function and assign the return value of a variable for further evaluation...

Page 491: ...ction is processed in the following steps Step Description 1 The device JC 120MC sets up a UDP IP communication channel at port 46000 for receiving data 2 If then no error has occurred the function is...

Page 492: ...red only for UDP IP client IPPort Valid IP port number Required only for UDP IP client SendData Address of the data block to be sent 1 4 000 Data block length in bytes The following return values are...

Page 493: ...er evaluation as follows Result ConnectionSendData hConnection IP 192 168 75 123 46000 SendBuffer SendLen With UDP IP there is no connection between two given network clients Therefore with each funct...

Page 494: ...ction ConnectionCreate IPAddr Address of a variable for saving the IP address of the sender Required only for UDP IP server IPPort Address of a variable for saving the IP port number of the sender Req...

Page 495: ...no longer than the specified timeout 2 If then the timeout has elapsed or the connection has been terminated the function is exited and an error message is issued data have been received they are copi...

Page 496: ...n received they are copied to the receiving buffer given along with the data but not exceeding the amount given along with the data Then the function continues with stage 3 3 If then more data have be...

Page 497: ...on ConnectionCreate The following return values are possible Return value 0 Connection terminated and deleted 1 Invalid handle This way you can invoke the function and assign its return value to a var...

Page 498: ...ain the current connection list of the user programmable IP interface These registers can be used for debugging or diagnostic purposes However they can t be used for other functions such as establishi...

Page 499: ...hapter only the last figure of a register number is specified for example MR 1 To determine the complete module register number add to this figure the basic register number of the corresponding device...

Page 500: ...ection details Module register properties Reading values 0 Connection exists 1 Connection does not exist Module register properties Writing values 0 Address the first connection in the list 0 Address...

Page 501: ...Module register properties Values 0 Connection terminated 1 Connection is being established 2 Connection is established 3 TCP IP server Waiting for connection request from client 4 Internal usage Num...

Page 502: ...er of data bytes received via the given connection Since this is a signed 32 bit register and the received bytes are added each time the number range may be exceeded from the positive maximum value to...

Page 503: ...e communication profile and describes the fundamental services and protocols used under CANopen CiA DS 302 Framework for programmable devices CANopen Manager SDO Manager CiA DR 303 Information on cabl...

Page 504: ...d The CANopen STX API can be used Bit 6 1 CANopen support in the JX2 system bus driver is disabled This requires a restart of the controller If you intend to connect to the JX2 system bus JX2 I O and...

Page 505: ...onnected to the JX2 system bus Otherwise the CAN IDs used will overlap with the PDO IDs Important note There is no scanning by the controller To be able to connect more than nine JX2 I O modules the C...

Page 506: ...CanOpenInit 507 STX function CanOpenSetCommand 509 STX function CanOpenUploadSDO 511 STX function CanOpenDownloadSDO 514 STX function CanOpenAddPDORx 517 STX function CanOpenAddPDOTx 522 Heartbeat mo...

Page 507: ...own software version This software version is entered into the index 0x100A in the object directory String up to 255 characters This function transfers the following return values to the higher level...

Page 508: ...essage 2 As soon as the device goes into pre operational status it sends the heartbeat message pre operational If the device is in pre operational state it lets you access the object directory using S...

Page 509: ...ONAL 0x7F CAN_CMD_NMT The heartbeat status is changed for all other devices or for a specific device on the CAN bus Selecting heartbeat states NMT master CAN_NMT_OPERATIONAL 0x01 or CAN_NMT_START 0x01...

Page 510: ...arameters Command not known Task Set the own heartbeat status to operational Result CanOpenSetCommand 0 CAN_CMD_HEARTBEAT CAN_HEARTBEAT_OPERATIONAL Task Set the own heartbeat status and the status of...

Page 511: ...e received Data length for the global variable DataAddr DataLength Int Global variable into which the received value is entered const ref DataAddr ref Busy Int Status of the SDO transmission Int The C...

Page 512: ...al Specifications and Quick Reference in the corresponding manual The following data types can be received Byte types CANopen format Jetter format 1 CANOPEN_INTEGER8 CANOPEN_UNSIGNED8 Byte 2 CANOPEN_I...

Page 513: ...D SDOACCESS_TIMEOUT The task has been timed out because the device with the specified node ID is not responding If the specified node ID does not respond within 1 second the timeout bit is set SDOACCE...

Page 514: ...nt const ref DataAddr ref Busy Int Status of the SDO transmission Int The CanOpenDownloadSDO function has got the following parameters Parameter Description Value CANNo CAN bus number 0 CANMAX NodeID...

Page 515: ...be received Byte types CANopen format Jetter format 1 CANOPEN_INTEGER8 CANOPEN_UNSIGNED8 Byte 2 CANOPEN_INTEGER16 CANOPEN_UNSIGNED16 Word 3 CANOPEN_INTEGER24 CANOPEN_UNSIGNED24 4 CANOPEN_INTEGER32 CAN...

Page 516: ...s been timed out because the device with the given node ID is not responding If the specified node ID does not respond within 1 second the timeout bit is set SDOACCESS_ILLCMD The response to the reque...

Page 517: ...ta length of the global variable VarAddr DataLength Int Global variable into which the received value is entered const ref VarAddr Cycle time for receiving a telegram Event time EventTime Int Minimum...

Page 518: ...alue 0 OK 1 Error when checking parameters 3 DataType is greater than DataLength 4 Insufficient memory This parameter specifies the number of the CAN interface CANNo 0 is assigned to the first interfa...

Page 519: ...ting CAN identifier is 2C0h 40h 280h For CANopen the following CAN identifier distribution is predefined In this case the node number is embedded in the identifier 11 bit identifier binary Identifier...

Page 520: ...L64 n CANOPEN_VISIBLE_STRING CANOPEN_OCTET_STRING CANOPEN_UNICODE_STRING CANOPEN_DOMAIN String The following parameters can be transferred to the function Several parameters can be linked together usi...

Page 521: ...Jetter AG 521 JC 120MC Programming Use 29 bit identifier Default 11 bit identifier...

Page 522: ...er BytePos Int Starting position of the data to be sent DataType Int Data type of the data to be sent Data length of the global variable VarAddr DataLength Int Global variable holding the value to be...

Page 523: ...manual The CANID parameter is used to transfer the CAN identifier The CAN identifier is generated with a macro The CAN identifier depends on the node ID of the other communicating user and on whether...

Page 524: ...10xxxxxxxx 1281 1407 501h 57Fh PDO4 rx 1011xxxxxxxx 1409 1535 581h 5FFh Send SDO 1100xxxxxxxx 1537 1663 601h 67Fh Receive SDO 1110xxxxxxxx 1793 1919 701h 77Fh NMT error control xxxxxxxx Node number 1...

Page 525: ...eral parameters can be linked together using the Or function CANOPEN_ASYNCPDORTRONLY Send asynchronous PDOs by receiving an RTR frame This feature is not yet supported at the moment CANOPEN_ASYNCPDO S...

Page 526: ...Heartbeat monitoring uses the following registers Register Description Data type Attributes 40x001 Own heartbeat status of the device Value range 0 Bootup 4 Stopped 5 Operational 127 Preoperational 2...

Page 527: ...x227 can be displayed Heartbeat monitoring starts on receipt of the first heartbeat including bootup message The DLC Data Length Code of the heartbeat message must be 1 To terminate heartbeat monitori...

Page 528: ...ws an emergency message from a device with node ID 21 Initializing the CAN bus once Defining global variables Var stCanOpenEmergencyMsg ARRAY 5 of CanOpenEmergencyMsg stCanOpenEmergencyStat CanOpenEme...

Page 529: ...r of the bus line CANNo int For error code see CiA DS 301 V4 02 page 60 or CiA DS 4xx device profile ErrorCode word Error register object 0x1001 ErrorRegister byte 5 bytes can be used at the user s di...

Page 530: ...cturer hardware version String const 100A VAR Manufacturer software version String const 100B VAR Node ID Unsigned32 ro 1017 VAR Producer heartbeat time Unsigned16 rw read write 1018 RECORD Identity I...

Page 531: ...structure of the Pre defined Error Field object is shown in the following table Index Subindex Default Description 0x1003 0 0 Number of errors entered in the array s standard error field 1 0 Most rece...

Page 532: ...e given device The structure of the Producer Heartbeat Time object is shown in the following table Index Subindex Default Description 0x1017 0 1 000 ms Heartbeat time The table below lists the device...

Page 533: ...es Data type 40x020 rw Int 40x021 rw Int 40x022 rw Int 40x023 rw Int 40x030 rw Int 40x100 rw bool 40x400 rw bool 40x101 40x227 Node ID 1 127 Status 0 Bootup 4 Stopped 5 Operational 127 Preoperational...

Page 534: ...olling of CANopen capable devices To be able to program user programmable CAN Prim interfaces basic knowledge of Controller Area Networks CAN is required These are some of them Structure of CAN messag...

Page 535: ...the JX2 system bus and the CAN Prim interface certain CAN IDs are earmarked Modules on the JX2 system bus Earmarked CAN IDs For all modules 0x100 0x701 0x702 0x703 0x704 0x705 0x706 0x707 0x708 0x709...

Page 536: ...0x1A5 0x1A6 0x1A7 0x1A8 0x1A9 0x1AA 0x1AB 0x1AC 0x1AD 0x1AE 0x1AF 0x1B0 0x1B1 0x1B2 0x1B3 0x1B4 0x1B5 0x1B6 0x1B7 0x1B8 0x1B9 0x1BA 0x1BB 0x1BC 0x1BD 0x1BE 0x1BF 0x320 0x321 0x322 0x323 0x324 0x325 0...

Page 537: ...3A 0x73B 0x746 0x747 0x748 0x749 0x74A 0x74B 0x74C 0x74D 0x74E 0x74F Festo CP FB modules 0x010 0x110 0x120 0x130 0x140 0x150 0x1E0 0x1F0 0x250 0x260 0x270 0x350 0x360 0x370 0x3B0 LioN S modules 0x2E0...

Page 538: ...0x5CF 0x646 0x647 0x648 0x649 0x64A 0x64B 0x64C 0x64D 0x64E 0x64F 0x746 0x747 0x748 0x749 0x74A 0x74B 0x74C 0x74D 0x74E 0x74F LJX7 CSL 0x481 0x482 0x483 0x484 0x485 0x486 0x487 0x488 0x489 0x48A 0x48B...

Page 539: ...plete CAN message 16 message boxes are available to the user Each of these boxes can be configured either as inbox or as outbox with a specific CAN ID Function Description CAN ID 11 bit or 29 bit Numb...

Page 540: ...f a message box which has been configured as inbox 4 If in R 200010530 message box number 20 of the message box then bit 1 NEW DAT 0 bit 1 NEW DAT becomes 1 proceed with step 5 bit 1 NEW DAT 1 bit 2 O...

Page 541: ...tivate CAN Prim in addition to JX2 system bus 01 The CAN Prim interface and the JX2 system bus are enabled following the next launch of the JX2 system bus This requires a restart of the controller Thi...

Page 542: ...bits 1 The length of sent received CAN IDs is 29 bits Module register properties Type of access Read Takes effect When the CAN Prim interface is enabled CAN Prim command register R 200010501 is used t...

Page 543: ...ox for new CAN messages Command 10 forces manual checking of pending messages By now issuing command 10 is not obligatory any more Module register properties Takes effect When the CAN Prim interface i...

Page 544: ...message box containing new data 0 15 Type of access Read access removes characters Value after reset 1 Takes effect When the CAN Prim interface is enabled Global receiving mask The global receiving ma...

Page 545: ...010506 Global receiving mask are for setting a CAN ID range which is then forwarded to the CAN Prim interface Module register properties Values In the case of 11 bit CAN IDs 0 0x7FF In the case of 29...

Page 546: ...10710 10 R 200010730 11 R 200010750 12 R 200010770 13 R 200010790 14 R 200010810 15 R 200010830 20 registers with identical functions are assigned to each message box The register number of individual...

Page 547: ...mber 20 Received CAN ID R 200010545 message box number 20 Not used R 200010546 message box number 20 Not used R 200010547 message box number 20 Not used R 200010548 message box number 20 Not used R 20...

Page 548: ...d Bit 0 1 in R 200010530 message box number 20 2 Disabling the message box The message box is disabled Result Bit 0 0 in R 200010530 message box number 20 3 Sending CAN messages A CAN message is sent...

Page 549: ...age box as outbox for RTR frames Module register properties Takes effect When the CAN Prim interface is enabled CAN ID In the case of an outbox a CAN message is sent using the CAN ID In the case of an...

Page 550: ...AN messages are entered here Module register properties Type of access Read Values In the case of 11 bit CAN IDs 0 0x7FF In the case of 29 bit CAN IDs 0 0x1FFFFFFF Takes effect When the CAN Prim inter...

Page 551: ...an outbox a CAN message is sent with these data bytes In the case of an inbox the received data bytes are entered Module register properties Values Data of data bytes 0 255 Takes effect When the CAN...

Page 552: ...er the CAN ID of the message box has been reserved by the system bus or not Result Bit 0 1 in R 200010510 2 Disable the message box The selected message box in R 200010502 is disabled Result Bit 0 0 i...

Page 553: ...sage boxes for receiving new messages The CAN Prim interface automatically checks the inbox for new CAN messages Command 10 forces manual checking of pending messages By now issuing command 10 is not...

Page 554: ...is discarded Bit 3 Sending error 1 An error has occurred when sending a CAN message from this message box Module register properties Type of access Read Takes effect When the CAN Prim interface is en...

Page 555: ...00010510 Number of data bytes In the case of an outbox a CAN message is sent with this number of data bytes In the case of an inbox the number of received data bytes is entered Module register propert...

Page 556: ...ssage boxes If the CAN ID length then is 11 bits command register 200010501 8 is 29 bits command register 200010501 9 To configure a message box as outbox proceed as follows Step Action 1 Select a mes...

Page 557: ...t transmission of the CAN message R 200010563 3 Result if sending was successful Bit 3 0 in R 200010550 To configure a message box for receiving messages proceed as follows Step Action 1 Select a mess...

Page 558: ...box which has received a new CAN message Message box number R 200010504 3 Check the message box for overflow If then Bit 2 OVERRUN 1 in R 200010530 an overflow has occurred 4 Read the number of receiv...

Page 559: ...ou can use a mask to expand CAN IDs of a message box which are to be received Each message box has got a CAN ID and a CAN ID mask of its own If then bit 0 in R 200010542 message box number 20 the bit...

Page 560: ...rames and another message box for receiving them In this manual message box 0 is used for sending and message box 1 for receiving RTR frames 2 Configure message box 0 as outbox for RTR frames R 200010...

Page 561: ...1 NEW DAT 1 in R200010550 the controller has received the reply to the RTR frame Proceed with step 3 3 Read the number of received bytes Number of bytes R 200010553 4 Read the received bytes Data byte...

Page 562: ...ies Copying files Deleting files The AutoCopy function executes the following functions Copying files from the FTP server Copying files to the FTP server Deleting files Changing directories Creating a...

Page 563: ...TNAME SuffixType 0 Name JetControl120MC PORTS JetIPBase 50000 JVMDebug 52000 FILES AutoCopyIni SD project_name autocopy ini The AutoCopy function only makes sense if the data to be copied have been st...

Page 564: ...ntroller data 11 1 Operating principle This chapter describes how to start and execute the AutoCopy function Topic Page Activating the AutoCopy feature 565 Executing AutoCopy commands 566 Terminating...

Page 565: ...erverzeichnis des Stammverzeichnisses SD auf der SD Karte sein Instead of autocopy ini you can name the file arbitrarily In this case it is prerequisite that the configuration file config ini contains...

Page 566: ...ied by the entry AutoCopyIni in the configuration file System config ini 2 The controller reads the values from section OPTIONS 3 The controller reads the command and its parameters from the section C...

Page 567: ...FF The OS initializes the realtime clock and file system 5 R E D1 D2 SD State 1Hz ON ON OFF The OS initializes the modules on the JX3 and JX2 system bus and the SD card 6 R E D1 D2 SD State 1Hz OFF ON...

Page 568: ...rocessing the AutoCopy command is completed To terminate the AutoCopy mode proceed as follows Step Action 1 Switch the controller off 2 The SD card can now be removed not required 3 Set the mode selec...

Page 569: ...s you can set values then used by the AutoCopy function You can insert blank lines as required Introduce comment marks by oder The command file has two section types In the OPTIONS section you can mak...

Page 570: ...SD autocopy log Function Complete name of the log file Allowed values All allowed file names Directory exists Illegal values Incorrect filename Non existent directory In case of illegal value or missi...

Page 571: ...e commands in order of their section names Starting with the command under section COMMAND_1 Ending with the command under the section with the value of entry CommandCount from section OPTIONS Each co...

Page 572: ...available Illegal values Invalid directory name Non existent higher level directory Name of an already existing directory In the event of an illegal value The controller does not generate the director...

Page 573: ...leRemove Function Deleting a file Parameter name Path Parameter value Complete name of the file Allowed values All allowed file names Illegal values Incorrect filename In the event of an illegal value...

Page 574: ...ete the data file which may exist and create a new data file 1 Append the file to an existing one If no file exists the controller creates a new data file Illegal values 0 1 In the event of an illegal...

Page 575: ...DaFileWrite DaFile SD MyTestData2 da Append 1 Type Register First 1000001 Last 1000999 The following commands are available for access via network using FTP Command FtpConnect Function Establishing a...

Page 576: ...ile Non existent destination directory In the event of an illegal value The controller does not copy the file It enters the error into the log file Example COMMAND_8 Command FtpFileRead ServerFile app...

Page 577: ...error into the log file Example COMMAND_12 Command FtpDirChange ServerDir Data MyTestData Command FtpDirCreate Function Creating a subdirectory in the FTP server Parameter name ServerDir Parameter val...

Page 578: ...irectory names The directory is empty Illegal values Invalid directory name Directory is not empty In the event of an illegal value The controller does not delete the directory It enters the error int...

Page 579: ...a short instruction sheet to the plant operator Once the update is completed the operator is to return the SD card This example is based on the following configuration R E D1 D2 JX3 AO4 X51 X52 I1 I3...

Page 580: ...autocopy log LogAppend 0 update operating system of controller COMMAND_1 Command FileCopy Source SD OS JC 340_1 04 0 00 os Destination System OS op_system os update operating system of JX3 AO4 module...

Page 581: ...AND_5 Command FileCopy Source SD UserProgs start ini Destination app start ini copy user program COMMAND_6 Command FileCopy Source SD UserProgs userprogtest es3 Destination app userprogtest userprogte...

Page 582: ...c copying of controller data 11 3 Log file This chapter covers the structure and contents of the log file into which the device enters the outcome of the respective commands Topic Page File contents 5...

Page 583: ...start ini 63 byte 6 Ok FileCopy SD UserProgs userprogtest es3 app userprogtest userprogtest es3 169 byte 7 Error DaFileRead SD UserData MyTestData da Command statistics Total 7 Ok 5 Warning 1 Error 1...

Page 584: ...584 Jetter AG 11 Automatic copying of controller data 11 4 Data files This chapter covers data files where register and flag values are stored Topic Page File format 585 Introduction Contents...

Page 585: ...consists of the following elements ID of the variable at the beginning of the line Now follows the number of the variable separated by a blank or tab Then follows the value of the variable separated...

Page 586: ......

Page 587: ...120MC You can download operating systems from the Jetter AG homepage http www jetter de For OS download please turn to the respective product information page The following devices within a system equ...

Page 588: ...eral options to transfer the OS file to the controller From within the programming tool JetSym Via FTP connection From an SD card From the application program Topic Page OS update by means of JetSym 5...

Page 589: ...ait for the OS update or the OS must already be running Note Make sure the controller remains energized To update the OS proceed as follows Step Action 1 Select in the JetSym menu Build the menu item...

Page 590: ...stem rights are at hand The operating system of the JC 120MC must be running Note Make sure it remains energized To update the OS proceed as follows Step Action 1 Open an FTP connection to the JC 120M...

Page 591: ...update Automatic OS update from an SD card An automatic OS update of the controller from the SD card can be carried out using the AutoCopy function For a detailed description turn to the chapter AutoC...

Page 592: ...ction 1 Copy the OS file to a file of any name and of the extension os in the directory System OS 2 To activate the transferred OS for example by writing to the system command register re boot the con...

Page 593: ...120MC You have got several options to transfer the OS file to the JX module From within the programming tool JetSym Via FTP connection From an SD card From the application program Topic Page OS updat...

Page 594: ...S of a JX module proceed as follows Step Action 1 Select in the JetSym menu Build the menu item Update OS Alternative In the Advanced Configuration dialog of the Hardware Manager click on the button U...

Page 595: ...ected JX modules without errors Note Make sure the controller and the JX modules remain energized To update the OS of a JX module proceed as follows Step Action 1 Establish an FTP connection to the co...

Page 596: ...Automatic OS update from an SD card An automatic OS update of a JX2 or JX3 module from the SD card can be carried out using the AutoCopy function For a detailed description turn to the chapter AutoCo...

Page 597: ...s with the connected JX modules without errors Note Make sure the controller and the JX modules remain energized To update the OS of a JX module proceed as follows Step Action 1 Copy the OS file to a...

Page 598: ...ce file in SourceName 3 Set the name of the target file in DestinationName 4 Set the flag UpdateIt Task OSupdate Autorun Var ResCopy Int End_Var Loop UpdateIt False When UpdateIt Continue ResCopy File...

Page 599: ...e program that is to be executed This chapter requires knowledge on how to create application programs in JetSym and how to transmit them via the file system of the JC 120MC Topic Page Application pro...

Page 600: ...s subdirectory assigning the extension es3 to it The path and file names are always converted into lower case letters This file is a text file with one section holding two entries Element Description...

Page 601: ...file by JetSym 2 Create the desired directory on the SD card 3 Store the application program file to the desired directory 4 Enter the path to the application program file and the program name into th...

Page 602: ...be in RUN position The application program is loaded by the controller s OS as follows Step Description 1 The OS reads the file app start ini from the internal flash disk 2 The OS evaluates the Proje...

Page 603: ...ing language STX A description of the following Motion API commands can be found in the Application Notes listed below Motion API command Application Note Reading out a cam disc APN 047 The Motion API...

Page 604: ......

Page 605: ...egisters non volatile integer float 1000000 1119999 JC 120 MC Application registers non volatile integer float with option R 100xx0000 100xx9999 JX3 modules xx 02 17 200002000 200029999 JX2 system bus...

Page 606: ...102920 Milliseconds 102921 Seconds 102922 Minutes 102923 Hours 102924 Day of the week 0 Sunday 102925 Day 102926 Month 102927 Year 102928 Read write trigger Serial interface 103000 Error state bit cod...

Page 607: ...7501 Command 30 Read statistics Sector statistics 107510 Total 107511 Used 107512 Blocked 107513 Unassigned Byte statistics 107520 Total 107521 Used 107522 Blocked 107523 Unassigned CPU backplane modu...

Page 608: ...ve called 200061 Error numbers of NetConsistency see R 470040 200010 Enhanced error register 2 bit coded Bit 1 Error in the MC object 200168 Bootloader version IP format 200169 OS version IP format 20...

Page 609: ...60 210063 Length of scheduler table 210064 Index in scheduler table 210065 Task ID in scheduler table 210070 Task ID for R210071 210071 Timer number 0 31 210072 Manual triggering of a timer event bit...

Page 610: ...1 Error in connection with a subscription Bit 7 1 Subscriber is running 250001 Command 102 Restart 105 STOPP 110 Acknowledge error 250002 Subscription ID of the last error 250003 Number of subscripti...

Page 611: ...ror stop code 380008 Number of codes until stop 380029 Group index to error list 380030 380093 64 error entries I O networking Status registers 390000 node 10 Error register 390001 node 10 Enhanced er...

Page 612: ...xx9 Registers on I O modules compatibility mode xx Module number 2 00 15 100004000 100004367 Inputs outputs mapped to registers see below 100xx0000 100xx9999 Registers on I O modules direct access xx...

Page 613: ...ber indirect access 200010503 FIFO buffer occupancy 200010504 FIFO data 200010506 Global receive mask 200010507 Global receiving ID 200010509 CAN Prim version IP Indirect access 200010510 Message box...

Page 614: ...116 201 208 4062 201 208 209 216 4063 209 216 301 308 4064 301 308 309 316 4065 309 316 401 408 4066 401 408 409 416 4067 409 416 501 508 4068 501 508 509 516 4069 509 516 601 608 4070 601 608 609 616...

Page 615: ...609 1616 4229 1509 1516 1601 1608 1609 1616 1701 1708 4230 1601 1608 1609 1616 1701 1708 1709 1716 4231 1609 1616 1701 1708 1709 1716 1801 1808 4232 1701 1708 1709 1716 1801 1808 1809 1816 4233 1709 1...

Page 616: ...1808 4355 1809 1816 4356 1901 1908 4357 1909 1916 4358 2001 2008 4359 2009 2016 4360 2101 2108 4361 2109 2116 4362 2201 2208 4363 2209 2216 4364 2301 2308 4365 2309 2316 4366 2401 2408 4367 2409 2416...

Page 617: ...s 203100 0 31 203101 32 63 203102 64 95 203103 96 127 203104 128 159 203105 160 191 203106 192 223 203107 224 255 16 combined flags 203108 0 15 203109 16 31 203110 32 47 203111 48 63 203112 64 79 2031...

Page 618: ...1000023 992 1023 1000024 1024 1055 1000025 1056 1087 1000026 1088 1119 1000027 1120 1151 1000028 1152 1183 1000029 1184 1215 1000030 1216 1247 1000031 1248 1279 1000032 1280 1311 1000033 1312 1343 10...

Page 619: ...Sending NetCopyList JetSym STX functions System function Corresponding JetSym STX function 4 Function Bcd2Hex Bcd Int Int 5 Function Hex2Bcd Hex Int Int 50 Function QSort DataPtr Int ElementCnt Int El...

Page 620: ...Data signal for CAN bus 1 3 GND Reference potential 4 CMODE1 Commissioning 5 Unused 6 CAN L_2 Data signal for CAN bus 2 7 CAN H Data signal for CAN bus 1 8 CAN H_2 Data signal for CAN bus 2 9 Unused...

Page 621: ...Jetter AG 621 JC 120MC Appendix Appendix This appendix contains electrical and mechanical data as well as operating data Topic Page Technical specifications 622 Index 630 Introduction Contents...

Page 622: ...mechanical data as well as on operating data of the JC 120MC Topic Page JC 120MC Technical data 623 Physical dimensions 625 Operating parameters Environment and mechanics 626 Operating parameters Encl...

Page 623: ...to the JC 120MC Parameter Description Current consumption absorbed from the logic voltage of the JX3 system bus I5V max 1 200 mA Power consumption absorbed from the logic voltage of the JX3 system bus...

Page 624: ...etter AG Appendix Parameter Description Power reserve if the controller has been running for at least 1 hour Minimum 1 week Typical 2 weeks Deviation Maximum 1 min per month Technical data Real time c...

Page 625: ...st be enough room to press the latches of the backplane module when replacing modules Minimum clearance above 30 mm Minimum clearance below 25 mm The width of the JC 120MC is 56 mm When the JC 120MC i...

Page 626: ...ctroconductive contaminants Maximum operating altitude 3 000 m above sea level DIN EN 61131 2 Parameter Value Standard Free falls withstanding test For weight 10 kg Height of fall units within packing...

Page 627: ...30 1 000 MHz limit 37 dB V m at 10 m distance Class B DIN EN 61000 6 3 DIN EN 61131 2 DIN EN 55011 Parameter Value Standard Magnetic field with mains frequency 50 Hz 30 A m DIN EN 61131 2 DIN EN 61000...

Page 628: ...1131 2 DIN EN 61000 6 2 DIN EN 61000 4 6 Bursts Test voltage 2 kV tr tn 5 50 ns Repetition rate 5 kHz Criterion A DIN EN 61131 2 DIN EN 61000 6 2 DIN EN 61000 4 4 Surge voltages asymmetric line to ear...

Page 629: ...Hz Source impedance 150 Criterion A DIN EN 61131 2 DIN EN 61000 6 2 DIN EN 61000 4 6 Bursts Test voltage 1 kV tr tn 5 50 ns Repetition rate 5 kHz Criterion A DIN EN 61131 2 DIN EN 61000 6 2 DIN EN 610...

Page 630: ...tion 139 Properties 136 Formatting and checking 153 Sorting data 447 Disposal 14 List of documentation 23 E Real time clock 295 EDS EDS file 31 EDS registers 35 Inserting real time controller values 1...

Page 631: ...1 62 Locating faults CRC calculation 258 Explicit data exchange 257 Remote node 260 Subscription 259 Warnings and errors 266 M Mechanical installation Installing the controller JC 120MC 69 Physical di...

Page 632: ...1 546 552 Restrictions 535 Transmitting RTR telegrams 560 Use 556 Using CAN ID masks 559 User programmable IP interface 484 Programming the IP interface 486 Registers Overview 499 User programmable se...

Page 633: ......

Page 634: ...Jetter AG Graeterstrasse 2 71642 Ludwigsburg Germany Phone 49 7141 2550 0 Fax 49 7141 2550 425 info jetter de www jetter de We automate your success...

Reviews: