WO2020003438A1 - Logging device and sampling method - Google Patents

Logging device and sampling method Download PDF

Info

Publication number
WO2020003438A1
WO2020003438A1 PCT/JP2018/024594 JP2018024594W WO2020003438A1 WO 2020003438 A1 WO2020003438 A1 WO 2020003438A1 JP 2018024594 W JP2018024594 W JP 2018024594W WO 2020003438 A1 WO2020003438 A1 WO 2020003438A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
processing unit
communication data
communication
logging
Prior art date
Application number
PCT/JP2018/024594
Other languages
French (fr)
Japanese (ja)
Inventor
憲司 渡邉
伸夫 長坂
英和 金井
Original Assignee
株式会社Fuji
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 株式会社Fuji filed Critical 株式会社Fuji
Priority to CN201880095054.7A priority Critical patent/CN112334739B/en
Priority to PCT/JP2018/024594 priority patent/WO2020003438A1/en
Priority to JP2020526805A priority patent/JP6963107B2/en
Publication of WO2020003438A1 publication Critical patent/WO2020003438A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D9/00Recording measured values

Definitions

  • the present disclosure relates to a logging device for sampling communication data and a sampling method.
  • a logging device for storing digital signals (for example, Patent Document 1).
  • a comparator determines the logical level of a multi-channel digital signal, and samples the output signal of the comparator with a sampling circuit.
  • the logging device stores a detection signal detected by the sampling circuit for each sampling time in a memory.
  • the present disclosure has been made in view of the above problems, and has as its object to provide a logging device and a sampling method capable of performing sampling according to a communication speed.
  • the present disclosure is directed to an input unit for inputting a plurality of types of communication data having different communication speeds transmitted by a device to be logged, and the plurality of input data input via the input unit. And a sampling unit that samples each type of communication data at a sampling time corresponding to the communication speed.
  • the present disclosure has an input step of inputting a plurality of types of communication data having different communication speeds transmitted by a device to be logged, and inputting the data through the input step.
  • the logging device and the sampling method of the present disclosure it is possible to perform sampling according to the communication speed for each communication data having different communication speeds.
  • FIG. 2 is a diagram illustrating a hardware configuration of a logging device according to the embodiment.
  • FIG. 3 is a diagram illustrating an internal block of the FPGA. It is a figure showing the state where a logging device was connected to a mounting device of logging object.
  • FIG. 2 is a perspective view illustrating a schematic configuration of a mounting device and a loader.
  • FIG. 3 is a diagram illustrating each connector and a sampling time for sampling communication data input from each connector.
  • FIG. 4 is a diagram illustrating a format of data stored by a logging selector processing unit.
  • FIG. 4 is a diagram for explaining association of communication data output from a buffer circuit.
  • FIG. 4 is a diagram illustrating information added to data to be stored.
  • FIG. 9 is a diagram illustrating a trigger condition.
  • FIG. 2 is a diagram illustrating a data format of communication data transmitted and received on an EtherCAT (registered trademark) network. It is a figure which shows the state which arranged the logging device in the mounting device of the logging object of another example.
  • EtherCAT registered trademark
  • FIG. 1 shows a hardware configuration of a logging device 10 of the present embodiment.
  • FIG. 2 shows an internal block of the FPGA 11 included in the logging device 10.
  • the logging device 10 includes an FPGA 11, a power supply circuit 13, a DDR memory 15, a nonvolatile memory 17, and various connectors.
  • the FPGA 11 includes, for example, a programmable logic device such as a Field Programmable Gate Array and a CPU.
  • the FPGA 11 has various circuit blocks shown in FIG.
  • the FPGA 11 constructs a circuit block such as the logging selector processing unit 51 based on the configuration information (configuration data) stored in the nonvolatile memory 17, for example.
  • the FPGA 11 performs a logging process by the logging selector processing unit 51 and the like.
  • the logging selector processing unit 51 and the like are not limited to the logic circuit of the FPGA 11, and may be, for example, a logic circuit of a programmable logic device (PLD) or a composite programmable logic device (CPLD).
  • PLD programmable logic device
  • CPLD composite programmable logic device
  • the logging selector processing unit 51 and the like are not limited to logic circuits, and may be integrated circuits for specific applications such as ASICs. Further, the logging selector processing unit 51 and the like may be realized by software instead of hardware
  • the FPGA 11 includes a trigger control processing unit 53, an ENC processing unit 55, a UART processing unit 57, an M2 processing unit 59, a 100base-tx processing unit 61, a high-speed PIO processing unit 62, a low-speed PIO processing unit 63, an ADC processing unit 64, and the like. ing.
  • the trigger control processing unit 53 issues a logging start instruction as described later.
  • the ENC processing unit 55 and the like execute sampling and protocol analysis of communication data input from each connector.
  • the power supply circuit 13 is a circuit that functions as a power supply for the logging device 10.
  • the power supply circuit 13 includes, for example, an AC / DC conversion circuit and the like, and receives power from a commercial power supply or the like via a power supply connector 18.
  • the power supply circuit 13 supplies the received power to various devices of the logging device 10.
  • the configuration of the power supply of the logging device 10 is not particularly limited.
  • the logging device 10 may include a rechargeable battery, or may be configured to receive wireless power supply.
  • the logging device 10 includes various connectors for connecting to a device to be logged and other devices. Note that the types and numbers of connectors of the logging device 10 shown in FIGS. 1 and 2 are examples.
  • the RS-232C connector 20 is connected to the FPGA 11 via the RS-232C driver IC 22.
  • the RS-232C driver IC 22 is a driver circuit that performs communication conforming to the RS-232C standard, and executes, for example, determination of a logical value of a digital signal input from the RS-232C connector 20.
  • the RS-232C driver IC 22 is connected to the logging selector processing unit 51 via the trigger control processing unit 53 of the FPGA 11.
  • the RS-232C connector 20 is connected to, for example, a personal computer (hereinafter, simply referred to as “PC”) 98 (see FIG. 3). The user can make settings for the logging device 10 by operating the PC 98, for example.
  • PC personal computer
  • the trigger control processing unit 53 instructs the logging selector processing unit 51 to start logging based on, for example, an instruction signal input from the PC 98 connected to the RS-232C connector 20.
  • the trigger control processing unit 53 is configured to input an instruction signal for instructing start of logging from, for example, the ENC processing unit 55, the UART processing unit 57, the M2 processing unit 59, and the like.
  • the trigger control processing unit 53 instructs the logging selector processing unit 51 to start logging based on the instruction signal input from the ENC processing unit 55 and the like.
  • the logging device 10 also includes six ABS encoder connectors 24. Each of the ABS encoder connectors 24 is connected to the FPGA 11 via an RS-485 driver IC 25.
  • the ABS encoder connector 24 is connected to, for example, a cable obtained by branching a communication line and a GND line in a communication cable of the RS-485 standard, and inputs communication data compliant with the RS-485 standard.
  • the RS-485 driver IC 25 determines the logical value of communication data based on the RS-485 standard, and outputs a processed digital signal to the FPGA 11. As a result, the FPGA 11 can receive communication data from the logging target communication cable of the RS-485 standard, bypassing the communication data.
  • the method of connecting the logging device 10 to a device to be logged or the like is not particularly limited.
  • the ABS encoder connector 24 may be configured to include a probe, a glamper, or the like for connecting to a terminal of a device to be logged.
  • FIG. 3 shows a state in which the logging device 10 is connected to an electronic component mounting device (hereinafter, may be abbreviated as “mounting device”) 81 which is a device to be logged.
  • FIG. 4 is a perspective view illustrating a schematic configuration of the mounting device 81 and the loader 82.
  • FIG. 3 omits a part of a communication cable and a monitor cable in order to avoid complicating the drawing.
  • the left-right direction of the mounting device 81 is referred to as an X direction
  • the front-rear direction is referred to as a Y direction
  • a direction perpendicular to the X direction and the Y direction is a vertical direction (Z direction). This will be described.
  • the mounting device 81 is a device for mounting electronic components on the circuit board 110.
  • the mounting device 81 configures a production line by, for example, a plurality of mounting devices 81 arranged in the X direction.
  • the mounting device 81 includes a base 113 and a module 115 provided on the base 113.
  • the base 113 is connected to the bases 113 of the adjacent mounting devices 81.
  • the module 115 is, for example, slidable in the front-back direction with respect to the base 113, and is replaceable with another module 115.
  • the module 115 includes a main body 83, a substrate transfer device 117, a feeder stand 119, a head moving mechanism 84, and a head 85.
  • the main unit 83 includes a controller 89 that controls the mounting device 81 in an integrated manner.
  • the board transfer device 117 is provided in the module 115 and transfers the circuit board 110 in the X direction.
  • the feeder stand 119 is provided on the front surface of the module 115, and is an L-shaped stand when viewed from the side.
  • the feeder stand 119 includes a plurality of slots (not shown) arranged in the X direction. In each slot of the feeder stand 119, a feeder 121 for supplying an electronic component is mounted.
  • the feeder 121 is, for example, a tape feeder that supplies electronic components from a tape that accommodates electronic components at a predetermined pitch.
  • the head unit 85 includes a suction nozzle 85A for sucking the electronic component supplied from the feeder 121, and mounts the electronic component sucked by the suction nozzle 85A on the circuit board 110.
  • the head moving mechanism 84 moves the head 85 to any position in the X and Y directions. More specifically, the head moving mechanism 84 includes an X-axis slide 86 for moving the head unit 85 in the X direction, and a Y-axis slide 87 for moving the head unit 85 in the Y direction.
  • the X-axis slide 86 drives the linear motor 91 (see FIG. 3) to move the head unit 85 in the X direction inside the module 115 (above the main body 83).
  • the X-axis slide 86 is attached to the Y-axis slide 87.
  • the Y-axis slide 87 drives the linear motor 91 (see FIG. 3) and moves in the Y direction inside the module 115 (above the main body 83).
  • the X-axis slide 86 moves to an arbitrary position in the Y direction based on the driving of the linear motor 91 of the Y-axis slide 87.
  • the head 85 moves to an arbitrary position in the X direction based on the driving of the linear motor 91 of the X-axis slide 86. Therefore, the head 85 moves to an arbitrary position above the main body 83 with the driving of the X-axis slide 86 and the Y-axis slide 87.
  • the controller 89 of the main unit 83 receives a linear scale signal LSD, which is positional information, from the linear scale 92 (see FIG. 3) of the linear motor 91 via the amplifier unit 93 of the main unit 83.
  • the controller 89 controls the amplifier 93 based on the linear scale signal LSD, and controls the power supplied to the linear motor 91 and the like. Thereby, the controller 89 can control the position of the head unit 85 in the XY directions.
  • the head unit 85 includes a plurality of suction nozzles 85A, and includes a plurality of (for example, six) electromagnetic motors 95 as driving sources for changing the overall positions of the plurality of suction nozzles 85A and the positions of the individual suction nozzles 85A.
  • a plurality of (for example, six) electromagnetic motors 95 as driving sources for changing the overall positions of the plurality of suction nozzles 85A and the positions of the individual suction nozzles 85A.
  • an ABS (absolute type) encoder 96 is attached to each electromagnetic motor 95.
  • the controller 89 controls the amplifier 93 based on the encoder signal ENCD received from the encoder 96 via the amplifier 93, and controls the power supplied to the electromagnetic motor 95, similarly to the linear motor 91 described above. Thereby, the controller 89 can control the operation of each suction nozzle 85A of the head unit 85.
  • the head 85 is attached to the X-axis slide 86 via a connector, is detachable with one touch, and can be changed to a different type of head 85, for example, a dispenser head.
  • a camera 103 is attached to each of the head unit 85 and the Y-axis slide 87 as an imaging device.
  • FIG. 4 shows only the camera 103 of the head unit 85.
  • an upper guide rail 123, a lower guide rail 125, a rack gear 127, and a non-contact power feeding coil 129 are provided on the front surface of the base 113.
  • the upper guide rail 123 is a rail having a U-shaped cross section extending in the X direction, and has an opening facing downward.
  • the lower guide rail 125 is an L-shaped cross-section rail extending in the X direction, and has a vertical surface attached to the front surface of the base 113 and a horizontal surface extending forward.
  • the rack gear 127 is a gear that is provided below the lower guide rail 125, extends in the X direction, and has a plurality of vertical grooves formed on the front surface.
  • the upper guide rail 123, the lower guide rail 125, and the rack gear 127 can be detachably connected to the upper guide rail 123, the lower guide rail 125, and the rack gear 127 of the adjacent mounting device 81.
  • the non-contact power feeding coil 129 is provided above the upper guide rail 123 and is a coil arranged along the X direction, and supplies power to the loader 82.
  • the loader 82 is a device that automatically replenishes and collects the feeder 121 with respect to the mounting device 81, and includes a gripper (not shown) that clamps the feeder 121.
  • the loader 82 is provided with an upper roller (not shown) inserted into the upper guide rail 123 and a lower roller (not shown) inserted into the lower guide rail 125. Further, the loader 82 is provided with a motor as a drive source. A gear that meshes with the rack gear 127 is attached to the output shaft of the motor.
  • the loader 82 includes a power receiving coil that receives power from the non-contact power feeding coil 129 of the mounting device 81. The loader 82 supplies the electric power received from the non-contact power supply coil 129 to the motor.
  • the loader 82 can move in the X direction (left-right direction) by rotating the gear by the motor. Further, the loader 82 can move in the X direction while rotating the rollers in the upper guide rail 123 and the lower guide rail 125 and maintaining the position in the vertical direction and the front-back direction.
  • the plurality of mounting devices 81 constituting the production line start the mounting operation of the electronic components based on the management of the production line management computer (not shown).
  • the mounting device 81 performs the mounting operation of the electronic component by the head unit 85 while transporting the circuit board 110.
  • the management computer monitors the number of remaining electronic components of the feeder 121. For example, when the management computer determines that the supply of the feeder 121 is necessary, the management computer displays on the screen an instruction to set the feeder 121 containing the component type that needs the supply to the loader 82. The user checks the screen and sets the feeder 121 on the loader 82. When the management computer detects that the desired feeder 121 has been set in the loader 82, it instructs the loader 82 to start a replenishment operation.
  • the loader 82 moves to the front of the mounting device 81 that has received the instruction, and mounts the feeder 121 set by the user in the slot of the feeder stand 119 while holding the feeder 121 with the gripping portion. Thus, a new feeder 121 is supplied to the mounting device 81. Further, the loader 82 holds the feeder 121, which has run out of components, with the grip portion, pulls it out from the feeder stand 119, and collects it. In this way, the supply of a new feeder 121 and the collection of a feeder 121 that has run out of parts can be automatically performed by the loader 82.
  • the logging device 10 is connected between the main unit 83 and other devices (the head unit 85, the X-axis slide 86, and the Y-axis slide 87).
  • the location and the position where the logging device 10 is installed are not particularly limited.
  • the logging device 10 may be arranged in the mounting device 81 and connected between the main body 83 and the X-axis slide 86 or the like.
  • the logging device 10 may be arranged outside the mounting device 81 and connected to each device of the mounting device 81.
  • the main unit 83 communicates with the encoder 96 by communication using the communication protocol of HDLC (High-Level Data Link Control) according to the RS-485 standard, and transmits and receives the encoder signal ENCD.
  • the encoder signal ENCD is a command command for the encoder 96 transmitted from the main body 83, position information transmitted from the encoder 96, and the like.
  • each of the ABS encoder connectors 24 is connected to a communication cable for the encoder signal ENCD.
  • the FPGA 11 is provided with an ENC processing unit 55 corresponding to each of the RS-485 driver ICs 25 (see FIG. 2).
  • Each of the ENC processing units 55 samples the encoder signal ENCD.
  • the ENC processing unit 55 can analyze a communication protocol suitable for a manufacturer and a series of the encoder 96, for example, and can convert the data into a common data format.
  • the ENC processing unit 55 outputs a processing result as data in which 64 BITs (see FIG. 6) constitute one block.
  • the $ ENC processing unit 55 is connected to the logging selector processing unit 51 via a FIFO (First @ In, $ First @ Out) buffer circuit 54.
  • the buffer circuit 54 can accumulate 64 bits of data according to the size of the output data of the ENC processing unit 55.
  • the logging selector processing unit 51 inputs data for each 64 BIT via the buffer circuit 54.
  • the logging selector processing unit 51 selectively receives communication data from the ENC processing unit 55, the UART processing unit 57, and the like according to the settings.
  • the UART processing unit 57, the M2 processing unit 59, the 100base-tx processing unit 61, and the like execute sampling and the like in the same manner as the ENC processing unit 55.
  • the logging device 10 includes an RS-232C connector 26.
  • the RS-232C connector 26 is connected to, for example, a cable obtained by branching a communication line and a GND line of a communication cable of the RS-232C standard, and inputs communication data of communication conforming to the RS-232C standard.
  • the RS-232C connector 26 is connected to the FPGA 11 via an RS-232C driver IC 27.
  • the RS-232C driver IC 27 is connected to the logging selector processing unit 51 via the UART processing unit 57 and the buffer circuit 54 of the FPGA 11.
  • the RS-232C connector 26 is, for example, a connector for inputting a detection signal of a sensor provided in the mounting device 81 and the like.
  • the logging device 10 transmits the linear scale signal LSD to the linear scale signal LSD.
  • the RS-232C connector 26 is connected to the communication cable.
  • the logging selector processing unit 51 of the FPGA 11 receives the linear scale signal LSD sampled by the UART processing unit 57.
  • the controller 89 controls the slave 101 provided on each of the head unit 85, the X-axis slide 86, and the Y-axis slide 87 via an industrial network.
  • the slave 101 is connected to, for example, a sensor or a relay provided in the head unit 85 or the like.
  • the controller 89 controls the amplifier 93 via an industrial network.
  • the industrial network referred to here is, for example, a device that can control a device serving as a slave by reducing the wiring of a communication cable.
  • the industrial network is, for example, industrial Ethernet (registered trademark, 100base-tx communication, etc.) such as MECHATROLINK (registered trademark) -III, EtherCAT (registered trademark).
  • the industrial network is MECHATROLINK®-II, CC-Link®, CUNET®, or the like.
  • the logging device 10 includes an M2 connector 28.
  • the M2 connector 28 is, for example, a connector that is connected to a communication cable that performs communication conforming to the MECHATROLINK (registered trademark) -II standard. For example, it is connected to a communication cable between the controller 89 and the slave 101 or between the controller 89 and the amplifier unit 93.
  • the M2 connector 28 is connected to the FPGA 11 via the RS-485 driver IC 29.
  • the RS-485 driver IC 29 is connected to the logging selector processing unit 51 via the M2 processing unit 59 of the FPGA 11 and two buffer circuits 54.
  • the M2 processing unit 59 samples, for example, a parallel IO signal transmitted by MECHATROLINK (registered trademark) -II standard communication, and outputs the parallel IO signal to one of the two buffer circuits 54.
  • the M2 processing unit 59 converts, for example, an analog signal transmitted by the communication of the MECHATROLINK (registered trademark) -II standard into a digital signal, performs sampling, and the like, and performs the other buffer circuit 54 of the two buffer circuits 54 Output to
  • the logging device 10 also has two RJ-45 connectors 31.
  • the RJ-45 connector 31 is, for example, a connector to which a LAN cable of a category capable of communication conforming to the 100 base-tx standard is connected. More specifically, it is a connector that can be connected to industrial Ethernet (registered trademark) such as MECHATROLINK (registered trademark) -III and EtherCAT (registered trademark) described above.
  • Each of the RJ-45 connectors 31 is connected to the FPGA 11 via an Ethernet PHY 32.
  • Each of the Ethernet PHYs 32 is connected to a logging selector processing unit 51 via a 100 base-tx processing unit 61 and two buffer circuits 54 of the FPGA 11.
  • the # 100base-tx processing unit 61 samples, for example, a parallel IO signal transmitted by MECHATROLINK (registered trademark) -III standard communication, and outputs the parallel IO signal to one of the two buffer circuits 54.
  • the 100 base-tx processing unit 61 converts, for example, an analog signal transmitted by communication of the MECHATROLINK (registered trademark) -III standard into a digital signal and performs sampling or the like, and the other buffer circuit of the two buffer circuits 54 Output to the circuit 54.
  • the connection form of the industrial network is not limited to the above-described form. For example, when logging communication data of CUNET (registered trademark) connected with a communication cable of the RS-485 standard, the ABS encoder connector 24 may be connected to a communication cable of CUNET (registered trademark).
  • the logging device 10 includes a high-speed DI terminal block 33 and a low-speed DI terminal block 35.
  • the high-speed DI terminal block 33 and the low-speed DI terminal block 35 are connectors for inputting, for example, a detection signal of a sensor provided in the mounting device 81.
  • the high-speed DI terminal block 33 is connected to the FPGA 11 via a high-speed photocoupler IC.
  • the high-speed photocoupler IC 34 is connected to a logging selector processing unit 51 via a high-speed PIO processing unit 62 and a buffer circuit 54 of the FPGA 11.
  • the low-speed DI terminal block 35 is connected to the FPGA 11 via a low-speed photocoupler IC 36.
  • the low-speed photocoupler IC 36 is connected to the logging selector processing unit 51 via the low-speed PIO processing unit 63 and the buffer circuit 54.
  • the high-speed DI terminal block 33 and the low-speed DI terminal block 35 are provided with, for example, terminals to which four communication lines can be connected.
  • the high-speed photocoupler IC 34 and the low-speed photocoupler IC 36 convert an electric signal input to the high-speed DI terminal block 33 or the like into light, convert it back to an electric signal, and acquire communication data while performing electrical insulation.
  • the high-speed photocoupler IC 34 is configured to process digital signals at a higher speed than the low-speed photocoupler IC 36.
  • the high-speed PIO processing unit 62 and the low-speed PIO processing unit 63 sample communication data input from the high-speed photocoupler IC 34 and the like, and output the data to the logging selector processing unit 51 via the buffer circuit 54.
  • the logging device 10 includes the high-speed ADC connector 37.
  • the high-speed ADC connector 37 is connected to the FPGA 11 via the ADC-IC 38.
  • the ADC-IC 38 is connected to the logging selector processing unit 51 via the ADC processing unit 64 and the buffer circuit 54.
  • the high-speed ADC connector 37 is a connector for inputting analog data.
  • the ADC-IC 38 converts analog data input through the high-speed ADC connector 37 into digital data and outputs the digital data to the ADC processing unit 64.
  • the ADC processing unit 64 samples the communication data input from the ADC-IC 38 and outputs the data to the logging selector processing unit 51 via the buffer circuit 54.
  • the logging device 10 includes the JTAG connector 43.
  • the JTAG connector 43 is a connector that executes communication conforming to a standard proposed by, for example, JTAG (Joint European Test Action Group).
  • the FPGA 11 constructs a circuit block based on the configuration information input via the JTAG connector 43, for example. Therefore, the user can change the circuit block of the FPGA 11 by changing the configuration information input to the JTAG connector 43 according to, for example, the manufacturer or model of the device (such as the encoder 96) to be logged. For example, the sampling time used by the ENC processing unit 55, the format information of the communication protocol used for analyzing the communication data, and the like can be changed, and the ENC processing unit 55 can appropriately perform sampling and the like.
  • the method of setting the logging device 10 is not limited to the method of changing the circuit block based on the configuration information.
  • a screen on which the sampling time and the like can be selected may be displayed on the PC 98 or the like, and the selection by the user may be accepted on the displayed screen.
  • the logging selector processing unit 51 performs the digital sampling performed by the ABS encoder connector 24, the M2 connector 28, the RJ-45 connector 31, the high-speed DI terminal block 33, the low-speed DI terminal block 35, the high-speed ADC connector 37, and the like. Input signal communication data.
  • the logging selector processing unit 51 inputs communication data selected from a plurality of communication data (buffer circuits 54).
  • the logging selector processing unit 51 selects communication data to be input in accordance with, for example, settings based on configuration information, selection on the display screen of the PC 98, or a command signal input from the trigger control processing unit 53.
  • the logging selector processing unit 51 is connected to a memory controller 67 via a FIFO type buffer circuit 66.
  • the memory controller 67 is connected to the DDR memory 15 and controls writing and reading of data to and from the DDR memory 15. Accordingly, the logging selector processing unit 51 stores the communication data to be logged input from the ENC processing unit 55 and the like in the DDR memory 15 via the buffer circuit 66 and the memory controller 67.
  • the logging device 10 also includes a SATA connector 41 for connecting to an external storage device 42 (see FIG. 1).
  • the SATA connector 41 is, for example, an interface for performing communication conforming to the Serial ATA standard.
  • the external storage device 42 is, for example, a storage device such as a hard disk drive (HDD) or a solid state drive (SSD).
  • the standard connected to the external storage device 42 is not limited to the SATA standard, but may be a parallel ATA (IDE) standard, a USB standard, or an IEEE 1394 standard.
  • the SATA connector 41 is connected to the SATA-IP 68 of the FPGA 11.
  • the SATA-IP 68 is, for example, an IP core that can process data transmitted and received through an interface based on the SATA standard.
  • the logging selector processing unit 51 changes the storage destination of the communication data input from the ENC processing unit 55 or the like, for example, according to the setting of the configuration information. For example, when the logging selector processing unit 51 constructs a circuit block 51A (see FIG. 2) for storing communication data in the external storage device 42, it stores the communication data in the external storage device 42 via the SATA-IP 68 (FIG. 2). Dashed line).
  • communication data sampled by the ENC processing unit 55 and the like may have different communication speeds from each other.
  • the communication speed of the communication data differs depending on the physical layer and the communication protocol used.
  • the communication speed also differs depending on the type of the device to be logged, the manufacturer, the version of the device, and the like.
  • the ENC processing unit 55, the UART processing unit 57, the M2 processing unit 59, and the like execute sampling of each of the communication data input from the ABS encoder connector 24 and the like at a sampling time according to the communication speed.
  • FIG. 5 shows each connector and a sampling time for sampling communication data input from each connector.
  • the data types, sampling times, and the like shown in FIG. 5 are examples.
  • the leftmost column in FIG. 5 shows an identification ID for identifying each communication data, which is also used for identifying stored data described later (see FIG. 6). Zero of the identification ID will be described later.
  • the identification IDs 1 to 14 correspond in this order to the RS-485 driver IC 23 to the high-speed ADC connector 37 (for each buffer circuit 54) shown in FIG.
  • the second column from the left in FIG. 5 is information indicating the type of data.
  • the third column is information on the sampling time.
  • the fourth column is detailed information that can determine the type of communication data such as the manufacturer name, the type of device, and the series number of the device.
  • the fifth column is information indicating whether to execute logging. For example, a zero in the fifth column indicates that no logging is performed. Also, 1 in the fifth column indicates that logging is performed.
  • the sixth column contains information such as the communication speed of communication data and the data transmission cycle.
  • Identification IDs 1 to 6 correspond to the ABS encoder connector 24.
  • the ENC processing unit 55 samples communication data (encoder signal ENCD) input from the ABS encoder connector 24 at a sampling time of 40 ns (25 MHz).
  • the sampling time shown in FIG. 5 is set in, for example, configuration information for constructing a circuit block of the FPGA 11.
  • the ENC processing unit 55 and the like construct a sampling circuit that samples at a sampling time corresponding to the communication speed of communication data.
  • a setting file in which each connector (channel) is associated with a sampling time may be stored in the nonvolatile memory 17. Then, the ENC processing unit 55 or the like may read the setting file from the nonvolatile memory 17 after startup and set the sampling time.
  • the method for setting the information on whether or not to execute logging shown in the fifth column of FIG. 5 may be a method using configuration information, a method of receiving a user's selection by the PC 98 or the like, and the logging selector processing unit 51 later. May read the configuration file.
  • the logging selector processing unit 51 constructs, for example, a circuit selectively connected to the buffer circuit 54 corresponding to the identification ID (communication data) set to execute logging based on the configuration information. Thus, communication data to be logged can be set.
  • the FPGA 11 does not need to construct the ENC processing unit 55 or the like corresponding to the identification ID set to not execute the logging. That is, the configuration information may be information that does not construct a circuit block unnecessary for logging.
  • the logging device 10 may display the list shown in FIG. 5 on, for example, a monitor of the PC 98, receive selection or change by the user, and set the sampling time of each connector.
  • FIG. 6 shows the format of data stored by the logging selector processing unit 51.
  • the logging selector processing unit 51 stores, for example, the data input from the buffer circuit 54 in 64 bits as one block of data.
  • the leftmost column in FIG. 6 shows the identification ID indicating the correspondence with FIG.
  • the second line of FIG. 6 shows the description of each data included in the 64 BIT data.
  • the third line in FIG. 6 indicates a position at which each data is included in the 64 BIT data. In FIG. 6, they are arranged in order from the 63rd bit to the 0th bit from left to right.
  • the second column from the left is information on the continuation flag.
  • the continuation flag is represented by, for example, 1 BIT. As shown in the rightmost column of FIG.
  • the ENC processing unit 55 and the like use 40 BIT of the data of one block for storing the sampled communication data.
  • the continuation flag in the second column is used to indicate that the data of the next block is continuous with the data of the previous block when the communication data of 40 BIT alone is insufficient.
  • the ENC processing unit 55 responds to the encoder signal ENCD input from the ABS encoder connector 24 based on an error detection code (such as a CRC) added to the encoder signal ENCD. Perform error detection.
  • an error detection code such as a CRC
  • the ENC processing unit 55 stores details of the abnormality such as the state of occurrence of the error. In such a case, information indicating details of the abnormality and the like are stored in addition to the input communication data. For this reason, there is a possibility that only 40 BIT may be insufficient.
  • the ENC processing unit 55 adds additional information to the communication data when detecting various abnormalities such as a timeout abnormality of the encoder signal ENCD, a communication disconnection abnormality, and a temperature abnormality of the encoder 96. If such 40 BITs alone are not enough, the ENC processing unit 55 sets, for example, a continuation flag bit (to 1 bit).
  • the logging selector processing unit 51 divides, for example, an area of the DDR memory 15 for storing communication data for each identification ID.
  • the logging selector processing unit 51 stores the communication data input from the ENC processing unit 55 in the corresponding area, and stores the data in the order input from the ENC processing unit 55, that is, in the sampling order.
  • the setting as to whether the ENC processing unit 55 performs error detection and the setting to start logging in response to the detection of an abnormality can be changed by the user. This changing method will be described later (see FIG. 9).
  • the logging selector processing unit 51 stores communication data input from an arbitrary buffer circuit 54 and communication data input from another buffer circuit 54 such that they are arranged on the same time axis.
  • FIG. 7 shows a relationship between 64-bit communication data output from each buffer circuit 54 and output time.
  • the logging selector processing unit 51 synchronizes, for example, the output processes of the plurality of buffer circuits 54 (see times t1 and t2 in FIG. 7), and stores the simultaneously sampled communication data in association with each other. In this case, since the plurality of associated communication data are data sampled simultaneously, they can be compared side by side on the same time axis.
  • the logging selector processing unit 51 may, for example, set the sampled time information in the communication data to be stored, and associate the time information of a plurality of communication data with each other.
  • the condition that requires a continuation flag that is, the condition that must be handled as continuous data, may be different for each communication data to be logged. Therefore, the ENC processing unit 55, the UART processing unit 57, and the like construct a circuit block based on the condition of the continuation flag shown in FIG. 6, and raise the continuation flag when the condition is satisfied.
  • the third column from the left in FIG. 6 is information on the difference time.
  • the difference time is represented by, for example, 15 BIT.
  • Communication data to be logged is not always transmitted and received.
  • communication of the encoder signal ENCD is performed when performing initial setting of the encoder 96, when acquiring position information from the encoder 96, when acquiring the status of the encoder 96, and the like.
  • the ENC processing unit 55 and the like detect whether or not there is an input of communication data, and associate a difference time between the time when the previous input was detected and the time when the next input was detected with the communication data.
  • the ENC processing unit 55 and the like output, to the logging selector processing unit 51, one block of data (64 BIT) in which the above-described continuation flag and difference time are associated with communication data. For example, when the signal level of the communication data does not change for a certain period of time, the ENC processing unit 55 and the like determine that the input of the communication data cannot be detected. Then, the ENC processing unit 55 and the like count up the difference time for each sampling time from the timing at which the signal level does not change.
  • the ENC processing unit 55 and the like can detect, for each sampling time, whether or not there is an input for each of the communication data having different communication speeds. Therefore, it is possible to appropriately log communication data having different communication speeds.
  • encoder signal ENCD is sampled every 40 ns.
  • data transmission / reception occurs every 62.5 ⁇ s (see remarks in FIG. 5).
  • the ENC processing unit 55 sets a value of 1562 as the information of the difference time, and outputs data of one block in which the value is set.
  • the count value of the difference time may exceed the maximum value.
  • 15 BIT is assigned as the difference time.
  • the ENC processing unit 55 outputs one block of data in which the difference time counted up to that time is set to the logging selector processing unit 51.
  • the ENC processing unit 55 resets the difference time and newly starts counting the difference time. Thereby, even in a state where there is no transmission / reception of communication data for a long time, the ENC processing unit 55 divides the long-time difference time information into a plurality of pieces of the difference time information and stores the information. If the data for which the difference time is set is continuous in the stored data, the user can handle the data as one piece of data of the difference time.
  • the UART processing unit 57 and the like other than the above-described ENC processing unit 55 can similarly execute the processing of the difference time.
  • the ENC processing unit 55 and the like detect whether or not each of a plurality of types of communication data has been input, and determine the difference time between the time when the previous input was detected and the time when the next input was detected. Are stored in association with a plurality of types of communication data (see FIG. 6).
  • the ENC processing unit 55 and the like can store data corresponding to the presence or absence of input of communication data for each of communication data having different communication speeds. For example, communication data can be stored only when an input is detected, and a period during which no input can be detected can be stored as a difference time. As a result, the amount of data to be stored can be reduced as compared with the case where all the data sampled for each sampling time is stored regardless of the presence or absence of input. Further, by storing the difference time in association with the communication data, when using the data stored later, communication data can be reproduced in a time series based on the difference time. Therefore, appropriate logging can be performed for communication data having different communication speeds while reducing the data amount.
  • the logging device 10 of the present embodiment includes a SATA connector 41 (an example of an external interface) to which an external storage device 42 can be connected. Then, the logging selector processing unit 51 can save the communication data input from the trigger control processing unit 53 and the like in the external storage device 42 via the SATA connector 41. According to this configuration, the trigger control processing unit 53 and the like can directly save the sampled communication data in the external storage device 42 without going through processing by an external device such as the PC 98.
  • ⁇ Circle around (4) ⁇ from the left in FIG. 6 indicates information on the identification ID.
  • the information of the identification ID is represented by, for example, 4 BITs.
  • the PC 98 can read out the communication data (see FIG. 6) stored in the DDR memory 15 or the external storage device 42 and perform an analysis process and a display process. For example, various setting information shown in FIGS. 5 and 6 is stored in the storage device of the PC 98. Thereby, the PC 98 compares the identification ID included in the data of one block read out from the DDR memory 15 or the like with the identification ID of the setting information stored in the storage device in advance, so that the type of data read out and the sampling Time can be detected.
  • the PC 98 performs a process of complementing the time during which no communication data was transmitted / received (the time during which communication data is not stored) based on the difference time, and reconstructs the communication data to the original state in time series. it can. Note that the PC 98 may not acquire the various setting information shown in FIGS. 5 and 6 in advance, and may acquire it from the logging device 10 when starting the analysis.
  • the fifth column from the left in FIG. 6 is information indicating the state of the sampled communication data, and specifically, is 4 BIT information shown in FIG.
  • the leftmost column in FIG. 8 shows the identification ID.
  • Information (B43-B40 in FIG. 6) indicating the state of communication data is set to different information for each identification ID (communication data). For this reason, as shown in FIG. 8, the information indicated by the data is different for each ID even for the same 4 BIT information.
  • the second column from the left in FIG. 8 is information on the first bit (B3), and is used as a bit value indicating the presence or absence of data.
  • the ENC processing unit 55 and the like set a value of 1 as the first bit (B3).
  • the differential time and non-input communication data for example, all zeros
  • a value of 0 is set in the first bit (B3).
  • the third column from the left in FIG. 8 is the information of the second bit (B2).
  • the second bit is used, for example, when there is a data error in the encoder signal ENCD or a time-out error in communication data.
  • the ENC processing unit 55 and the like perform the second bit ( Set 1 to B2).
  • the fourth column from the left in FIG. 8 is information of the third bit (B1), which is used when detecting an error in communication data. For example, when detecting an error in the encoder signal ENCD or the like, the ENC processing unit 55 sets a value of 1 as the third bit (B1).
  • the fifth column from the left in FIG. 8 is the information of the fourth bit (B0), which is used when a communication error occurs.
  • the ENC processing unit 55 sets a value of 1 as the fourth bit (B0) when detecting a command indicating a communication abnormality.
  • the rightmost column in FIG. 6 stores communication data sampled by the ENC processing unit 55 and the like.
  • the ENC processing unit 55 and the like may store data obtained by subjecting communication data to predetermined processing, instead of the sampled communication data itself.
  • the encoder 96 does not use a common format as the data format of the communication data, and the data format may be different for each maker or series of the same maker.
  • the communication data output from the encoder 96 includes, for example, data indicating the same contents as different contents in data format, such as position information and abnormality information.
  • the ENC processing unit 55 and the like extract communication data that can be shared from the communication data, and convert the extracted communication data into a common data format.
  • the ENC processing unit 55 extracts communication data indicating position information from the input communication data.
  • the ENC processing unit 55 converts the communication data indicating the position information into a common data format.
  • the method for extracting the communication data indicating the position information is not particularly limited.
  • the user operates the PC 98 to input information of a communication protocol and information of a data format used in the communication protocol for each connector.
  • the ENC processing unit 55 may extract communication data indicating position information from communication data to be processed based on the input information.
  • the ENC processing unit 55 converts the value of the position information indicated by the communication data into a common data format.
  • the data format can be changed without changing the value indicated by the position information.
  • Position information in a data format that differs for each manufacturer is converted to information indicating a common position.
  • the ENC processing unit 55 outputs the communication data converted into the common data format to the logging selector processing unit 51. Therefore, the ENC processing unit 55 does not save the communication data in the data format as it is, but converts the portion that can be shared into a common data format and saves it.
  • the ENC processing unit 55 converts the position information included in the encoder signal ENCD into a data format common to a total of 40 BITs of multi-turn (MT: 16 BIT) and single-turn (ST: 24 BIT). As a result, even if the manufacturer and the series are different, the position information can be converted into a common data format and stored.
  • the ENC processing unit 55 sets, for example, communication data other than the position information among the input communication data, which is difficult to be shared by the manufacturer, in the data of one block as shown in FIG. That is, the ENC processing unit 55 outputs the communication data that is difficult to be shared without converting the data format. Therefore, the ENC processing unit 55 classifies the communication data into data that can be shared and data that cannot be shared, and performs data format conversion on the data that can be shared.
  • the method of setting the target of data to be shared may be, for example, a method using configuration information, or a method of operating the PC 98 to set the logging device 10.
  • the UART processing unit 57 and the like other than the ENC processing unit 55 can execute the same conversion processing and non-conversion processing as the ENC processing unit 55.
  • the target data for which the data format is shared is not limited to location information.
  • the ENC processing unit 55 converts communication data having a different data format but indicating the same abnormality into data having an identification number indicating the abnormality.
  • the abnormality information can be converted into a common data format for each content of the abnormality.
  • abnormal information unique to the linear scale such as a gap abnormality between the detection unit and the detected portion of the linear scale 92, can be converted into a common data format.
  • the ENC processing unit 55, the UART processing unit 57, and the like extract communication data (such as position information and abnormality information) that can be shared from a plurality of types of communication data, and extract the same.
  • the communication data is converted into a common data format.
  • the same processing can be executed to detect a position shift based on the shared position information, or to detect the number of abnormalities based on the shared abnormal information.
  • the ENC processing unit 55 and the like may perform processing on communication data in addition to processing for converting communication data into a common data format.
  • the ENC processing unit 55 may execute a preset calculation process for each of a plurality of types of communication data and then store the communication data.
  • the FPGA 11 may include a processing unit corresponding to a connector for inputting a three-phase current value transmitted and received by the amplifier unit 93.
  • the processing unit of the FPGA 11 may perform dq conversion of the three-phase current value (communication data) input via the connector and store the converted value as a value of active power or reactive power.
  • three-phase current values are subjected to dq conversion based on information on electrical angles and the like, converted into values such as active power (current), and stored. This makes it possible to display data in a form that is easy for the user to recognize, such as estimating and displaying the torque value from the active power.
  • the above-described data format conversion and dq conversion may be executed by the PC 98 that has read the communication data.
  • the preset calculation process is not limited to the dq conversion, and may be a process of calculating a distance, a moving time, a speed, and an acceleration from the position information of the encoder signal ENCD.
  • the preset calculation process may be a process of performing a Fourier transform on the three-phase current and detecting noise (such as vibration) included in the three-phase current.
  • the communication data can be processed to provide useful information to the user.
  • the mounting device 81 to be logged includes a camera 103 on the head unit 85 and the Y-axis slide 87.
  • the camera 103 is, for example, an imaging device for photographing the circuit board 110, electronic components, and the like.
  • the camera 103 transmits image data according to, for example, an image transmission method conforming to the camera link standard.
  • the camera 103 is connected to the switching device 105 via a camera link cable Link.
  • the switching device 105 is connected between the two cameras 103 and the controller 89.
  • the switching device 105 switches the connection between the two cameras 103 and the controller 89.
  • the camera 103 captures an image in response to, for example, a trigger signal received from the controller 89 of the main body unit 83, and transmits the captured image data to the controller 89 via the camera link cable Clink.
  • the camera 103 is not limited to a camera that supports the camera link standard, but may be a camera that supports another standard, for example, the GigE Vision (registered trademark) standard or the CoaXpress (registered trademark) standard.
  • the controller 89 outputs, for example, camera control signals CC1 to CC4 in the camera link standard to the switching device 105.
  • the camera control signal CC1 is, for example, a trigger signal for instructing the camera 103 to perform imaging.
  • the camera 103 starts exposure at the rising edge of the camera control signal CC1, for example, and executes exposure for a set time.
  • the camera 103 starts exposure at the rising edge of the camera control signal CC1, and continues exposure until the falling edge (pulse width only).
  • the camera control signal CC2 is, for example, a selection signal for instructing the switching device 105 to connect the camera 103 of the head unit 85 and the controller 89.
  • the camera control signal CC3 is, for example, a selection signal for instructing the switching device 105 to connect the camera 103 of the Y-axis slide 87 to the controller 89.
  • the switching device 105 connects the controller 89 to the camera 103 of the head unit 85.
  • the controller 89 can transmit a trigger signal to the camera 103 of the head unit 85 to acquire image data.
  • the logging device 10 is connected between the switching device 105 and the controller 89, for example. As shown in FIGS. 1 and 2, the logging device 10 includes a camera link input connector 39 and a camera link output connector 40.
  • the camera link input connector 39 is connected to the switching device 105 via, for example, a camera link cable Clink.
  • the camera link output connector 40 is connected to the controller 89 via a camera link cable Clink.
  • the logging device 10 stores, for example, the camera control signals CC1 to CC4 input from the controller 89 to the camera link output connector 40.
  • the camera link output connector 40 is connected to a logging selector processing unit 51 via a UART processing unit and a high-speed PIO processing unit (hereinafter, referred to as a “processing unit”) 65 and a buffer circuit 54.
  • processing unit 65 outputs (transfers) the input camera control signals CC1 to CC4 to the camera link input connector 39 (FIG. 2). Digital output DO).
  • the processing unit 65 executes sampling or the like of the camera control signals CC1 to CC4 and outputs the data to the logging selector processing unit 51 as data in which 64 BITs are one block.
  • the switching device 105 executes control based on the camera control signals CC1 to CC4 input (transferred) from the camera link input connector 39.
  • the camera control signal CC4 is used to output data logged from the logging device 10 to the controller 89. Therefore, when the camera control signal CC4 is input, the switching device 105 discards the input camera control signal CC4 and does not execute a specific process.
  • the logging selector processing unit 51 stores the camera control signals CC1 to CC4 input from the processing unit 65 in the DDR memory 15. Further, the logging selector processing section 51 outputs the camera control signals CC1 to CC4 to the camera switching section 73 (see FIG. 2) via the memory controller 67.
  • the camera switching unit 73 is, for example, a circuit block of the FPGA 11.
  • the logging device 10 stores, for example, control signals transmitted and received between the controller 89 and the camera 103 through UART communication.
  • This control signal is, for example, a control signal for adjusting the gain of the camera 103 or a control signal for setting an effective area (ROI: Region @ of ⁇ Interest) in an imaging area where the camera 103 can image.
  • the processing unit 65 inputs a control signal for UART communication via the camera link output connector 40 (see UART in FIG. 2).
  • the processing unit 65 executes sampling of a control signal for UART communication and the like, like the camera control signals CC1 to CC4.
  • the connector for inputting the camera control signals CC1 to CC4 and the UART communication control signal from the controller 89 is not limited to the camera link output connector 40.
  • the logging device 10 transmits the camera signal via the high-speed DI terminal block 33 or the RS-232C connector 26.
  • Control signals CC1 to CC4 may be input.
  • the logging device 10 may receive a control signal for UART communication from the controller 89 via the RS-232C connector 26.
  • the processing unit 65 receives not only the camera control signals CC1 to CC4 transmitted from the controller 89 and the UART communication control signal but also the response signal of the camera 103 from the camera link input connector 39 and outputs the response signal to the logging selector processing unit 51. May be equal. In this case, the logging selector processing unit 51 can also save the response signal. Further, the logging device 10 may save only the communication data transmitted from the camera 103 without storing the communication data (such as the camera control signal CC1) transmitted from the controller 89.
  • the logging device 10 can store image data input from the camera 103, for example.
  • the camera link base input IP 69 of the FPGA 11 inputs image data from the switching device 105 via the camera link input connector 39.
  • the camera link base input IP 69 is, for example, an IP core capable of processing image data of the camera link standard.
  • the camera link base input IP 69 stores image data in the DDR memory 15 via the buffer circuit 71 and the memory controller 67, for example.
  • the camera link base input IP 69 stores the other communication data (encoder signal ENCD or the like) stored (logged) in the DDR memory 15 by the logging selector processing unit 51 in association with image data.
  • the camera link base input IP 69 stores the time at which the image data was obtained and the time at which the other communication data was obtained in association with each other. Thus, the relationship between the time when the communication data such as the encoder signal ENCD is obtained and the time when the image data is obtained can be confirmed later.
  • the connector for inputting image data from the switching device 105 is not limited to the camera link input connector 39.
  • the high-speed ADC connector 37 may execute input of image data.
  • the ADC processing unit 64 may be configured to be able to input image data from the camera 103 by, for example, SPI (Serial Peripheral Interface) communication, which is one of serial communication methods.
  • SPI Serial Peripheral Interface
  • the camera link base input IP 69 outputs the image data input from the switching device 105 to the camera switching unit 73.
  • the camera switching unit 73 outputs the image data to the camera link output connector 40 via the buffer circuit 71 and the camera link base output IP70.
  • the controller 89 can acquire, via the camera link output connector 40, image data selected and instructed to image by the camera control signals CC1 to CC4.
  • the controller 89 executes a process based on the image data input from the camera link output connector 40.
  • the controller 89 When acquiring data logged by the logging device 10, the controller 89 outputs a camera control signal CC4 to the logging device 10.
  • the camera switching unit 73 receives the camera control signal CC4 via the camera link output connector 40, the processing unit 65, and the logging selector processing unit 51, for example, communication data or the like stored in the DDR memory 15 up to that point (logging data) In the image data and transmits the image data.
  • the camera switching unit 73 when the pixel value of the image data is represented by 8 BIT, the camera switching unit 73 generates image data in which 64 BIT data shown in FIG. 6 is set to 8 pixels (8 BIT * 8 pixels).
  • the camera switching unit 73 uses the NOP data indicated by the identification ID of zero in FIGS. 5 and 6 to fill the generated empty area (excess pixels). Therefore, when the data amount of the logging data that can be transmitted does not reach the maximum data amount of one image data, the camera switching unit 73 transmits the image data in which the empty pixels are filled with the NOP data to the controller 89.
  • a continuation flag, a difference time, an identification ID, and status information are set as header information of the logged communication data ( See FIG. 6).
  • the controller 89 has, for example, the setting information shown in FIG. 5 and FIG. 6, determines the NOP data based on the identification ID of the received image data, and can discard unnecessary data. Thereby, even when the data amount of the logging data is smaller than the maximum data amount of the image data, the logging data can be transferred.
  • the camera switching unit 73 of the present embodiment outputs a plurality of types of communication data stored in the DDR memory 15 in the form of image data.
  • the camera switching unit 73 sets a plurality of types of communication data in a data area for setting a pixel value of image data, and sets information (such as an identification ID) on the type of the set communication data and a sampling time at which the communication data was sampled. ) Is added as header information.
  • the logged communication data and the like can be output as image data through the image data communication line.
  • the type and sampling time of the communication data can be determined based on the header information (such as the identification ID) to appropriately reconstruct the communication data.
  • the request for image data using the camera control signal CC4 to the logging device 10 may be executed by a device other than the controller 89.
  • the logging device 10 may be configured to output image data in which communication data and the like are set to the PC 98 based on a control signal input from the PC 98.
  • FIG. 9 shows an example of a trigger condition for starting logging.
  • the leftmost column in FIG. 9 shows an identification ID (communication data) using the right trigger condition.
  • the second column from the left shows sub-numbers for identifying individual trigger conditions.
  • the trigger condition with the identification ID of 1 and the sub number of 1 is a condition where the position information of the encoder signal ENCD exceeds a certain value.
  • the processing of the trigger condition is executed, for example, by the trigger control processing unit 53 (see FIG. 2).
  • the trigger control processing unit 53 sets a trigger condition for each identification ID.
  • the trigger control processing unit 53 inputs a trigger condition from the PC 98 after constructing and activating the circuit block.
  • the PC 98 displays a pull-down menu from which a trigger condition shown in FIG. 9 can be selected.
  • the PC 98 outputs the trigger condition selected by the user to the trigger control processing unit 53 via the RS-232C connector 20.
  • the user can set a trigger condition for each identification ID before the start of logging.
  • the trigger control processing unit 53 sets the trigger condition for the ENC processing unit 55 at the top of FIG. For example, when an instruction to start logging is input from the PC 98 to the FPGA 11, the trigger control processing unit 53 performs settings for the ENC processing unit 55 before starting logging.
  • the set ENC processing unit 55 determines the trigger condition while inputting the encoder signal ENCD via the ABS encoder connector 24. When the position information of the input encoder signal ENCD exceeds a certain value, that is, exceeds a predetermined position, the ENC processing unit 55 notifies the trigger control processing unit 53 that the trigger condition is satisfied.
  • the trigger control processing unit 53 When the trigger control processing unit 53 inputs that the trigger condition is satisfied from the ENC processing unit 55, the trigger control processing unit 53 instructs the logging selector processing unit 51 to start logging.
  • the logging selector processing unit 51 starts logging in which communication data input from the connector (processing unit) selected based on the configuration information or the like is stored in the DDR memory 15.
  • the trigger condition is satisfied when the head unit 85 (see FIGS. 3 and 4) lowers the suction nozzle 85A (see FIG. 4) below a predetermined position.
  • the logging selector processing unit 51 can start saving communication data.
  • logging can be started on the condition of a predetermined position when the suction nozzle 85A is moved up and down, such as when supplying and mounting electronic components.
  • the content of the trigger condition is not particularly limited, but the condition that a predetermined condition is satisfied based on the communication data can be used as the trigger condition.
  • the ENC processing unit 55 when detecting an error in the encoder signal ENCD, the ENC processing unit 55 notifies the trigger control processing unit 53 that the trigger condition is satisfied.
  • the number of times an error is detected may be set as the trigger condition 2 (continuous number 1-4 in FIG. 9). In this case, when detecting an error in encoder signal ENCD a plurality of times, ENC processing section 55 notifies trigger control processing section 53 that the trigger condition is satisfied.
  • a status abnormality or timeout abnormality of the encoder signal ENCD may be used as a trigger condition.
  • trigger conditions can be similarly set for communication data other than the encoder signal ENCD.
  • the trigger condition may be used.
  • the trigger condition may be a rising edge of the camera control signals CC1 to CC4, that is, a start of imaging, a switch of the camera 103, a request for logging data, and the like.
  • the trigger condition may be other than the condition shown in FIG.
  • the timing at which the X-axis slide 86 or the Y-axis slide 87 reaches a specific position based on the linear scale signal LSD may be used as a trigger condition.
  • logging of each communication data can be started at a timing when the head unit 85 reaches a specific position in the XY directions, for example, a suction position of the electronic component.
  • the trigger condition may be different for each communication data. For example, logging of the encoder signal ENCD may be started based on a trigger condition that has reached a specific position, and logging of communication data of UART communication may be started based on a trigger condition of error detection.
  • EtherCAT registered trademark
  • FIG. 10 shows the data format of communication data transmitted and received on the EtherCAT (registered trademark) network.
  • EtherCAT registered trademark
  • the frame data is provided with a data area (Ethercat datagram described later) for setting each data of the slave 101 (see FIG. 3).
  • the slave 101 reads data from a data area (read area) set for itself among the frame data received from the controller 89 serving as a master, and drives a sensor or the like based on the read data. Further, the slave 101 writes data such as a processing result in a data area (write area) set for itself, and transfers the written frame data to the master or another slave 101.
  • the frame data has a 14-byte Ethernet (registered trademark) header field, a maximum of 1500 bytes of Ethernet (registered trademark) data field, and a 4-byte FCS (Frame @ Check @ Sequence) field.
  • the Ethernet (registered trademark) header field stores address information of a transmission destination and a transmission source of frame data.
  • the FCS field stores information for detecting an error in frame data such as a CRC code.
  • the Ethernet (registered trademark) data field has a 16-bit EtherCAT (registered trademark) header field and a 44 to 1498-byte EtherCAT (registered trademark) datagram field.
  • the EtherCAT (registered trademark) header stores data length and type information.
  • EtherCAT (registered trademark) datagram field data for one or more EtherCAT (registered trademark) associated with each of the slaves 101 (hereinafter, referred to as EtherCAT datagram) is stored.
  • Each EtherCAT datagram has a 10-byte datagram header field (Datagram @ Header), a maximum 1486-byte data field (Data), and a 2-byte WKC (Working @ Counter) field.
  • the data field stores data transmitted from the master (controller 89) to the slave 101 or data transmitted from the slave 101 to the master or the like.
  • the WKC field stores a count value corresponding to the number of processings successfully performed by the EtherCAT datagram.
  • the 100base-tx processing unit 61 shown in FIG. 2 transmits the specific data of the communication data (frame data) input through the RJ-45 connector 31. Get only the feel.
  • the 100 base-tx processing unit 61 sets a predetermined bit position from the beginning of the frame data as a start position, and acquires data of a predetermined number of bits or bytes from the start position. Specifically, a case will be described in which the data of the first EtherCAT datagram (1st @ EtherCAT @ Datagram) is extracted.
  • the 100base-tx processing unit 61 sets 14 bytes (Ethernet (registered trademark) header field) +16 bits (EtherCAT (registered trademark) header field) from the beginning of the frame data as the start position.
  • the 100base-tx processing unit 61 acquires data of 1st ⁇ EtherCAT ⁇ Datagram from the start position.
  • the 100base-tx processing unit 61 may acquire data for a predetermined number of bytes (maximum number of bytes) from the start position and discard unnecessary data.
  • the 100base-tx processing unit 61 may acquire, for example, data of the number of bytes based on the information of the datagram header field (Datagram @ Header) from the start position.
  • the 100base-tx processing unit 61 may change the number of bits or the number of bytes acquired from the start position based on information input from the controller 89, for example.
  • the ENC processing unit 55 other than the 100base-tx processing unit 61 may acquire data from a specific bit position. In this way, the 100base-tx processing unit 61 or the like may extract only specific data and output it to the logging selector processing unit 51 without outputting all of the input communication data to the logging selector processing unit 51.
  • the mounting device 81 is an example of a logging target device.
  • the input connector 39 and the camera link output connector 40 are examples of an input unit.
  • the ENC processing unit 55, the UART processing unit 57, the M2 processing unit 59, the 100base-tx processing unit 61, the high-speed PIO processing unit 62, the low-speed PIO processing unit 63, the ADC processing unit 64, and the processing unit 65 are a sampling unit and a detection unit. This is an example.
  • the camera switching unit 73 is an example of a sampling unit.
  • the SATA connector 41 is an example of an external interface.
  • the logging device 10 includes an ABS encoder connector 24 (an example of an input unit) for inputting a plurality of types of communication data transmitted by a device to be logged (the mounting device 81).
  • An ENC processing unit 55 that samples each of a plurality of types of communication data input via the ABS encoder connector 24 or the like for a sampling time (see FIG. 5) corresponding to the communication speed. According to this, the ENC processing unit 55 and the like can perform sampling according to the communication speed for each communication data having a different communication speed.
  • the sampling time cannot be set individually for each channel for inputting communication data, and the sampling time has to be shortened in accordance with the fastest channel.
  • the amount of data to be sampled that is, the amount of data to be stored becomes large.
  • the logging device 10 of the present embodiment by sampling communication data having different communication speeds with a sampling time corresponding to the communication speed, the amount of sampled data can be reduced, and the amount of data to be stored can be reduced.
  • the logging device 10 may be a device that executes only sampling and does not store the sampled data. In this case, the logging device 10 may output the sampled data to the external storage device 42 or the like. Further, the logging device 10 does not need to determine the presence or absence of an input for each communication data having a different communication speed. Further, the logging device 10 does not have to include a physical interface (connector) as an input unit.
  • FIG. 11 shows another example of the mounting device 81. The mounting device 81 shown in FIG.
  • the mounting device 81 connects the multiplexing device 201 on the main body unit 83 side, the multiplexing device 202 on the Y-axis slide 87 side, and the multiplexing device 203 on the head unit 85 side via a multiplex cable (optical cable or the like) 205.
  • the multiplexing device 201 and the like execute multiplexing and demultiplexing of a plurality of communication data by a logic circuit such as an FPGA.
  • the logging device 10 may be configured as a part of the FPGA of the multiplexing device 201 (the FPGA 11 in the drawing), for example, as shown in FIG.
  • the FPGA 11 does not include a physical interface such as the ABS encoder connector 24 and the RS-485 driver IC 25 shown in FIG.
  • the FPGA 11 inputs, for example, communication data of a digital signal before being multiplexed by the multiplexing device 201 to the ENC processing unit 55 and the like, and samples the communication data.
  • the FPGA 11 inputs, for example, communication data transmitted from the multiplexing apparatus 202 or 203 to the multiplexing apparatus 201 and demultiplexed by the multiplexing apparatus 201 to the ENC processing unit 55 or the like, and samples the communication data.
  • the FPGA 11 can execute logging of each communication data without having a physical interface.
  • the sampling unit and the detection unit according to the present disclosure are mounted on the same processing unit (such as the ENC processing unit 55).
  • the sampling unit that performs sampling and the detection unit that detects the presence or absence of an input may be different processing units (circuit blocks).
  • the storage method of the buffer circuit 54, the buffer circuit 66, the buffer circuit 71, and the like is not limited to the FIFO storage method, but may be, for example, a LIFO storage method.
  • the logging target device is not limited to the mounting device 81, and various devices that transmit communication data having different communication speeds can be adopted.
  • the device to be logged may be an articulated robot or a machine tool.

Abstract

The purpose of the present invention is to provide a logging device and a sampling method in which sampling according to a communication speed is possible. The logging device is provided with: an input unit through which a plurality of types of communication data having different communication speeds are input, the communication data being transmitted by a device to be logged; and a sampling unit which samples the plurality of types of communication data input through the input unit at respective sampling times according to the communication speeds.

Description

ロギング装置及びサンプリングの方法Logging device and sampling method
 本開示は、通信データをサンプリングするロギング装置及びサンプリングの方法に関するものである。 The present disclosure relates to a logging device for sampling communication data and a sampling method.
 従来、デジタル信号を保存するロギング装置がある(例えば、特許文献1など)。特許文献1のロギング装置は、多チャンネルのデジタル信号の論理レベルをコンパレータで判断し、コンパレータの出力信号をサンプリング回路でサンプリングする。ロギング装置は、サンプリング回路でサンプリング時間毎に検出した検出信号をメモリに保存する。 Conventionally, there is a logging device for storing digital signals (for example, Patent Document 1). In the logging device of Patent Document 1, a comparator determines the logical level of a multi-channel digital signal, and samples the output signal of the comparator with a sampling circuit. The logging device stores a detection signal detected by the sampling circuit for each sampling time in a memory.
特開昭62-255883号公報JP-A-62-255883
 ところで、従来のロギング装置では、ロギングの対象のデジタル信号が同一の通信速度であることを前提としていた。このため、通信速度の異なる通信データを適切にサンプリングできない虞があった。 By the way, in the conventional logging device, it is assumed that the digital signals to be logged have the same communication speed. Therefore, there is a possibility that communication data having different communication speeds cannot be appropriately sampled.
 本開示は、上記の課題に鑑みてなされたものであり、通信速度に応じたサンプリングができるロギング装置及びサンプリングの方法を提供することを目的とする。 The present disclosure has been made in view of the above problems, and has as its object to provide a logging device and a sampling method capable of performing sampling according to a communication speed.
 上記課題を解決するために、本開示は、ロギングの対象となる装置で伝送される互いに通信速度が異なる複数の種類の通信データを入力する入力部と、前記入力部を介して入力した前記複数の種類の通信データの各々を、通信速度に応じたサンプリング時間でサンプリングするサンプリング部と、を備えるロギング装置を開示する。 In order to solve the above problems, the present disclosure is directed to an input unit for inputting a plurality of types of communication data having different communication speeds transmitted by a device to be logged, and the plurality of input data input via the input unit. And a sampling unit that samples each type of communication data at a sampling time corresponding to the communication speed.
 また、上記課題を解決するために、本開示は、ロギングの対象となる装置で伝送される互いに通信速度が異なる複数の種類の通信データを入力する入力工程と、前記入力工程を介して入力した前記複数の種類の通信データの各々を、通信速度に応じたサンプリング時間でサンプリングするサンプリング工程と、を含むサンプリングの方法を開示する。 Further, in order to solve the above-described problem, the present disclosure has an input step of inputting a plurality of types of communication data having different communication speeds transmitted by a device to be logged, and inputting the data through the input step. A sampling step of sampling each of the plurality of types of communication data at a sampling time corresponding to a communication speed.
 本開示のロギング装置、サンプリングの方法によれば、通信速度が異なる各通信データについて通信速度に応じたサンプリングをすることができる。 According to the logging device and the sampling method of the present disclosure, it is possible to perform sampling according to the communication speed for each communication data having different communication speeds.
本実施形態のロギング装置のハード構成を示す図である。FIG. 2 is a diagram illustrating a hardware configuration of a logging device according to the embodiment. FPGAの内部ブロックを示す図である。FIG. 3 is a diagram illustrating an internal block of the FPGA. ロギング対象の装着装置にロギング装置を接続した状態を示す図である。It is a figure showing the state where a logging device was connected to a mounting device of logging object. 装着装置及びローダの概略構成を示す斜視図である。FIG. 2 is a perspective view illustrating a schematic configuration of a mounting device and a loader. 各コネクタと、各コネクタから入力した通信データをサンプリングするサンプリング時間等を示す図である。FIG. 3 is a diagram illustrating each connector and a sampling time for sampling communication data input from each connector. ロギングセレクタ処理部によって保存するデータの形式を示す図である。FIG. 4 is a diagram illustrating a format of data stored by a logging selector processing unit. バッファ回路から出力される通信データの関連付けを説明するための図である。FIG. 4 is a diagram for explaining association of communication data output from a buffer circuit. 保存するデータに付加する情報を示す図である。FIG. 4 is a diagram illustrating information added to data to be stored. トリガ条件を示す図である。FIG. 9 is a diagram illustrating a trigger condition. EtherCAT(登録商標)のネットワークで送受信される通信データのデータ形式を示す図である。FIG. 2 is a diagram illustrating a data format of communication data transmitted and received on an EtherCAT (registered trademark) network. 別例のロギング対象の装着装置にロギング装置を配置した状態を示す図である。It is a figure which shows the state which arranged the logging device in the mounting device of the logging object of another example.
 以下、本開示のロギング装置を具体化した一実施形態であるロギング装置10について図面を参照しながら説明する。図1は、本実施形態のロギング装置10のハード構成を示している。図2は、ロギング装置10が備えるFPGA11の内部ブロックを示している。図1及び図2に示すように、ロギング装置10は、FPGA11と、電源回路13と、DDRメモリ15と、不揮発性メモリ17と、各種のコネクタを備えている。 Hereinafter, a logging device 10 that is an embodiment of the logging device of the present disclosure will be described with reference to the drawings. FIG. 1 shows a hardware configuration of a logging device 10 of the present embodiment. FIG. 2 shows an internal block of the FPGA 11 included in the logging device 10. As shown in FIGS. 1 and 2, the logging device 10 includes an FPGA 11, a power supply circuit 13, a DDR memory 15, a nonvolatile memory 17, and various connectors.
 FPGA11は、例えば、Field Programmable Gate Arrayなどのプログラム可能なロジックデバイスやCPUなどを備えている。FPGA11は、図2に示す各種の回路ブロックを有している。FPGA11は、例えば、不揮発性メモリ17に保存されたコンフィグ情報(コンフィグレーションデータ)に基づいて、ロギングセレクタ処理部51などの回路ブロックを構築する。FPGA11は、ロギングセレクタ処理部51等により、ロギング処理を行う。なお、ロギングセレクタ処理部51等は、FPGA11の論理回路に限らず、例えば、プログラマブルロジックデバイス(PLD)や複合プログラマブルロジックデバイス(CPLD)の論理回路でも良い。また、ロギングセレクタ処理部51等は、論理回路に限らず、ASICなどの特定用途向けの集積回路でも良い。また、ロギングセレクタ処理部51等を、ハードウェアではなく、ソフトウェアで実現しても良い。 The FPGA 11 includes, for example, a programmable logic device such as a Field Programmable Gate Array and a CPU. The FPGA 11 has various circuit blocks shown in FIG. The FPGA 11 constructs a circuit block such as the logging selector processing unit 51 based on the configuration information (configuration data) stored in the nonvolatile memory 17, for example. The FPGA 11 performs a logging process by the logging selector processing unit 51 and the like. The logging selector processing unit 51 and the like are not limited to the logic circuit of the FPGA 11, and may be, for example, a logic circuit of a programmable logic device (PLD) or a composite programmable logic device (CPLD). Further, the logging selector processing unit 51 and the like are not limited to logic circuits, and may be integrated circuits for specific applications such as ASICs. Further, the logging selector processing unit 51 and the like may be realized by software instead of hardware.
 FPGA11は、トリガ制御処理部53、ENC処理部55、UART処理部57、M2処理部59、100base-tx処理部61、高速PIO処理部62、低速PIO処理部63、ADC処理部64等を備えている。トリガ制御処理部53は、後述するように、ロギングの開始指示を行う。ENC処理部55等は、各コネクタから入力した通信データのサンプリングやプロトコル解析などを実行する。 The FPGA 11 includes a trigger control processing unit 53, an ENC processing unit 55, a UART processing unit 57, an M2 processing unit 59, a 100base-tx processing unit 61, a high-speed PIO processing unit 62, a low-speed PIO processing unit 63, an ADC processing unit 64, and the like. ing. The trigger control processing unit 53 issues a logging start instruction as described later. The ENC processing unit 55 and the like execute sampling and protocol analysis of communication data input from each connector.
 電源回路13は、ロギング装置10の電源として機能する回路である。電源回路13は、例えば、AC/DC変換回路等を備え、電源コネクタ18を介して商用電源等から電力を受電する。電源回路13は、受電した電力をロギング装置10の各種装置へ供給する。なお、ロギング装置10の電源の構成は、特に限定されない。例えば、ロギング装置10は、充電式のバッテリを備えても良く、無線による給電を受ける構成でも良い。 The power supply circuit 13 is a circuit that functions as a power supply for the logging device 10. The power supply circuit 13 includes, for example, an AC / DC conversion circuit and the like, and receives power from a commercial power supply or the like via a power supply connector 18. The power supply circuit 13 supplies the received power to various devices of the logging device 10. The configuration of the power supply of the logging device 10 is not particularly limited. For example, the logging device 10 may include a rechargeable battery, or may be configured to receive wireless power supply.
 次に、ロギング装置10が備える各種のコネクタについて説明する。ロギング装置10は、ロギング対象の装置や他の装置と接続するための各種のコネクタを備えている。なお、図1及び図2に示すロギング装置10のコネクタの種類や数は、一例である。 Next, various connectors of the logging device 10 will be described. The logging device 10 includes various connectors for connecting to a device to be logged and other devices. Note that the types and numbers of connectors of the logging device 10 shown in FIGS. 1 and 2 are examples.
 RS-232Cコネクタ20は、RS-232CドライバIC22を介してFPGA11と接続されている。RS-232CドライバIC22は、RS-232C規格に準拠した通信を行うドライバ回路であり、例えば、RS-232Cコネクタ20から入力されたデジタル信号の論理値の判断などを実行する。RS-232CドライバIC22は、FPGA11のトリガ制御処理部53を介してロギングセレクタ処理部51と接続されている。RS-232Cコネクタ20は、例えば、パーソナルコンピュータ(以下、単に「PC」という)98(図3参照)と接続される。ユーザは、例えば、PC98を操作することで、ロギング装置10に対する設定を行うことができる。より具体的には、トリガ制御処理部53は、例えば、RS-232Cコネクタ20に接続されたPC98から入力した指示信号に基づいて、ロギングセレクタ処理部51に対するロギングの開始を指示する。また、トリガ制御処理部53は、例えば、ENC処理部55、UART処理部57、M2処理部59等からロギングの開始を指示する指示信号を入力する構成となっている。トリガ制御処理部53は、ENC処理部55等から入力した指示信号に基づいて、ロギングセレクタ処理部51に対するロギングの開始を指示する。 The RS-232C connector 20 is connected to the FPGA 11 via the RS-232C driver IC 22. The RS-232C driver IC 22 is a driver circuit that performs communication conforming to the RS-232C standard, and executes, for example, determination of a logical value of a digital signal input from the RS-232C connector 20. The RS-232C driver IC 22 is connected to the logging selector processing unit 51 via the trigger control processing unit 53 of the FPGA 11. The RS-232C connector 20 is connected to, for example, a personal computer (hereinafter, simply referred to as “PC”) 98 (see FIG. 3). The user can make settings for the logging device 10 by operating the PC 98, for example. More specifically, the trigger control processing unit 53 instructs the logging selector processing unit 51 to start logging based on, for example, an instruction signal input from the PC 98 connected to the RS-232C connector 20. The trigger control processing unit 53 is configured to input an instruction signal for instructing start of logging from, for example, the ENC processing unit 55, the UART processing unit 57, the M2 processing unit 59, and the like. The trigger control processing unit 53 instructs the logging selector processing unit 51 to start logging based on the instruction signal input from the ENC processing unit 55 and the like.
 また、ロギング装置10は、ABSエンコーダ用コネクタ24を6つ備えている。ABSエンコーダ用コネクタ24の各々は、RS-485ドライバIC25を介してFPGA11に接続されている。ABSエンコーダ用コネクタ24は、例えば、RS-485規格の通信ケーブルにおける通信線とGND線とを分岐させたケーブルが接続され、RS-485規格に準拠した通信データを入力する。RS-485ドライバIC25は、RS-485規格に準拠した通信データの論理値の判断等を実行し、処理したデジタル信号をFPGA11へ出力する。これにより、FPGA11は、ロギング対象のRS-485規格の通信ケーブルから通信データをバイパスして受信することができる。なお、ロギング装置10とロギング対象の装置等を接続する方法は、特に限定されない。例えば、ABSエンコーダ用コネクタ24は、ロギング対象の装置の端子に接続するためのプローブやグランパーなどを備える構成でも良い。 The logging device 10 also includes six ABS encoder connectors 24. Each of the ABS encoder connectors 24 is connected to the FPGA 11 via an RS-485 driver IC 25. The ABS encoder connector 24 is connected to, for example, a cable obtained by branching a communication line and a GND line in a communication cable of the RS-485 standard, and inputs communication data compliant with the RS-485 standard. The RS-485 driver IC 25 determines the logical value of communication data based on the RS-485 standard, and outputs a processed digital signal to the FPGA 11. As a result, the FPGA 11 can receive communication data from the logging target communication cable of the RS-485 standard, bypassing the communication data. Note that the method of connecting the logging device 10 to a device to be logged or the like is not particularly limited. For example, the ABS encoder connector 24 may be configured to include a probe, a glamper, or the like for connecting to a terminal of a device to be logged.
 図3は、ロギング対象の装置である電子部品装着装置(以下、「装着装置」と略する場合がある)81にロギング装置10を接続した状態を示している。図4は、装着装置81及びローダ82の概略構成を示す斜視図である。なお、図3は、図面が煩雑となるのを避けるため、通信ケーブルやモニター用のケーブルの一部を省略している。また、以下の説明では、図4に示すように、装着装置81の左右方向をX方向と称し、前後方向をY方向と称し、X方向及びY方向に垂直な方向を上下方向(Z方向)と称して説明する。 FIG. 3 shows a state in which the logging device 10 is connected to an electronic component mounting device (hereinafter, may be abbreviated as “mounting device”) 81 which is a device to be logged. FIG. 4 is a perspective view illustrating a schematic configuration of the mounting device 81 and the loader 82. FIG. 3 omits a part of a communication cable and a monitor cable in order to avoid complicating the drawing. In the following description, as shown in FIG. 4, the left-right direction of the mounting device 81 is referred to as an X direction, the front-rear direction is referred to as a Y direction, and a direction perpendicular to the X direction and the Y direction is a vertical direction (Z direction). This will be described.
 装着装置81は、回路基板110に対して電子部品を装着する装置である。装着装置81は、例えば、X方向に並べられた複数の装着装置81によって生産ラインを構成する。図3及び図4に示すように、装着装置81は、ベース113と、ベース113上に設けられたモジュール115とを備えている。ベース113は、隣り合う装着装置81のベース113と互いに連結される。モジュール115は、例えば、ベース113に対して前後方向へスライド移動可能となっており、他のモジュール115と交換可能となっている。モジュール115は、本体部83と、基板搬送装置117と、フィーダ台119と、ヘッド移動機構84と、ヘッド部85とを備えている。本体部83は、装着装置81を統括的に制御するコントローラ89を備えている。 The mounting device 81 is a device for mounting electronic components on the circuit board 110. The mounting device 81 configures a production line by, for example, a plurality of mounting devices 81 arranged in the X direction. As shown in FIGS. 3 and 4, the mounting device 81 includes a base 113 and a module 115 provided on the base 113. The base 113 is connected to the bases 113 of the adjacent mounting devices 81. The module 115 is, for example, slidable in the front-back direction with respect to the base 113, and is replaceable with another module 115. The module 115 includes a main body 83, a substrate transfer device 117, a feeder stand 119, a head moving mechanism 84, and a head 85. The main unit 83 includes a controller 89 that controls the mounting device 81 in an integrated manner.
 基板搬送装置117は、モジュール115内に設けられ、回路基板110をX方向に搬送する。フィーダ台119は、モジュール115の前面に設けられ、側面視がL字状の台である。フィーダ台119は、X方向に複数配列されたスロット(図示略)を備える。フィーダ台119の各スロットには、電子部品を供給するフィーダ121が装着される。フィーダ121は、例えば、電子部品を所定のピッチで収容するテープから電子部品を供給するテープフィーダである。 The board transfer device 117 is provided in the module 115 and transfers the circuit board 110 in the X direction. The feeder stand 119 is provided on the front surface of the module 115, and is an L-shaped stand when viewed from the side. The feeder stand 119 includes a plurality of slots (not shown) arranged in the X direction. In each slot of the feeder stand 119, a feeder 121 for supplying an electronic component is mounted. The feeder 121 is, for example, a tape feeder that supplies electronic components from a tape that accommodates electronic components at a predetermined pitch.
 ヘッド部85は、フィーダ121から供給された電子部品を吸着する吸着ノズル85Aを備え、吸着ノズル85Aで吸着した電子部品を回路基板110に装着する。ヘッド移動機構84は、X方向及びY方向の任意の位置にヘッド部85を移動させる。詳述すると、ヘッド移動機構84は、ヘッド部85をX方向に移動させるX軸スライド86と、ヘッド部85をY方向に移動させるY軸スライド87とを備える。 The head unit 85 includes a suction nozzle 85A for sucking the electronic component supplied from the feeder 121, and mounts the electronic component sucked by the suction nozzle 85A on the circuit board 110. The head moving mechanism 84 moves the head 85 to any position in the X and Y directions. More specifically, the head moving mechanism 84 includes an X-axis slide 86 for moving the head unit 85 in the X direction, and a Y-axis slide 87 for moving the head unit 85 in the Y direction.
 X軸スライド86は、リニアモータ91(図3参照)を駆動し、モジュール115内(本体部83の上方)においてヘッド部85をX方向に移動させる。X軸スライド86は、Y軸スライド87に取り付けられている。 The X-axis slide 86 drives the linear motor 91 (see FIG. 3) to move the head unit 85 in the X direction inside the module 115 (above the main body 83). The X-axis slide 86 is attached to the Y-axis slide 87.
 また、Y軸スライド87は、リニアモータ91(図3参照)を駆動し、モジュール115内(本体部83の上方)においてY方向へ移動する。X軸スライド86は、Y軸スライド87のリニアモータ91の駆動に基づいてY方向の任意の位置に移動する。ヘッド部85は、X軸スライド86のリニアモータ91の駆動に基づいてX方向の任意の位置に移動する。従って、ヘッド部85は、X軸スライド86及びY軸スライド87の駆動にともなって本体部83の上方の任意の位置に移動する。 The Y-axis slide 87 drives the linear motor 91 (see FIG. 3) and moves in the Y direction inside the module 115 (above the main body 83). The X-axis slide 86 moves to an arbitrary position in the Y direction based on the driving of the linear motor 91 of the Y-axis slide 87. The head 85 moves to an arbitrary position in the X direction based on the driving of the linear motor 91 of the X-axis slide 86. Therefore, the head 85 moves to an arbitrary position above the main body 83 with the driving of the X-axis slide 86 and the Y-axis slide 87.
 本体部83のコントローラ89は、リニアモータ91のリニアスケール92(図3参照)から位置情報であるリニアスケール信号LSDを、本体部83のアンプ部93を介して受信する。コントローラ89は、リニアスケール信号LSDに基づいてアンプ部93を制御し、リニアモータ91に供給する電力等を制御する。これにより、コントローラ89は、ヘッド部85のXY方向の位置を制御できる。 (4) The controller 89 of the main unit 83 receives a linear scale signal LSD, which is positional information, from the linear scale 92 (see FIG. 3) of the linear motor 91 via the amplifier unit 93 of the main unit 83. The controller 89 controls the amplifier 93 based on the linear scale signal LSD, and controls the power supplied to the linear motor 91 and the like. Thereby, the controller 89 can control the position of the head unit 85 in the XY directions.
 また、ヘッド部85は、吸着ノズル85Aを複数備え、複数の吸着ノズル85Aの全体の位置や個々の吸着ノズル85Aの位置を変更する駆動源として電磁モータ95を複数(例えば、6つ)備えている。各電磁モータ95には、例えば、ABS(アブソリュート型)のエンコーダ96が取り付けられている。コントローラ89は、上記したリニアモータ91と同様に、エンコーダ96からアンプ部93を介して受信したエンコーダ信号ENCDに基づいてアンプ部93を制御し、電磁モータ95に供給する電力等を制御する。これにより、コントローラ89は、ヘッド部85の各吸着ノズル85Aの動作を制御できる。 The head unit 85 includes a plurality of suction nozzles 85A, and includes a plurality of (for example, six) electromagnetic motors 95 as driving sources for changing the overall positions of the plurality of suction nozzles 85A and the positions of the individual suction nozzles 85A. I have. For example, an ABS (absolute type) encoder 96 is attached to each electromagnetic motor 95. The controller 89 controls the amplifier 93 based on the encoder signal ENCD received from the encoder 96 via the amplifier 93, and controls the power supplied to the electromagnetic motor 95, similarly to the linear motor 91 described above. Thereby, the controller 89 can control the operation of each suction nozzle 85A of the head unit 85.
 また、ヘッド部85は、X軸スライド86にコネクタを介して取り付けられ、ワンタッチで着脱可能であり、種類の異なるヘッド部85、例えば、ディスペンサヘッド等に変更できる。また、ヘッド部85及びY軸スライド87の各々には、撮像装置としてカメラ103が取り付けられている。なお、図4は、ヘッド部85のカメラ103のみを図示している。 The head 85 is attached to the X-axis slide 86 via a connector, is detachable with one touch, and can be changed to a different type of head 85, for example, a dispenser head. A camera 103 is attached to each of the head unit 85 and the Y-axis slide 87 as an imaging device. FIG. 4 shows only the camera 103 of the head unit 85.
 また、図4に示すように、ベース113の前面には、上部ガイドレール123と、下部ガイドレール125と、ラックギヤ127と、非接触給電コイル129とが設けられている。上部ガイドレール123は、X方向に延びる断面U字状のレールであり、開口部が下を向いている。下部ガイドレール125は、X方向に延びる断面L字状のレールであり、垂直面がベース113の前面に取り付けられ、水平面が前方に伸び出している。ラックギヤ127は、下部ガイドレール125の下部に設けられ、X方向に延び、前面に複数の縦溝が刻まれたギヤである。上部ガイドレール123、下部ガイドレール125及びラックギヤ127は、隣接する装着装置81の上部ガイドレール123、下部ガイドレール125及びラックギヤ127と着脱可能に連結することができる。非接触給電コイル129は、上部ガイドレール123の上部に設けられ、X方向に沿って配置されたコイルであり、ローダ82への電力の供給を行う。 As shown in FIG. 4, an upper guide rail 123, a lower guide rail 125, a rack gear 127, and a non-contact power feeding coil 129 are provided on the front surface of the base 113. The upper guide rail 123 is a rail having a U-shaped cross section extending in the X direction, and has an opening facing downward. The lower guide rail 125 is an L-shaped cross-section rail extending in the X direction, and has a vertical surface attached to the front surface of the base 113 and a horizontal surface extending forward. The rack gear 127 is a gear that is provided below the lower guide rail 125, extends in the X direction, and has a plurality of vertical grooves formed on the front surface. The upper guide rail 123, the lower guide rail 125, and the rack gear 127 can be detachably connected to the upper guide rail 123, the lower guide rail 125, and the rack gear 127 of the adjacent mounting device 81. The non-contact power feeding coil 129 is provided above the upper guide rail 123 and is a coil arranged along the X direction, and supplies power to the loader 82.
 ローダ82は、装着装置81に対するフィーダ121の補充及び回収を自動で行う装置であり、フィーダ121をクランプする把持部(図示略)を備える。ローダ82には、上部ガイドレール123に挿入される上部ローラ(図示略)と、下部ガイドレール125に挿入される下部ローラ(図示略)とが設けられている。また、ローダ82には、駆動源としてモータが設けられている。モータの出力軸には、ラックギヤ127と噛み合うギヤが取り付けられている。ローダ82は、装着装置81の非接触給電コイル129から電力の供給を受ける受電コイルを備えている。ローダ82は、非接触給電コイル129から受電した電力をモータに供給する。これにより、ローダ82は、モータによってギヤを回転させることで、X方向(左右方向)へ移動することができる。また、ローダ82は、上部ガイドレール123及び下部ガイドレール125内でローラを回転させ、上下方向や前後方向の位置を保持しながらX方向へ移動することができる。 The loader 82 is a device that automatically replenishes and collects the feeder 121 with respect to the mounting device 81, and includes a gripper (not shown) that clamps the feeder 121. The loader 82 is provided with an upper roller (not shown) inserted into the upper guide rail 123 and a lower roller (not shown) inserted into the lower guide rail 125. Further, the loader 82 is provided with a motor as a drive source. A gear that meshes with the rack gear 127 is attached to the output shaft of the motor. The loader 82 includes a power receiving coil that receives power from the non-contact power feeding coil 129 of the mounting device 81. The loader 82 supplies the electric power received from the non-contact power supply coil 129 to the motor. Thus, the loader 82 can move in the X direction (left-right direction) by rotating the gear by the motor. Further, the loader 82 can move in the X direction while rotating the rollers in the upper guide rail 123 and the lower guide rail 125 and maintaining the position in the vertical direction and the front-back direction.
 例えば、生産ラインを構成する複数の装着装置81は、生産ラインの管理コンピュータ(図示略)の管理に基づいて、電子部品の装着作業を開始する。装着装置81は、回路基板110を搬送しながらヘッド部85によって電子部品の装着作業を行う。また、管理コンピュータは、フィーダ121の残りの電子部品の数を監視する。管理コンピュータは、例えば、フィーダ121の補給が必要であると判断すると、補給が必要な部品種を収容したフィーダ121をローダ82にセットする指示を画面に表示する。ユーザは、画面を確認して、フィーダ121をローダ82にセットする。管理コンピュータは、所望のフィーダ121がローダ82にセットされたことを検出すると、ローダ82に対して補給作業の開始を指示する。ローダ82は、指示を受けた装着装置81の前方まで移動し、ユーザによってセットされたフィーダ121を把持部で挟持してフィーダ台119のスロットに装着する。これにより、新たなフィーダ121が装着装置81に補給される。また、ローダ82は、部品切れになったフィーダ121を把持部で挟持してフィーダ台119から引き出して回収する。このようにして、新たなフィーダ121の補給及び部品切れとなったフィーダ121の回収を、ローダ82によって自動的行うことができる。 For example, the plurality of mounting devices 81 constituting the production line start the mounting operation of the electronic components based on the management of the production line management computer (not shown). The mounting device 81 performs the mounting operation of the electronic component by the head unit 85 while transporting the circuit board 110. The management computer monitors the number of remaining electronic components of the feeder 121. For example, when the management computer determines that the supply of the feeder 121 is necessary, the management computer displays on the screen an instruction to set the feeder 121 containing the component type that needs the supply to the loader 82. The user checks the screen and sets the feeder 121 on the loader 82. When the management computer detects that the desired feeder 121 has been set in the loader 82, it instructs the loader 82 to start a replenishment operation. The loader 82 moves to the front of the mounting device 81 that has received the instruction, and mounts the feeder 121 set by the user in the slot of the feeder stand 119 while holding the feeder 121 with the gripping portion. Thus, a new feeder 121 is supplied to the mounting device 81. Further, the loader 82 holds the feeder 121, which has run out of components, with the grip portion, pulls it out from the feeder stand 119, and collects it. In this way, the supply of a new feeder 121 and the collection of a feeder 121 that has run out of parts can be automatically performed by the loader 82.
 図3に示すように、例えば、ロギング装置10は、本体部83と、他の装置(ヘッド部85、X軸スライド86、Y軸スライド87)との間に接続されている。なお、図4には、ロギング装置10を図示していないが、ロギング装置10を設置する場所や位置は特に限定されない。例えば、ロギング装置10を、装着装置81内に配置し、本体部83とX軸スライド86等との間に接続しても良い。あるいは、ロギング装置10を、装着装置81の外部に配置して装着装置81の各装置に対して接続しても良い。 As shown in FIG. 3, for example, the logging device 10 is connected between the main unit 83 and other devices (the head unit 85, the X-axis slide 86, and the Y-axis slide 87). Although the logging device 10 is not illustrated in FIG. 4, the location and the position where the logging device 10 is installed are not particularly limited. For example, the logging device 10 may be arranged in the mounting device 81 and connected between the main body 83 and the X-axis slide 86 or the like. Alternatively, the logging device 10 may be arranged outside the mounting device 81 and connected to each device of the mounting device 81.
 例えば、本体部83は、RS-485規格に準拠した通信で、HDLC(High-Level Data Link Control)の通信プロトコルを用いた通信により、エンコーダ96と通信を実行し、エンコーダ信号ENCDを送受信する。エンコーダ信号ENCDは、本体部83から送信されるエンコーダ96に対する指令コマンドや、エンコーダ96から送信される位置情報等である。 For example, the main unit 83 communicates with the encoder 96 by communication using the communication protocol of HDLC (High-Level Data Link Control) according to the RS-485 standard, and transmits and receives the encoder signal ENCD. The encoder signal ENCD is a command command for the encoder 96 transmitted from the main body 83, position information transmitted from the encoder 96, and the like.
 ロギング装置10は、ABSエンコーダ用コネクタ24の各々をエンコーダ信号ENCDの通信ケーブルに接続される。FPGA11には、RS-485ドライバIC25の各々に対応してENC処理部55が設けられている(図2参照)。ENC処理部55の各々は、エンコーダ信号ENCDをサンプリングする。また、ENC処理部55は、例えば、エンコーダ96のメーカーやシリーズにあった通信プロトコルの解析を実行し、共通のデータ形式に変換可能となっている。ENC処理部55は、64BIT(図6参照)を1ブロックとしたデータとして処理結果を出力する。 In the logging device 10, each of the ABS encoder connectors 24 is connected to a communication cable for the encoder signal ENCD. The FPGA 11 is provided with an ENC processing unit 55 corresponding to each of the RS-485 driver ICs 25 (see FIG. 2). Each of the ENC processing units 55 samples the encoder signal ENCD. Further, the ENC processing unit 55 can analyze a communication protocol suitable for a manufacturer and a series of the encoder 96, for example, and can convert the data into a common data format. The ENC processing unit 55 outputs a processing result as data in which 64 BITs (see FIG. 6) constitute one block.
 ENC処理部55は、FIFO(First In, First Out)形式のバッファ回路54を介してロギングセレクタ処理部51と接続されている。バッファ回路54は、ENC処理部55の出力データの大きさに合わせて64BIT分のデータを蓄積可能となっている。ロギングセレクタ処理部51は、バッファ回路54を介して64BITごとのデータを入力する。ロギングセレクタ処理部51は、設定に応じてENC処理部55やUART処理部57等から選択的に通信データを入力する。なお、UART処理部57、M2処理部59、100base-tx処理部61等は、ENC処理部55と同様にサンプリング等を実行する。このため、UART処理部57等の説明において、ENC処理部55と同様の内容については適宜省略する。また、図2中のFIFO1~15は、同様の構成となっているため、その説明を適宜省略する。 The $ ENC processing unit 55 is connected to the logging selector processing unit 51 via a FIFO (First @ In, $ First @ Out) buffer circuit 54. The buffer circuit 54 can accumulate 64 bits of data according to the size of the output data of the ENC processing unit 55. The logging selector processing unit 51 inputs data for each 64 BIT via the buffer circuit 54. The logging selector processing unit 51 selectively receives communication data from the ENC processing unit 55, the UART processing unit 57, and the like according to the settings. The UART processing unit 57, the M2 processing unit 59, the 100base-tx processing unit 61, and the like execute sampling and the like in the same manner as the ENC processing unit 55. Therefore, in the description of the UART processing unit 57 and the like, the same contents as those of the ENC processing unit 55 will be appropriately omitted. The FIFOs 1 to 15 in FIG. 2 have the same configuration, and a description thereof will be omitted as appropriate.
 また、図1及び図2に示すように、ロギング装置10は、RS-232Cコネクタ26を備えている。RS-232Cコネクタ26は、例えば、RS-232C規格の通信ケーブルにおける通信線とGND線とを分岐させたケーブルが接続され、RS-232C規格に準拠した通信の通信データを入力する。RS-232Cコネクタ26は、RS-232CドライバIC27を介してFPGA11と接続されている。RS-232CドライバIC27は、FPGA11のUART処理部57及びバッファ回路54を介してロギングセレクタ処理部51と接続されている。RS-232Cコネクタ26は、例えば、装着装置81に設けられたセンサーの検出信号などを入力するコネクタである。また、例えば、図3に示す本体部83とリニアスケール92との間で、UART通信(RS-232C規格の通信)によりリニアスケール信号LSDを送受信する場合、ロギング装置10は、リニアスケール信号LSDの通信ケーブルにRS-232Cコネクタ26を接続される。FPGA11のロギングセレクタ処理部51は、UART処理部57でサンプリング等されたリニアスケール信号LSDを入力する。 ロ ギ ン グ Further, as shown in FIGS. 1 and 2, the logging device 10 includes an RS-232C connector 26. The RS-232C connector 26 is connected to, for example, a cable obtained by branching a communication line and a GND line of a communication cable of the RS-232C standard, and inputs communication data of communication conforming to the RS-232C standard. The RS-232C connector 26 is connected to the FPGA 11 via an RS-232C driver IC 27. The RS-232C driver IC 27 is connected to the logging selector processing unit 51 via the UART processing unit 57 and the buffer circuit 54 of the FPGA 11. The RS-232C connector 26 is, for example, a connector for inputting a detection signal of a sensor provided in the mounting device 81 and the like. For example, when transmitting and receiving the linear scale signal LSD between the main unit 83 and the linear scale 92 shown in FIG. 3 by UART communication (communication of the RS-232C standard), the logging device 10 transmits the linear scale signal LSD to the linear scale signal LSD. The RS-232C connector 26 is connected to the communication cable. The logging selector processing unit 51 of the FPGA 11 receives the linear scale signal LSD sampled by the UART processing unit 57.
 ここで、図3に示すように、コントローラ89は、ヘッド部85、X軸スライド86、Y軸スライド87の各々に設けられたスレーブ101を、産業ネットワークを介して制御する。スレーブ101は、例えば、ヘッド部85等に設けられたセンサーやリレーなどに接続されている。あるいは、コントローラ89は、産業ネットワークを介してアンプ部93を制御する。ここでいう産業ネットワークとは、例えば、通信ケーブルの省配線化を図ってスレーブとなる装置を制御できるものである。具体的には、産業ネットワークは、例えば、MECHATROLINK(登録商標)-III、EtherCAT(登録商標)などの産業用イーサネット(登録商標、100base-txの通信など)である。あるいは、産業ネットワークは、MECHATROLINK(登録商標)-II、CC-Link(登録商標)、CUNET(登録商標)等である。 Here, as shown in FIG. 3, the controller 89 controls the slave 101 provided on each of the head unit 85, the X-axis slide 86, and the Y-axis slide 87 via an industrial network. The slave 101 is connected to, for example, a sensor or a relay provided in the head unit 85 or the like. Alternatively, the controller 89 controls the amplifier 93 via an industrial network. The industrial network referred to here is, for example, a device that can control a device serving as a slave by reducing the wiring of a communication cable. Specifically, the industrial network is, for example, industrial Ethernet (registered trademark, 100base-tx communication, etc.) such as MECHATROLINK (registered trademark) -III, EtherCAT (registered trademark). Alternatively, the industrial network is MECHATROLINK®-II, CC-Link®, CUNET®, or the like.
 図1及び図2に示すように、ロギング装置10は、M2コネクタ28を備えている。M2コネクタ28は、例えば、MECHATROLINK(登録商標)-II規格に準拠した通信を行う通信ケーブルと接続されるコネクタである。例えば、コントローラ89とスレーブ101の間や、コントローラ89とアンプ部93の間の通信ケーブルに接続される。M2コネクタ28は、RS-485ドライバIC29を介してFPGA11と接続されている。RS-485ドライバIC29は、FPGA11のM2処理部59及び2つのバッファ回路54を介してロギングセレクタ処理部51と接続されている。M2処理部59は、例えば、MECHATROLINK(登録商標)-II規格の通信で伝送されるパラレルIO信号をサンプリング等し、2つのバッファ回路54のうち、一方のバッファ回路54に出力する。また、M2処理部59は、例えば、MECHATROLINK(登録商標)-II規格の通信で伝送されるアナログ信号をデジタル信号に変換してサンプリング等し、2つのバッファ回路54のうち、他方のバッファ回路54に出力する。 ロ ギ ン グ As shown in FIGS. 1 and 2, the logging device 10 includes an M2 connector 28. The M2 connector 28 is, for example, a connector that is connected to a communication cable that performs communication conforming to the MECHATROLINK (registered trademark) -II standard. For example, it is connected to a communication cable between the controller 89 and the slave 101 or between the controller 89 and the amplifier unit 93. The M2 connector 28 is connected to the FPGA 11 via the RS-485 driver IC 29. The RS-485 driver IC 29 is connected to the logging selector processing unit 51 via the M2 processing unit 59 of the FPGA 11 and two buffer circuits 54. The M2 processing unit 59 samples, for example, a parallel IO signal transmitted by MECHATROLINK (registered trademark) -II standard communication, and outputs the parallel IO signal to one of the two buffer circuits 54. The M2 processing unit 59 converts, for example, an analog signal transmitted by the communication of the MECHATROLINK (registered trademark) -II standard into a digital signal, performs sampling, and the like, and performs the other buffer circuit 54 of the two buffer circuits 54 Output to
 また、ロギング装置10は、RJ-45コネクタ31を2つ備えている。RJ-45コネクタ31は、例えば、100base-tx規格に準拠した通信が可能なカテゴリのLANケーブルを接続されるコネクタである。より具体的には、上記したMECHATROLINK(登録商標)-III、EtherCAT(登録商標)などの産業用イーサネット(登録商標)と接続可能なコネクタである。RJ-45コネクタ31の各々は、イーサ用PHY32を介してFPGA11と接続されている。イーサ用PHY32の各々は、FPGA11の100base-tx処理部61及び2つのバッファ回路54を介してロギングセレクタ処理部51と接続されている。 ロ ギ ン グ The logging device 10 also has two RJ-45 connectors 31. The RJ-45 connector 31 is, for example, a connector to which a LAN cable of a category capable of communication conforming to the 100 base-tx standard is connected. More specifically, it is a connector that can be connected to industrial Ethernet (registered trademark) such as MECHATROLINK (registered trademark) -III and EtherCAT (registered trademark) described above. Each of the RJ-45 connectors 31 is connected to the FPGA 11 via an Ethernet PHY 32. Each of the Ethernet PHYs 32 is connected to a logging selector processing unit 51 via a 100 base-tx processing unit 61 and two buffer circuits 54 of the FPGA 11.
 100base-tx処理部61は、例えば、MECHATROLINK(登録商標)-III規格の通信で伝送されるパラレルIO信号をサンプリング等し、2つのバッファ回路54のうち、一方のバッファ回路54に出力する。また、100base-tx処理部61は、例えば、MECHATROLINK(登録商標)-III規格の通信で伝送されるアナログ信号をデジタル信号に変換してサンプリング等し、2つのバッファ回路54のうち、他方のバッファ回路54に出力する。なお、産業ネットワークの接続形態は上記した形態に限らない。例えば、RS-485規格の通信ケーブルで接続されたCUNET(登録商標)の通信データをロギングする場合、ABSエンコーダ用コネクタ24を、CUNET(登録商標)の通信ケーブルに接続しても良い。 The # 100base-tx processing unit 61 samples, for example, a parallel IO signal transmitted by MECHATROLINK (registered trademark) -III standard communication, and outputs the parallel IO signal to one of the two buffer circuits 54. The 100 base-tx processing unit 61 converts, for example, an analog signal transmitted by communication of the MECHATROLINK (registered trademark) -III standard into a digital signal and performs sampling or the like, and the other buffer circuit of the two buffer circuits 54 Output to the circuit 54. Note that the connection form of the industrial network is not limited to the above-described form. For example, when logging communication data of CUNET (registered trademark) connected with a communication cable of the RS-485 standard, the ABS encoder connector 24 may be connected to a communication cable of CUNET (registered trademark).
 また、ロギング装置10は、高速DI用端子台33と、低速DI用端子台35とを備えている。高速DI用端子台33及び低速DI用端子台35は、例えば、装着装置81に設けられたセンサーの検出信号などを入力するコネクタである。高速DI用端子台33は、高速フォトカプラIC34を介してFPGA11と接続されている。高速フォトカプラIC34は、FPGA11の高速PIO処理部62及びバッファ回路54を介してロギングセレクタ処理部51と接続されている。低速DI用端子台35は、低速フォトカプラIC36を介してFPGA11と接続されている。低速フォトカプラIC36は、低速PIO処理部63及びバッファ回路54を介してロギングセレクタ処理部51と接続されている。 The logging device 10 includes a high-speed DI terminal block 33 and a low-speed DI terminal block 35. The high-speed DI terminal block 33 and the low-speed DI terminal block 35 are connectors for inputting, for example, a detection signal of a sensor provided in the mounting device 81. The high-speed DI terminal block 33 is connected to the FPGA 11 via a high-speed photocoupler IC. The high-speed photocoupler IC 34 is connected to a logging selector processing unit 51 via a high-speed PIO processing unit 62 and a buffer circuit 54 of the FPGA 11. The low-speed DI terminal block 35 is connected to the FPGA 11 via a low-speed photocoupler IC 36. The low-speed photocoupler IC 36 is connected to the logging selector processing unit 51 via the low-speed PIO processing unit 63 and the buffer circuit 54.
 高速DI用端子台33及び低速DI用端子台35には、例えば、4つの通信線を接続可能な端子が設けられている。高速フォトカプラIC34及び低速フォトカプラIC36は、高速DI用端子台33等に入力した電気信号を光に変換し、再度電気信号に戻し、電気的な絶縁を行いながら通信データを取得する。高速フォトカプラIC34は、低速フォトカプラIC36に比べて高速なデジタル信号を処理可能に構成されている。高速PIO処理部62及び低速PIO処理部63は、高速フォトカプラIC34等から入力した通信データをサンプリング等し、バッファ回路54を介してロギングセレクタ処理部51へ出力する。 (4) The high-speed DI terminal block 33 and the low-speed DI terminal block 35 are provided with, for example, terminals to which four communication lines can be connected. The high-speed photocoupler IC 34 and the low-speed photocoupler IC 36 convert an electric signal input to the high-speed DI terminal block 33 or the like into light, convert it back to an electric signal, and acquire communication data while performing electrical insulation. The high-speed photocoupler IC 34 is configured to process digital signals at a higher speed than the low-speed photocoupler IC 36. The high-speed PIO processing unit 62 and the low-speed PIO processing unit 63 sample communication data input from the high-speed photocoupler IC 34 and the like, and output the data to the logging selector processing unit 51 via the buffer circuit 54.
 また、ロギング装置10は、高速ADC用コネクタ37を備えている。高速ADC用コネクタ37は、ADC-IC38を介してFPGA11と接続されている。ADC-IC38は、ADC処理部64及びバッファ回路54を介してロギングセレクタ処理部51と接続されている。高速ADC用コネクタ37は、アナログデータを入力するためのコネクタである。ADC-IC38は、高速ADC用コネクタ37を介して入力したアナログデータをデジタルデータに変換してADC処理部64へ出力する。ADC処理部64は、ADC-IC38から入力した通信データをサンプリング等し、バッファ回路54を介してロギングセレクタ処理部51へ出力する。 (4) The logging device 10 includes the high-speed ADC connector 37. The high-speed ADC connector 37 is connected to the FPGA 11 via the ADC-IC 38. The ADC-IC 38 is connected to the logging selector processing unit 51 via the ADC processing unit 64 and the buffer circuit 54. The high-speed ADC connector 37 is a connector for inputting analog data. The ADC-IC 38 converts analog data input through the high-speed ADC connector 37 into digital data and outputs the digital data to the ADC processing unit 64. The ADC processing unit 64 samples the communication data input from the ADC-IC 38 and outputs the data to the logging selector processing unit 51 via the buffer circuit 54.
 また、ロギング装置10は、JTAGコネクタ43を備えている。JTAGコネクタ43は、例えば、JTAG(Joint European Test Action Group)によって提案された規格に準拠した通信を実行するコネクタである。FPGA11は、例えば、JTAGコネクタ43を介して入力したコンフィグ情報に基づいて回路ブロックを構築する。このため、ユーザは、例えば、ロギング対象の機器(エンコーダ96など)のメーカーや機種などに応じてJTAGコネクタ43に入力するコンフィグ情報を変更することで、FPGA11の回路ブロックを変更できる。例えば、ENC処理部55が使用するサンプリング時間や通信データの解析に用いる通信プロトコルの形式情報等を変更し、ENC処理部55に対してサンプリング等を適切に実施させることができる。なお、ロギング装置10に対して設定を行う方法は、コンフィグ情報によって回路ブロックを変更する方法に限らない。例えば、サンプリング時間等を選択可能な画面をPC98等に表示し、表示した画面においてユーザによる選択を受け付けても良い。 (4) The logging device 10 includes the JTAG connector 43. The JTAG connector 43 is a connector that executes communication conforming to a standard proposed by, for example, JTAG (Joint European Test Action Group). The FPGA 11 constructs a circuit block based on the configuration information input via the JTAG connector 43, for example. Therefore, the user can change the circuit block of the FPGA 11 by changing the configuration information input to the JTAG connector 43 according to, for example, the manufacturer or model of the device (such as the encoder 96) to be logged. For example, the sampling time used by the ENC processing unit 55, the format information of the communication protocol used for analyzing the communication data, and the like can be changed, and the ENC processing unit 55 can appropriately perform sampling and the like. Note that the method of setting the logging device 10 is not limited to the method of changing the circuit block based on the configuration information. For example, a screen on which the sampling time and the like can be selected may be displayed on the PC 98 or the like, and the selection by the user may be accepted on the displayed screen.
 また、ロギングセレクタ処理部51は、ABSエンコーダ用コネクタ24、M2コネクタ28、RJ-45コネクタ31、高速DI用端子台33、低速DI用端子台35、高速ADC用コネクタ37等でサンプリングされたデジタル信号の通信データを入力する。ロギングセレクタ処理部51は、複数の通信データ(バッファ回路54)の中から選択された通信データを入力する。ロギングセレクタ処理部51は、例えば、コンフィグ情報による設定、PC98の表示画面による選択、あるいはトリガ制御処理部53から入力した指令信号等に応じて、入力する通信データを選択する。 Further, the logging selector processing unit 51 performs the digital sampling performed by the ABS encoder connector 24, the M2 connector 28, the RJ-45 connector 31, the high-speed DI terminal block 33, the low-speed DI terminal block 35, the high-speed ADC connector 37, and the like. Input signal communication data. The logging selector processing unit 51 inputs communication data selected from a plurality of communication data (buffer circuits 54). The logging selector processing unit 51 selects communication data to be input in accordance with, for example, settings based on configuration information, selection on the display screen of the PC 98, or a command signal input from the trigger control processing unit 53.
 図2に示すように、ロギングセレクタ処理部51は、FIFO形式のバッファ回路66を介してメモリコントローラ67に接続されている。メモリコントローラ67は、DDRメモリ15と接続され、DDRメモリ15に対するデータの書き込み及びデータの読み出しを制御する。従って、ロギングセレクタ処理部51は、ENC処理部55等から入力したロギング対象の通信データを、バッファ回路66及びメモリコントローラ67を介してDDRメモリ15に保存する。 (2) As shown in FIG. 2, the logging selector processing unit 51 is connected to a memory controller 67 via a FIFO type buffer circuit 66. The memory controller 67 is connected to the DDR memory 15 and controls writing and reading of data to and from the DDR memory 15. Accordingly, the logging selector processing unit 51 stores the communication data to be logged input from the ENC processing unit 55 and the like in the DDR memory 15 via the buffer circuit 66 and the memory controller 67.
 また、ロギング装置10は、外部記憶装置42(図1参照)と接続するためのSATAコネクタ41を備えている。SATAコネクタ41は、例えば、シリアルATA規格に準拠した通信を行うインタフェースである。外部記憶装置42は、例えば、HDD(hard disk drive)やSSD(solid state drive)などの記憶装置である。なお、外部記憶装置42と接続する規格は、SATA規格に限らず、パラレルATA(IDE)規格、USB規格、あるいはIEEE1394規格などでも良い。 The logging device 10 also includes a SATA connector 41 for connecting to an external storage device 42 (see FIG. 1). The SATA connector 41 is, for example, an interface for performing communication conforming to the Serial ATA standard. The external storage device 42 is, for example, a storage device such as a hard disk drive (HDD) or a solid state drive (SSD). The standard connected to the external storage device 42 is not limited to the SATA standard, but may be a parallel ATA (IDE) standard, a USB standard, or an IEEE 1394 standard.
 SATAコネクタ41は、FPGA11のSATA-IP68に接続されている。SATA-IP68は、例えば、SATA規格のインタフェースで送受信されるデータの処理が可能なIPコアである。ロギングセレクタ処理部51は、例えば、コンフィグ情報の設定に応じて、ENC処理部55等から入力した通信データの保存先を変更する。例えば、ロギングセレクタ処理部51は、外部記憶装置42へ通信データを保存する回路ブロック51A(図2参照)を構築すると、SATA-IP68を介して外部記憶装置42へ通信データを保存する(図2の破線参照)。 The SATA connector 41 is connected to the SATA-IP 68 of the FPGA 11. The SATA-IP 68 is, for example, an IP core that can process data transmitted and received through an interface based on the SATA standard. The logging selector processing unit 51 changes the storage destination of the communication data input from the ENC processing unit 55 or the like, for example, according to the setting of the configuration information. For example, when the logging selector processing unit 51 constructs a circuit block 51A (see FIG. 2) for storing communication data in the external storage device 42, it stores the communication data in the external storage device 42 via the SATA-IP 68 (FIG. 2). Dashed line).
(通信データの保存について)
 ここで、ENC処理部55等でサンプリングされる各通信データは、互いに通信速度が異なる場合がある。通信データの通信速度は、使用される物理層や通信プロトコルなどに応じて異なる。また、通信速度は、ロギング対象の装置の種類、メーカー、装置のバージョンなどによっても異なる。そこで、ENC処理部55、UART処理部57、M2処理部59等は、ABSエンコーダ用コネクタ24等から入力した通信データの各々について、通信速度に応じたサンプリング時間でサンプリングを実行する。
(About saving communication data)
Here, communication data sampled by the ENC processing unit 55 and the like may have different communication speeds from each other. The communication speed of the communication data differs depending on the physical layer and the communication protocol used. The communication speed also differs depending on the type of the device to be logged, the manufacturer, the version of the device, and the like. Thus, the ENC processing unit 55, the UART processing unit 57, the M2 processing unit 59, and the like execute sampling of each of the communication data input from the ABS encoder connector 24 and the like at a sampling time according to the communication speed.
 図5は、各コネクタと、各コネクタから入力した通信データをサンプリングするサンプリング時間等を示している。図5に示すデータ種、サンプリング時間等は、一例である。図5の最も左側の列は、各通信データを識別する識別IDを示しており、後述する保存データの識別にも用いる(図6参照)。識別IDのゼロについては後述する。識別IDの1~14は、この順番で、図2に示すRS-485ドライバIC23から高速ADC用コネクタ37の各々(バッファ回路54ごと)に対応している。 (5) FIG. 5 shows each connector and a sampling time for sampling communication data input from each connector. The data types, sampling times, and the like shown in FIG. 5 are examples. The leftmost column in FIG. 5 shows an identification ID for identifying each communication data, which is also used for identifying stored data described later (see FIG. 6). Zero of the identification ID will be described later. The identification IDs 1 to 14 correspond in this order to the RS-485 driver IC 23 to the high-speed ADC connector 37 (for each buffer circuit 54) shown in FIG.
 図5の左から2列目は、データの種類を示す情報である。3列目は、サンプリング時間の情報である。4列目は、メーカー名、装置の種類、装置のシリーズ番号などの通信データの種類を判断できる詳細な情報である。5列目は、ロギングを実行するか否かを示す情報である。例えば、5列目に示すゼロは、ロギングしないことを示している。また、5列目の1は、ロギングを行うことを示している。6列目は、通信データの通信速度やデータの伝送周期などの情報である。 2The second column from the left in FIG. 5 is information indicating the type of data. The third column is information on the sampling time. The fourth column is detailed information that can determine the type of communication data such as the manufacturer name, the type of device, and the series number of the device. The fifth column is information indicating whether to execute logging. For example, a zero in the fifth column indicates that no logging is performed. Also, 1 in the fifth column indicates that logging is performed. The sixth column contains information such as the communication speed of communication data and the data transmission cycle.
 識別IDの1~6は、ABSエンコーダ用コネクタ24に対応している。例えば、ENC処理部55は、ABSエンコーダ用コネクタ24から入力した通信データ(エンコーダ信号ENCD)を、40ns(25MHz)のサンプリング時間でサンプリングを実行する。図5に示すサンプリング時間は、例えば、FPGA11の回路ブロックを構築するコンフィグ情報に設定される。この場合、ENC処理部55等は、回路ブロックの構築時に、通信データの通信速度に応じたサンプリング時間でサンプリングするサンプリング回路を構築する。あるいは、例えば、各コネクタ(チャンネル)とサンプリング時間とを対応付けた設定ファイルを不揮発性メモリ17に保存しても良い。そして、ENC処理部55等は、起動後に不揮発性メモリ17から設定ファイルを読み込んでサンプリング時間を設定しても良い。 Identification IDs 1 to 6 correspond to the ABS encoder connector 24. For example, the ENC processing unit 55 samples communication data (encoder signal ENCD) input from the ABS encoder connector 24 at a sampling time of 40 ns (25 MHz). The sampling time shown in FIG. 5 is set in, for example, configuration information for constructing a circuit block of the FPGA 11. In this case, when constructing the circuit block, the ENC processing unit 55 and the like construct a sampling circuit that samples at a sampling time corresponding to the communication speed of communication data. Alternatively, for example, a setting file in which each connector (channel) is associated with a sampling time may be stored in the nonvolatile memory 17. Then, the ENC processing unit 55 or the like may read the setting file from the nonvolatile memory 17 after startup and set the sampling time.
 また、図5の5列目に示すロギングの実行有無の情報を設定する方法は、コンフィグ情報を用いた方法でも良く、ユーザによる選択をPC98等で受け付ける方法でも良く、後からロギングセレクタ処理部51が設定ファイルを読み込む方法でも良い。ロギングセレクタ処理部51は、例えば、ロギングを実行する旨を設定された識別ID(通信データ)に応じたバッファ回路54と選択的に接続する回路をコンフィグ情報に基づいて構築する。これにより、ロギングの対象の通信データを設定できる。なお、FPGA11は、ロギングを実行しない旨を設定された識別IDに対応するENC処理部55等を構築しなくとも良い。即ち、コンフィグ情報は、ロギングに不要な回路ブロックを構築しない情報でも良い。また、ロギング装置10は、図5に示す一覧表を、例えば、PC98のモニターに表示し、ユーザによる選択や変更を受け付け、各コネクタのサンプリング時間等を設定しても良い。 The method for setting the information on whether or not to execute logging shown in the fifth column of FIG. 5 may be a method using configuration information, a method of receiving a user's selection by the PC 98 or the like, and the logging selector processing unit 51 later. May read the configuration file. The logging selector processing unit 51 constructs, for example, a circuit selectively connected to the buffer circuit 54 corresponding to the identification ID (communication data) set to execute logging based on the configuration information. Thus, communication data to be logged can be set. Note that the FPGA 11 does not need to construct the ENC processing unit 55 or the like corresponding to the identification ID set to not execute the logging. That is, the configuration information may be information that does not construct a circuit block unnecessary for logging. The logging device 10 may display the list shown in FIG. 5 on, for example, a monitor of the PC 98, receive selection or change by the user, and set the sampling time of each connector.
 図6は、ロギングセレクタ処理部51によって保存されるデータの形式を示している。ロギングセレクタ処理部51は、例えば、バッファ回路54から入力したデータを、64BITを1ブロックのデータとして保存する。図6における最も左の列は、図5との対応関係を示す識別IDを示している。図6の2行目は、64BITのデータに含まれる各データの説明を示している。図6の3行目は、64BITのデータのうち、各データが含まれる位置を示している。図6では、左から右に向かって63ビット目から0ビット目の順に並んでいる。左から2列目は、継続フラグの情報である。継続フラグは、例えば、1BITで表される。図6の最も右側の列に示すように、例えば、ENC処理部55等は、1ブロックのデータのうち、40BITを、サンプリングした通信データの保存に使用する。2列目の継続フラグは、この40BITの通信データだけでは不足した場合に、次の1ブロックのデータが前の1ブロックのデータと連続していることを示すのに使用される。 FIG. 6 shows the format of data stored by the logging selector processing unit 51. The logging selector processing unit 51 stores, for example, the data input from the buffer circuit 54 in 64 bits as one block of data. The leftmost column in FIG. 6 shows the identification ID indicating the correspondence with FIG. The second line of FIG. 6 shows the description of each data included in the 64 BIT data. The third line in FIG. 6 indicates a position at which each data is included in the 64 BIT data. In FIG. 6, they are arranged in order from the 63rd bit to the 0th bit from left to right. The second column from the left is information on the continuation flag. The continuation flag is represented by, for example, 1 BIT. As shown in the rightmost column of FIG. 6, for example, the ENC processing unit 55 and the like use 40 BIT of the data of one block for storing the sampled communication data. The continuation flag in the second column is used to indicate that the data of the next block is continuous with the data of the previous block when the communication data of 40 BIT alone is insufficient.
 より具体的には、例えば、ENC処理部55(図2参照)は、ABSエンコーダ用コネクタ24から入力したエンコーダ信号ENCDに対し、エンコーダ信号ENCDに付加された誤り検出符号(CRCなど)に基づいて誤りの検出を実行する。ENC処理部55は、エンコーダ信号ENCDの誤りを検出すると、その誤りの発生状況等の異常の詳細を保存する。このような場合、入力した通信データに加えて異常の詳細を示す情報等を保存する。このため、40BITだけでは不足する虞がある。あるいは、ENC処理部55は、例えば、エンコーダ信号ENCDのタイムアウト異常、通信の切断異常、エンコーダ96の温度異常など、様々な異常を検出した場合に、通信データに付加情報を付与する。このような40BITだけでは不足する場合に、ENC処理部55は、例えば、継続フラグのビットを立てる(1ビットにする)。 More specifically, for example, the ENC processing unit 55 (see FIG. 2) responds to the encoder signal ENCD input from the ABS encoder connector 24 based on an error detection code (such as a CRC) added to the encoder signal ENCD. Perform error detection. When detecting an error in the encoder signal ENCD, the ENC processing unit 55 stores details of the abnormality such as the state of occurrence of the error. In such a case, information indicating details of the abnormality and the like are stored in addition to the input communication data. For this reason, there is a possibility that only 40 BIT may be insufficient. Alternatively, the ENC processing unit 55 adds additional information to the communication data when detecting various abnormalities such as a timeout abnormality of the encoder signal ENCD, a communication disconnection abnormality, and a temperature abnormality of the encoder 96. If such 40 BITs alone are not enough, the ENC processing unit 55 sets, for example, a continuation flag bit (to 1 bit).
 ロギングセレクタ処理部51は、例えば、DDRメモリ15の通信データを保存する領域を識別IDごとに分ける。ロギングセレクタ処理部51は、ENC処理部55から入力した通信データを対応する領域に保存するとともに、ENC処理部55から入力した順番、即ち、サンプリングした順番にデータを保存する。これにより、後からロギングしたデータを分析する際に、継続フラグに基づいて保存したデータの連続性を判断でき、通信データの再構築や異常内容の確認を適切に実行できる。なお、ENC処理部55が誤り検出を実行するか否かの設定や、異常の検出に応じてロギングを開始する設定は、ユーザによって変更可能となっている。この変更方法については後述する(図9参照)。 The logging selector processing unit 51 divides, for example, an area of the DDR memory 15 for storing communication data for each identification ID. The logging selector processing unit 51 stores the communication data input from the ENC processing unit 55 in the corresponding area, and stores the data in the order input from the ENC processing unit 55, that is, in the sampling order. Thereby, when analyzing the logged data later, the continuity of the stored data can be determined based on the continuation flag, and the reconstruction of the communication data and the confirmation of the abnormal content can be appropriately executed. The setting as to whether the ENC processing unit 55 performs error detection and the setting to start logging in response to the detection of an abnormality can be changed by the user. This changing method will be described later (see FIG. 9).
 また、ロギングセレクタ処理部51は、任意のバッファ回路54から入力した通信データと、他のバッファ回路54から入力した通信データとが同じ時間軸で並ぶように保存する。具体的には、例えば、図7は、各バッファ回路54から出力される64ビットの通信データと、出力される時間との関係を示している。ロギングセレクタ処理部51は、例えば、複数のバッファ回路54の出力処理を同期させ(図7中の時間t1,t2参照)、同時にサンプリングした通信データを互いに関連付けて保存する。この場合、関連付けられた複数の通信データは、同時にサンプリングしたデータであるため、同じ時間軸に並べて比較等できる。あるいは、ロギングセレクタ処理部51は、例えば、サンプリングした時間情報を、保存する通信データに設定し、複数の通信データの時間情報を互いに関連付けても良い。なお、図6に示すように、継続フラグが必要な条件、即ち、連続したデータとして取り扱う必要がある条件は、ロギング対象の通信データごとに異なる場合がある。このため、ENC処理部55、UART処理部57等は、図6に示す継続フラグの条件に基づいて回路ブロックを構築され、条件が成立した場合に継続フラグを立てる。 {Circle around (4)} The logging selector processing unit 51 stores communication data input from an arbitrary buffer circuit 54 and communication data input from another buffer circuit 54 such that they are arranged on the same time axis. Specifically, for example, FIG. 7 shows a relationship between 64-bit communication data output from each buffer circuit 54 and output time. The logging selector processing unit 51 synchronizes, for example, the output processes of the plurality of buffer circuits 54 (see times t1 and t2 in FIG. 7), and stores the simultaneously sampled communication data in association with each other. In this case, since the plurality of associated communication data are data sampled simultaneously, they can be compared side by side on the same time axis. Alternatively, the logging selector processing unit 51 may, for example, set the sampled time information in the communication data to be stored, and associate the time information of a plurality of communication data with each other. As shown in FIG. 6, the condition that requires a continuation flag, that is, the condition that must be handled as continuous data, may be different for each communication data to be logged. Therefore, the ENC processing unit 55, the UART processing unit 57, and the like construct a circuit block based on the condition of the continuation flag shown in FIG. 6, and raise the continuation flag when the condition is satisfied.
 図6における左から3列目は、差分時間の情報である。差分時間は、例えば、15BITで表される。ロギング対象の通信データは、常にデータが送受信されているとは限らない。例えば、エンコーダ信号ENCDの通信は、エンコーダ96の初期設定を行う時、エンコーダ96から位置情報を取得する時、エンコーダ96のステータスを取得する時などに実行される。このため、ENC処理部55等は、通信データの入力があるか否かを検出し、前回の入力を検出した時間と、その次に入力を検出した時間との差分時間を通信データと関連付ける。ENC処理部55等は、上記した継続フラグや差分時間を通信データと関連付けた1ブロックのデータ(64BIT)をロギングセレクタ処理部51へ出力する。ENC処理部55等は、例えば、通信データの信号レベルが一定時間だけ変化しない場合に、通信データの入力を検出できないと判断する。そして、ENC処理部55等は、信号レベルの変化がなくなったタイミングからサンプリング時間ごとに差分時間をカウントアップする。 3The third column from the left in FIG. 6 is information on the difference time. The difference time is represented by, for example, 15 BIT. Communication data to be logged is not always transmitted and received. For example, communication of the encoder signal ENCD is performed when performing initial setting of the encoder 96, when acquiring position information from the encoder 96, when acquiring the status of the encoder 96, and the like. For this reason, the ENC processing unit 55 and the like detect whether or not there is an input of communication data, and associate a difference time between the time when the previous input was detected and the time when the next input was detected with the communication data. The ENC processing unit 55 and the like output, to the logging selector processing unit 51, one block of data (64 BIT) in which the above-described continuation flag and difference time are associated with communication data. For example, when the signal level of the communication data does not change for a certain period of time, the ENC processing unit 55 and the like determine that the input of the communication data cannot be detected. Then, the ENC processing unit 55 and the like count up the difference time for each sampling time from the timing at which the signal level does not change.
 従って、ENC処理部55等は、通信速度の異なる通信データの各々について入力があるか否かをサンプリング時間ごとに検出できる。このため、通信速度の異なる通信データについて、適切なロギングが可能となる。 Therefore, the ENC processing unit 55 and the like can detect, for each sampling time, whether or not there is an input for each of the communication data having different communication speeds. Therefore, it is possible to appropriately log communication data having different communication speeds.
 また、図5に示すように、エンコーダ信号ENCDは、40nsごとにサンプリングされる。一方で、実際の通信は、例えば、62.5μsごとにデータの送受信が発生する(図5の備考参照)。この場合、差分時間の値は、約1562(=62.5μs/40ns)だけカウントアップされる。ENC処理部55は、次の通信データの入力を検出すると、差分時間の情報として1562の値を設定し、値を設定した1ブロックのデータを出力する。また、通信データの送受信が長時間に亘って実施されない場合、差分時間のカウント値が最大値を超える可能性がある。本実施形態では、差分時間として15BITを割り当てている。この場合、最大カウント値は、例えば、32768(=2の15乗)となる。ENC処理部55は、差分時間が15BITで表現可能な最大カウント値を超える前に、それまでカウントした差分時間を設定した1ブロックのデータをロギングセレクタ処理部51に出力する。ENC処理部55は、差分時間をリセットし、差分時間のカウントを新たに開始する。これにより、ENC処理部55は、長時間に亘って通信データの送受信がない状態でも、長時間に亘る差分時間の情報を、複数の差分時間の情報に分割して保存する。ユーザは、保存されたデータにおいて、差分時間が設定されたデータが連続していた場合、そのデータを1つのまとまった差分時間のデータとして取り扱うことができる。なお、上記したENC処理部55以外のUART処理部57等においても、同様に差分時間の処理を実行できる。 {Also, as shown in FIG. 5, encoder signal ENCD is sampled every 40 ns. On the other hand, in actual communication, for example, data transmission / reception occurs every 62.5 μs (see remarks in FIG. 5). In this case, the value of the difference time is counted up by about 1562 (= 62.5 μs / 40 ns). When detecting the input of the next communication data, the ENC processing unit 55 sets a value of 1562 as the information of the difference time, and outputs data of one block in which the value is set. In addition, when transmission and reception of communication data are not performed for a long time, the count value of the difference time may exceed the maximum value. In the present embodiment, 15 BIT is assigned as the difference time. In this case, the maximum count value is, for example, 32768 (= 2 to the 15th power). Before the difference time exceeds the maximum count value that can be represented by 15 BIT, the ENC processing unit 55 outputs one block of data in which the difference time counted up to that time is set to the logging selector processing unit 51. The ENC processing unit 55 resets the difference time and newly starts counting the difference time. Thereby, even in a state where there is no transmission / reception of communication data for a long time, the ENC processing unit 55 divides the long-time difference time information into a plurality of pieces of the difference time information and stores the information. If the data for which the difference time is set is continuous in the stored data, the user can handle the data as one piece of data of the difference time. It should be noted that the UART processing unit 57 and the like other than the above-described ENC processing unit 55 can similarly execute the processing of the difference time.
 従って、ENC処理部55等は、複数の種類の通信データの各々の入力があるか否かを検出し、前回の入力を検出した時間と、その次に入力を検出した時間との差分時間を、複数の種類の通信データと関連付けて保存する(図6参照)。ENC処理部55等は、通信速度の異なる通信データの各々について、通信データの入力の有無に応じたデータを保存できる。例えば、入力を検出した際だけ通信データを保存し、入力を検出できない期間を差分時間として保存できる。これにより、入力の有無に係わらずサンプリング時間ごとにサンプリングしたデータをすべて保存する場合に比べて保存するデータ量を小さくできる。また、差分時間を通信データと関連付けて保存しておくことで、後から保存したデータを用いる場合に、差分時間に基づいて時系列に沿った通信データを再現できる。従って、通信速度の異なる通信データについて、データ量の圧縮を図りながら、適切なロギングが可能となる。 Accordingly, the ENC processing unit 55 and the like detect whether or not each of a plurality of types of communication data has been input, and determine the difference time between the time when the previous input was detected and the time when the next input was detected. Are stored in association with a plurality of types of communication data (see FIG. 6). The ENC processing unit 55 and the like can store data corresponding to the presence or absence of input of communication data for each of communication data having different communication speeds. For example, communication data can be stored only when an input is detected, and a period during which no input can be detected can be stored as a difference time. As a result, the amount of data to be stored can be reduced as compared with the case where all the data sampled for each sampling time is stored regardless of the presence or absence of input. Further, by storing the difference time in association with the communication data, when using the data stored later, communication data can be reproduced in a time series based on the difference time. Therefore, appropriate logging can be performed for communication data having different communication speeds while reducing the data amount.
 ここで、本実施形態のロギング装置10は、外部記憶装置42を接続可能なSATAコネクタ41(外部インタフェースの一例)を備えている。そして、ロギングセレクタ処理部51は、トリガ制御処理部53等から入力した通信データを、SATAコネクタ41を介して外部記憶装置42に保存可能である。この構成によれば、トリガ制御処理部53等は、PC98等の外部装置による処理を介さずに、サンプリングした通信データを外部記憶装置42に直接保存できる。 Here, the logging device 10 of the present embodiment includes a SATA connector 41 (an example of an external interface) to which an external storage device 42 can be connected. Then, the logging selector processing unit 51 can save the communication data input from the trigger control processing unit 53 and the like in the external storage device 42 via the SATA connector 41. According to this configuration, the trigger control processing unit 53 and the like can directly save the sampled communication data in the external storage device 42 without going through processing by an external device such as the PC 98.
 また、図6における左から4列目は、識別IDの情報を示している。識別IDの情報は、例えば、4BITで表される。ここで、PC98は、DDRメモリ15や外部記憶装置42に保存された通信データ(図6参照)を読み出して、分析処理や表示処理をすることができる。例えば、PC98の記憶装置内に、図5及び図6に示す各種の設定情報を保存しておく。これにより、PC98は、DDRメモリ15等から読み出した1ブロックのデータに含まれる識別IDと、予め記憶装置に保存された設定情報の識別IDとを照合することで、読み出したデータの種類、サンプリング時間等を検出できる。また、PC98は、差分時間に基づいて、通信データの送受信がなかった時間(通信データが保存されていない時間)を補完する処理を行い、時系列に沿って通信データを元の状態に再構築できる。なお、PC98は、図5や図6に示す各種の設定情報を予め保有せず、分析を開始する際にロギング装置10から取得しても良い。 {Circle around (4)} from the left in FIG. 6 indicates information on the identification ID. The information of the identification ID is represented by, for example, 4 BITs. Here, the PC 98 can read out the communication data (see FIG. 6) stored in the DDR memory 15 or the external storage device 42 and perform an analysis process and a display process. For example, various setting information shown in FIGS. 5 and 6 is stored in the storage device of the PC 98. Thereby, the PC 98 compares the identification ID included in the data of one block read out from the DDR memory 15 or the like with the identification ID of the setting information stored in the storage device in advance, so that the type of data read out and the sampling Time can be detected. In addition, the PC 98 performs a process of complementing the time during which no communication data was transmitted / received (the time during which communication data is not stored) based on the difference time, and reconstructs the communication data to the original state in time series. it can. Note that the PC 98 may not acquire the various setting information shown in FIGS. 5 and 6 in advance, and may acquire it from the logging device 10 when starting the analysis.
 図6における左から5列目は、サンプリングした通信データの状態を示す情報であり、具体的には図8に示す4BITの情報である。図8の最も左の列は、識別IDを示している。通信データの状態を示す情報(図6のB43-B40)は、識別ID(通信データ)ごとに異なる情報が設定される。このため、図8に示すように、同じ4BITの情報であっても、識別IDごとにデータが示す情報が異なっている。 5The fifth column from the left in FIG. 6 is information indicating the state of the sampled communication data, and specifically, is 4 BIT information shown in FIG. The leftmost column in FIG. 8 shows the identification ID. Information (B43-B40 in FIG. 6) indicating the state of communication data is set to different information for each identification ID (communication data). For this reason, as shown in FIG. 8, the information indicated by the data is different for each ID even for the same 4 BIT information.
 図8の左から2列目は、先頭ビット(B3)の情報であり、データの有無を示すビット値として使用される。例えば、有効なデータをサンプリングして図6の通信データ(B30-B0)に設定した場合、ENC処理部55等は、先頭ビット(B3)として1の値を設定する。上記したように、例えば、長期に亘って通信データが入力されず、差分時間(カウント値)が最大カウント値となった場合、差分時間と、無入力の通信データ(例えば、全てゼロ)が保存される。この場合、先頭ビット(B3)は、0の値が設定される。これにより、先頭ビット(B3)を判断するだけで、通信データに有効なデータが保存されているのかを判断できる。 2The second column from the left in FIG. 8 is information on the first bit (B3), and is used as a bit value indicating the presence or absence of data. For example, when valid data is sampled and set as communication data (B30-B0) in FIG. 6, the ENC processing unit 55 and the like set a value of 1 as the first bit (B3). As described above, for example, when communication data is not input for a long period of time and the differential time (count value) reaches the maximum count value, the differential time and non-input communication data (for example, all zeros) are stored. Is done. In this case, a value of 0 is set in the first bit (B3). Thus, it is possible to determine whether valid data is stored in the communication data only by determining the first bit (B3).
 図8の左から3列目は、2番目のビット(B2)の情報である。2番目のビットは、例えば、エンコーダ信号ENCDのデータ異常や、通信データのタイムアウト異常などの際に使用される。例えば、エンコーダ96の故障により、通信プロトコルに規定されていないデータが送信された場合や、所定の閾値時間まで待って通信データを受信できない場合に、ENC処理部55等は、2番目のビット(B2)に1を設定する。また、図8の左から4列目は、3番目のビット(B1)の情報であり、通信データの誤りを検出した際に使用される。例えば、ENC処理部55は、エンコーダ信号ENCD等の誤りを検出すると、3番目のビット(B1)として1の値を設定する。図8の左から5列目は、4番目のビット(B0)の情報であり、通信異常の際に使用される。例えば、ENC処理部55は、エンコーダ信号ENCDを伝送するHDLC通信において、通信異常を知らせるコマンドを検出した場合、4番目のビット(B0)として1の値を設定する。 3The third column from the left in FIG. 8 is the information of the second bit (B2). The second bit is used, for example, when there is a data error in the encoder signal ENCD or a time-out error in communication data. For example, when data that is not specified in the communication protocol is transmitted due to a failure of the encoder 96, or when communication data cannot be received after waiting for a predetermined threshold time, the ENC processing unit 55 and the like perform the second bit ( Set 1 to B2). The fourth column from the left in FIG. 8 is information of the third bit (B1), which is used when detecting an error in communication data. For example, when detecting an error in the encoder signal ENCD or the like, the ENC processing unit 55 sets a value of 1 as the third bit (B1). The fifth column from the left in FIG. 8 is the information of the fourth bit (B0), which is used when a communication error occurs. For example, in the HDLC communication transmitting the encoder signal ENCD, the ENC processing unit 55 sets a value of 1 as the fourth bit (B0) when detecting a command indicating a communication abnormality.
 図6に戻り、図6の最も右の列は、ENC処理部55等によってサンプリングした通信データが保存される。なお、ENC処理部55等は、サンプリングした通信データそのものではなく、通信データに対して所定の処理を施したデータを保存しても良い。例えば、エンコーダ96は、通信データのデータ形式として共通の形式を使用しておらず、メーカーごとや同一メーカーのシリーズごとにデータ形式が異なる場合がある。一方で、エンコーダ96から出力される通信データは、例えば、位置情報や異常情報など、データ形式としては異なるものの内容としては同じ内容を示すデータが含まれる。 Returning to FIG. 6, the rightmost column in FIG. 6 stores communication data sampled by the ENC processing unit 55 and the like. The ENC processing unit 55 and the like may store data obtained by subjecting communication data to predetermined processing, instead of the sampled communication data itself. For example, the encoder 96 does not use a common format as the data format of the communication data, and the data format may be different for each maker or series of the same maker. On the other hand, the communication data output from the encoder 96 includes, for example, data indicating the same contents as different contents in data format, such as position information and abnormality information.
 そこで、ENC処理部55等は、通信データから共通化可能な通信データを抽出し、抽出した通信データを共通のデータ形式に変換する。例えば、ENC処理部55は、入力した通信データのうち、位置情報を示す通信データを抽出する。そして、ENC処理部55は、位置情報を示す通信データを、共通のデータ形式に変換する。位置情報を示す通信データの抽出方法は、特に限定されない。例えば、ユーザは、PC98を操作してコネクタごとに通信プロトコルの情報やその通信プロトコルで使用されるデータ形式の情報を入力する。ENC処理部55は、この入力情報に基づいて、処理対象の通信データから、位置情報を示す通信データを抽出しても良い。ENC処理部55は、通信データが示す位置情報の値を、共通のデータ形式に変換する。これにより、位置情報が示す値を変更せず、データ形式を変更できる。メーカーごとに異なるデータ形式の位置情報が、共通の位置を示す情報に変換される。ENC処理部55は、共通のデータ形式に変換した通信データを、ロギングセレクタ処理部51へ出力する。従って、ENC処理部55は、通信データをそのままのデータ形式で保存するのではなく、共通化できる部分を共通のデータ形式に変換して保存する。例えば、ENC処理部55は、エンコーダ信号ENCDに含まれる位置情報を、マルチターン(MT:16BIT)とシングルターン(ST:24BIT)の合計40BIT共通のデータ形式に変換する。これにより、メーカーやシリーズが異なる場合であっても、位置情報を共通のデータ形式に変換して保存できる。 Therefore, the ENC processing unit 55 and the like extract communication data that can be shared from the communication data, and convert the extracted communication data into a common data format. For example, the ENC processing unit 55 extracts communication data indicating position information from the input communication data. Then, the ENC processing unit 55 converts the communication data indicating the position information into a common data format. The method for extracting the communication data indicating the position information is not particularly limited. For example, the user operates the PC 98 to input information of a communication protocol and information of a data format used in the communication protocol for each connector. The ENC processing unit 55 may extract communication data indicating position information from communication data to be processed based on the input information. The ENC processing unit 55 converts the value of the position information indicated by the communication data into a common data format. Thus, the data format can be changed without changing the value indicated by the position information. Position information in a data format that differs for each manufacturer is converted to information indicating a common position. The ENC processing unit 55 outputs the communication data converted into the common data format to the logging selector processing unit 51. Therefore, the ENC processing unit 55 does not save the communication data in the data format as it is, but converts the portion that can be shared into a common data format and saves it. For example, the ENC processing unit 55 converts the position information included in the encoder signal ENCD into a data format common to a total of 40 BITs of multi-turn (MT: 16 BIT) and single-turn (ST: 24 BIT). As a result, even if the manufacturer and the series are different, the position information can be converted into a common data format and stored.
 また、ENC処理部55は、例えば、入力した通信データのうち、位置情報以外、例えば、メーカー独自の共通化が難しい通信データを、図6に示す1ブロックのデータ内にそのまま設定する。即ち、ENC処理部55は、共通化が難しい通信データについては、データ形式を変換せずにそのまま出力する。従って、ENC処理部55は、通信データを共通化できるデータとできないデータに分類し、共通化できるデータについてデータ形式の変換を実行する。なお、共通化するデータの対象を設定する方法は、例えば、コンフィグ情報を用いる方法でも良く、PC98を操作してロギング装置10に対して設定する方法でも良い。また、ENC処理部55以外のUART処理部57等においても、ENC処理部55と同様の変換処理や非変換処理を実行できる。 {Circle around (6)} The ENC processing unit 55 sets, for example, communication data other than the position information among the input communication data, which is difficult to be shared by the manufacturer, in the data of one block as shown in FIG. That is, the ENC processing unit 55 outputs the communication data that is difficult to be shared without converting the data format. Therefore, the ENC processing unit 55 classifies the communication data into data that can be shared and data that cannot be shared, and performs data format conversion on the data that can be shared. The method of setting the target of data to be shared may be, for example, a method using configuration information, or a method of operating the PC 98 to set the logging device 10. Also, the UART processing unit 57 and the like other than the ENC processing unit 55 can execute the same conversion processing and non-conversion processing as the ENC processing unit 55.
 また、データ形式を共通化する対象データは、位置情報に限らない。例えば、異常情報など、元々のデータ形式が異なっていても、指し示す異常の内容が同一の通信データについては共通のデータ形式に変換することが可能となる。例えば、ENC処理部55は、データ形式が異なるものの同一の異常を示す通信データを、その異常を示す識別番号のデータに変換する。これにより、異常情報を、異常の内容ごとに共通のデータ形式に変換できる。また、例えば、リニアスケール92の検出部と被検出部との間のギャップ異常など、リニアスケール固有の異常情報を、共通のデータ形式に変換できる。 対 象 The target data for which the data format is shared is not limited to location information. For example, even if the original data format such as the abnormality information is different, it is possible to convert communication data having the same contents of the indicated abnormality into a common data format. For example, the ENC processing unit 55 converts communication data having a different data format but indicating the same abnormality into data having an identification number indicating the abnormality. Thereby, the abnormality information can be converted into a common data format for each content of the abnormality. Further, for example, abnormal information unique to the linear scale, such as a gap abnormality between the detection unit and the detected portion of the linear scale 92, can be converted into a common data format.
 従って、本実施形態のENC処理部55、UART処理部57等(サンプリング部の一例)は、複数の種類の通信データから共通化可能な通信データ(位置情報や異常情報など)を抽出し、抽出した通信データを共通のデータ形式に変換する。これにより、保存した通信データを後から分析する際に、共通のデータ形式で保存したことで、分析を行うソフトウェア等が、比較的容易な処理で分析を行うことができる。例えば、共通データについては、同一の処理を実行し、共通化した位置情報に基づいて位置ズレを検出する、あるいは共通化した異常情報に基づいて異常の回数を検出することができる。 Therefore, the ENC processing unit 55, the UART processing unit 57, and the like (an example of a sampling unit) of the present embodiment extract communication data (such as position information and abnormality information) that can be shared from a plurality of types of communication data, and extract the same. The communication data is converted into a common data format. Thus, when the stored communication data is analyzed later, it is stored in a common data format, so that software or the like performing the analysis can perform the analysis with relatively easy processing. For example, for the common data, the same processing can be executed to detect a position shift based on the shared position information, or to detect the number of abnormalities based on the shared abnormal information.
 また、ENC処理部55等は、通信データを共通のデータ形式に変換する処理の他に、通信データに対する処理を施しても良い。例えば、ENC処理部55は、複数の種類の通信データの各々について予め設定された演算処理を実行してから保存しても良い。例えば、図3に示す電磁モータ95を三相の電流で制御する場合、FPGA11は、アンプ部93で送受信する三相の電流値を入力するコネクタに対応する処理部を備えても良い。 {Circle around (4)} The ENC processing unit 55 and the like may perform processing on communication data in addition to processing for converting communication data into a common data format. For example, the ENC processing unit 55 may execute a preset calculation process for each of a plurality of types of communication data and then store the communication data. For example, when controlling the electromagnetic motor 95 shown in FIG. 3 with a three-phase current, the FPGA 11 may include a processing unit corresponding to a connector for inputting a three-phase current value transmitted and received by the amplifier unit 93.
 そして、FPGA11の処理部は、コネクタを介して入力した三相の電流値(通信データ)をdq変換し、有効電力や無効電力の値として保存しても良い。例えば、三相の電流値を、電気角の情報などに基づいてdq変換し、有効電力(電流)などの値に変換してから保存する。これにより、有効電力からトルク値を推定して表示するなど、ユーザに認識し易い形でデータを表示できる。なお、上記したデータ形式の変換やdq変換は、通信データを読み出したPC98において実行しても良い。また、予め設定された演算処理は、dq変換に限らず、エンコーダ信号ENCDの位置情報から距離、移動時間、速度、加速度を演算する処理でも良い。あるいは、予め設定された演算処理は、三相電流にフーリエ変換を施し、三相電流に含まれるノイズ(振動など)を検出する処理でも良い。これにより、通信データを加工してユーザに有益な情報を提供できる。 The processing unit of the FPGA 11 may perform dq conversion of the three-phase current value (communication data) input via the connector and store the converted value as a value of active power or reactive power. For example, three-phase current values are subjected to dq conversion based on information on electrical angles and the like, converted into values such as active power (current), and stored. This makes it possible to display data in a form that is easy for the user to recognize, such as estimating and displaying the torque value from the active power. Note that the above-described data format conversion and dq conversion may be executed by the PC 98 that has read the communication data. Further, the preset calculation process is not limited to the dq conversion, and may be a process of calculating a distance, a moving time, a speed, and an acceleration from the position information of the encoder signal ENCD. Alternatively, the preset calculation process may be a process of performing a Fourier transform on the three-phase current and detecting noise (such as vibration) included in the three-phase current. As a result, the communication data can be processed to provide useful information to the user.
(通信データの画像データによる出力について)
 図3及び図4に戻り、ロギング対象の装着装置81は、ヘッド部85及びY軸スライド87にカメラ103を備えている。このカメラ103は、例えば、回路基板110や電子部品などを撮影するための撮像装置である。カメラ103は、例えば、カメラリンク規格の画像伝送方式により画像データを伝送する。カメラ103は、カメラリンクケーブルClinkを介して切替装置105に接続されている。切替装置105は、2つのカメラ103とコントローラ89との間に接続されている。切替装置105は、2つのカメラ103と、コントローラ89との接続を切り替える。カメラ103は、例えば、本体部83のコントローラ89から受信したトリガ信号に応じて撮像を行い、撮像した画像データを、カメラリンクケーブルClinkを介してコントローラ89へ送信する。尚、カメラ103は、カメラリンク規格に対応するカメラに限らず、他の規格、例えば、GigE Vision(登録商標)規格やCoaXpress(登録商標)の規格に対応するカメラでも良い。
(About output of communication data by image data)
Returning to FIGS. 3 and 4, the mounting device 81 to be logged includes a camera 103 on the head unit 85 and the Y-axis slide 87. The camera 103 is, for example, an imaging device for photographing the circuit board 110, electronic components, and the like. The camera 103 transmits image data according to, for example, an image transmission method conforming to the camera link standard. The camera 103 is connected to the switching device 105 via a camera link cable Link. The switching device 105 is connected between the two cameras 103 and the controller 89. The switching device 105 switches the connection between the two cameras 103 and the controller 89. The camera 103 captures an image in response to, for example, a trigger signal received from the controller 89 of the main body unit 83, and transmits the captured image data to the controller 89 via the camera link cable Clink. Note that the camera 103 is not limited to a camera that supports the camera link standard, but may be a camera that supports another standard, for example, the GigE Vision (registered trademark) standard or the CoaXpress (registered trademark) standard.
 コントローラ89は、例えば、カメラリンク規格におけるカメラ制御信号CC1~CC4を切替装置105へ出力する。カメラ制御信号CC1は、例えば、カメラ103に対して撮像を指示するトリガ信号である。エッジによる制御(エッジトリガーモード)の場合、カメラ103は、例えば、カメラ制御信号CC1の立ち上がりで露光を開始し、設定された時間だけ露光を実行する。あるいは、パルス幅で制御する場合、カメラ103は、カメラ制御信号CC1の立ち上がりで露光を開始し、立ち下がるまで(パルス幅だけ)露光を継続する。 The controller 89 outputs, for example, camera control signals CC1 to CC4 in the camera link standard to the switching device 105. The camera control signal CC1 is, for example, a trigger signal for instructing the camera 103 to perform imaging. In the case of control by an edge (edge trigger mode), the camera 103 starts exposure at the rising edge of the camera control signal CC1, for example, and executes exposure for a set time. Alternatively, in the case of controlling with a pulse width, the camera 103 starts exposure at the rising edge of the camera control signal CC1, and continues exposure until the falling edge (pulse width only).
 また、カメラ制御信号CC2は、例えば、ヘッド部85のカメラ103とコントローラ89との接続を、切替装置105に指示する選択信号である。また、カメラ制御信号CC3は、例えば、Y軸スライド87のカメラ103とコントローラ89との接続を、切替装置105に指示する選択信号である。例えば、切替装置105は、コントローラ89からカメラ制御信号CC2を入力すると、コントローラ89とヘッド部85のカメラ103とを接続する。コントローラ89は、接続を変更した後、ヘッド部85のカメラ103へトリガ信号を送信し、画像データを取得することができる。 The camera control signal CC2 is, for example, a selection signal for instructing the switching device 105 to connect the camera 103 of the head unit 85 and the controller 89. The camera control signal CC3 is, for example, a selection signal for instructing the switching device 105 to connect the camera 103 of the Y-axis slide 87 to the controller 89. For example, when the camera control signal CC2 is input from the controller 89, the switching device 105 connects the controller 89 to the camera 103 of the head unit 85. After changing the connection, the controller 89 can transmit a trigger signal to the camera 103 of the head unit 85 to acquire image data.
 ロギング装置10は、例えば、切替装置105とコントローラ89との間に接続される。図1及び図2に示すように、ロギング装置10は、カメラリンク入力コネクタ39及びカメラリンク出力コネクタ40を備えている。カメラリンク入力コネクタ39は、例えば、カメラリンクケーブルClinkを介して切替装置105と接続される。また、カメラリンク出力コネクタ40は、カメラリンクケーブルClinkを介してコントローラ89と接続される。 The logging device 10 is connected between the switching device 105 and the controller 89, for example. As shown in FIGS. 1 and 2, the logging device 10 includes a camera link input connector 39 and a camera link output connector 40. The camera link input connector 39 is connected to the switching device 105 via, for example, a camera link cable Clink. The camera link output connector 40 is connected to the controller 89 via a camera link cable Clink.
 ロギング装置10は、例えば、コントローラ89からカメラリンク出力コネクタ40に入力したカメラ制御信号CC1~CC4を保存する。カメラリンク出力コネクタ40は、UART処理部及び高速PIO処理部(以下「処理部」という)65及びバッファ回路54を介してロギングセレクタ処理部51と接続されている。処理部65は、例えば、コントローラ89からカメラリンク出力コネクタ40にカメラ制御信号CC1~CC4を入力した場合、入力したカメラ制御信号CC1~CC4をカメラリンク入力コネクタ39へ出力(転送)する(図2のデジタル出力DO参照)。また、処理部65は、カメラ制御信号CC1~CC4のサンプリング等を実行し、64BITを1ブロックとしたデータとしてロギングセレクタ処理部51へ出力する。切替装置105は、カメラリンク入力コネクタ39から入力した(転送された)カメラ制御信号CC1~CC4に基づいた制御を実行する。なお、本実施形態では、カメラ制御信号CC4を、ロギング装置10からコントローラ89へロギングしたデータを出力するのに用いる。このため、切替装置105は、カメラ制御信号CC4を入力した場合、入力したカメラ制御信号CC4を破棄等し、特定の処理を実行しない。 The logging device 10 stores, for example, the camera control signals CC1 to CC4 input from the controller 89 to the camera link output connector 40. The camera link output connector 40 is connected to a logging selector processing unit 51 via a UART processing unit and a high-speed PIO processing unit (hereinafter, referred to as a “processing unit”) 65 and a buffer circuit 54. For example, when the camera control signals CC1 to CC4 are input from the controller 89 to the camera link output connector 40, the processing unit 65 outputs (transfers) the input camera control signals CC1 to CC4 to the camera link input connector 39 (FIG. 2). Digital output DO). Further, the processing unit 65 executes sampling or the like of the camera control signals CC1 to CC4 and outputs the data to the logging selector processing unit 51 as data in which 64 BITs are one block. The switching device 105 executes control based on the camera control signals CC1 to CC4 input (transferred) from the camera link input connector 39. In the present embodiment, the camera control signal CC4 is used to output data logged from the logging device 10 to the controller 89. Therefore, when the camera control signal CC4 is input, the switching device 105 discards the input camera control signal CC4 and does not execute a specific process.
 一方、ロギングセレクタ処理部51は、処理部65から入力したカメラ制御信号CC1~CC4をDDRメモリ15へ保存する。また、ロギングセレクタ処理部51は、メモリコントローラ67を介してカメラ制御信号CC1~CC4をカメラ切替部73(図2参照)へ出力する。カメラ切替部73は、例えば、FPGA11の回路ブロックである。 On the other hand, the logging selector processing unit 51 stores the camera control signals CC1 to CC4 input from the processing unit 65 in the DDR memory 15. Further, the logging selector processing section 51 outputs the camera control signals CC1 to CC4 to the camera switching section 73 (see FIG. 2) via the memory controller 67. The camera switching unit 73 is, for example, a circuit block of the FPGA 11.
 また、ロギング装置10は、例えば、コントローラ89とカメラ103との間でUART通信により送受信される制御信号を保存する。この制御信号は、例えば、カメラ103のゲインを調整する制御信号や、カメラ103の撮像可能な撮像領域のうち、有効領域(ROI:Region of Interest)を設定する制御信号である。処理部65は、カメラリンク出力コネクタ40を介してUART通信の制御信号を入力する(図2中のUART参照)。処理部65は、カメラ制御信号CC1~CC4と同様に、UART通信の制御信号のサンプリング等を実行する。 The logging device 10 stores, for example, control signals transmitted and received between the controller 89 and the camera 103 through UART communication. This control signal is, for example, a control signal for adjusting the gain of the camera 103 or a control signal for setting an effective area (ROI: Region @ of \ Interest) in an imaging area where the camera 103 can image. The processing unit 65 inputs a control signal for UART communication via the camera link output connector 40 (see UART in FIG. 2). The processing unit 65 executes sampling of a control signal for UART communication and the like, like the camera control signals CC1 to CC4.
 なお、コントローラ89からカメラ制御信号CC1~CC4やUART通信の制御信号を入力するコネクタは、カメラリンク出力コネクタ40に限らない。例えば、パラレルI/O信号やシリアルI/O信号によりコントローラ89からカメラ制御信号CC1~CC4が出力される場合、ロギング装置10は、高速DI用端子台33やRS-232Cコネクタ26を介してカメラ制御信号CC1~CC4を入力しても良い。また、ロギング装置10は、RS-232Cコネクタ26を介してコントローラ89からUART通信の制御信号を入力しても良い。また、処理部65は、コントローラ89から送信されるカメラ制御信号CC1~CC4やUART通信の制御信号だけでなく、カメラ103の応答信号をカメラリンク入力コネクタ39から入力しロギングセレクタ処理部51に出力等しても良い。この場合、ロギングセレクタ処理部51は、応答信号についても保存可能となる。また、ロギング装置10は、コントローラ89から送信される通信データ(カメラ制御信号CC1等)を保存せず、カメラ103から送信される通信データのみを保存しても良い。 The connector for inputting the camera control signals CC1 to CC4 and the UART communication control signal from the controller 89 is not limited to the camera link output connector 40. For example, when the camera control signals CC1 to CC4 are output from the controller 89 by a parallel I / O signal or a serial I / O signal, the logging device 10 transmits the camera signal via the high-speed DI terminal block 33 or the RS-232C connector 26. Control signals CC1 to CC4 may be input. Further, the logging device 10 may receive a control signal for UART communication from the controller 89 via the RS-232C connector 26. The processing unit 65 receives not only the camera control signals CC1 to CC4 transmitted from the controller 89 and the UART communication control signal but also the response signal of the camera 103 from the camera link input connector 39 and outputs the response signal to the logging selector processing unit 51. May be equal. In this case, the logging selector processing unit 51 can also save the response signal. Further, the logging device 10 may save only the communication data transmitted from the camera 103 without storing the communication data (such as the camera control signal CC1) transmitted from the controller 89.
 また、ロギング装置10は、例えば、カメラ103から入力した画像データを保存可能である。FPGA11のカメラリンクbase入力IP69は、カメラリンク入力コネクタ39を介して切替装置105から画像データを入力する。カメラリンクbase入力IP69は、例えば、カメラリンク規格の画像データを処理可能なIPコアである。カメラリンクbase入力IP69は、バッファ回路71、メモリコントローラ67を介して画像データを、DDRメモリ15へ保存等する。カメラリンクbase入力IP69は、ロギングセレクタ処理部51によってDDRメモリ15に保存(ロギング)された他の通信データ(エンコーダ信号ENCD等)と画像データを関連付けて保存する。具体的には、カメラリンクbase入力IP69は、画像データを取得した時間と、他の通信データの取得した時間を関連付けて保存する。これにより、エンコーダ信号ENCD等の通信データを取得した時間と、画像データを取得した時間との関係を後から確認できる。なお、切替装置105(カメラ103)から画像データを入力するコネクタは、カメラリンク入力コネクタ39に限らない。例えば、高速ADC用コネクタ37が、画像データの入力を実行しても良い。ADC処理部64は、例えば、シリアル通信方式の一つであるSPI(Serial Peripheral Interface)通信により、カメラ103から画像データを入力可能な構成でも良い。 The logging device 10 can store image data input from the camera 103, for example. The camera link base input IP 69 of the FPGA 11 inputs image data from the switching device 105 via the camera link input connector 39. The camera link base input IP 69 is, for example, an IP core capable of processing image data of the camera link standard. The camera link base input IP 69 stores image data in the DDR memory 15 via the buffer circuit 71 and the memory controller 67, for example. The camera link base input IP 69 stores the other communication data (encoder signal ENCD or the like) stored (logged) in the DDR memory 15 by the logging selector processing unit 51 in association with image data. Specifically, the camera link base input IP 69 stores the time at which the image data was obtained and the time at which the other communication data was obtained in association with each other. Thus, the relationship between the time when the communication data such as the encoder signal ENCD is obtained and the time when the image data is obtained can be confirmed later. The connector for inputting image data from the switching device 105 (camera 103) is not limited to the camera link input connector 39. For example, the high-speed ADC connector 37 may execute input of image data. The ADC processing unit 64 may be configured to be able to input image data from the camera 103 by, for example, SPI (Serial Peripheral Interface) communication, which is one of serial communication methods.
 また、カメラリンクbase入力IP69は、切替装置105から入力した画像データをカメラ切替部73へ出力する。カメラ切替部73は、コントローラ89によりカメラ制御信号CC2又はカメラ制御信号CC3が選択されている場合、画像データを、バッファ回路71、カメラリンクbase出力IP70を介してカメラリンク出力コネクタ40へ出力する。コントローラ89は、カメラ制御信号CC1~CC4により選択及び撮像指示した画像データを、カメラリンク出力コネクタ40を介して取得できる。コントローラ89は、カメラリンク出力コネクタ40から入力した画像データに基づく処理を実行する。 The camera link base input IP 69 outputs the image data input from the switching device 105 to the camera switching unit 73. When the camera control signal CC2 or the camera control signal CC3 is selected by the controller 89, the camera switching unit 73 outputs the image data to the camera link output connector 40 via the buffer circuit 71 and the camera link base output IP70. The controller 89 can acquire, via the camera link output connector 40, image data selected and instructed to image by the camera control signals CC1 to CC4. The controller 89 executes a process based on the image data input from the camera link output connector 40.
 また、コントローラ89は、ロギング装置10によってロギングしたデータを取得する場合、カメラ制御信号CC4をロギング装置10へ出力する。カメラ切替部73は、カメラリンク出力コネクタ40、処理部65、ロギングセレクタ処理部51を介してカメラ制御信号CC4を入力すると、例えば、その時点までDDRメモリ15に蓄積した通信データなど(ロギングデータ)を画像データに含めて送信する処理を実行する。例えば、画像データの画素値を8BITで表す場合、カメラ切替部73は、図6に示す64BITのデータを8画素分(8BIT*8画素)に設定した画像データを生成する。 When acquiring data logged by the logging device 10, the controller 89 outputs a camera control signal CC4 to the logging device 10. When the camera switching unit 73 receives the camera control signal CC4 via the camera link output connector 40, the processing unit 65, and the logging selector processing unit 51, for example, communication data or the like stored in the DDR memory 15 up to that point (logging data) In the image data and transmits the image data. For example, when the pixel value of the image data is represented by 8 BIT, the camera switching unit 73 generates image data in which 64 BIT data shown in FIG. 6 is set to 8 pixels (8 BIT * 8 pixels).
 ここで、1つの画像データに設定できる最大のデータ量よりもロギング(蓄積)したデータのデータ量が少ない場合、画像データには、ロギングデータを設定できない画素が発生する。そこで、カメラ切替部73は、図5及び図6の識別IDのゼロで示すNOPデータを、発生した空き領域(余った画素)を埋めるのに使用する。従って、カメラ切替部73は、送信可能なロギングデータのデータ量が、1つの画像データの最大データ量に到達していない場合、NOPデータで空き画素を埋めた画像データをコントローラ89へ送信する。また、ロギング装置10からコントローラ89へ送信する画像データには、ロギングした通信データの他に、継続フラグ、差分時間、識別ID、状態情報が、ロギングした通信データのヘッダ情報として設定されている(図6参照)。 Here, if the data amount of the logged (stored) data is smaller than the maximum data amount that can be set for one piece of image data, the image data includes pixels for which the logging data cannot be set. Therefore, the camera switching unit 73 uses the NOP data indicated by the identification ID of zero in FIGS. 5 and 6 to fill the generated empty area (excess pixels). Therefore, when the data amount of the logging data that can be transmitted does not reach the maximum data amount of one image data, the camera switching unit 73 transmits the image data in which the empty pixels are filled with the NOP data to the controller 89. In the image data transmitted from the logging device 10 to the controller 89, in addition to the logged communication data, a continuation flag, a difference time, an identification ID, and status information are set as header information of the logged communication data ( See FIG. 6).
 コントローラ89は、例えば、図5や図6に示す設定情報を有しており、受信した画像データの識別IDに基づいてNOPデータを判断し、不要なデータを破棄等できる。これにより、ロギングデータのデータ量が画像データの最大データ量よりも少ない場合でも、ロギングデータを転送できる。 The controller 89 has, for example, the setting information shown in FIG. 5 and FIG. 6, determines the NOP data based on the identification ID of the received image data, and can discard unnecessary data. Thereby, even when the data amount of the logging data is smaller than the maximum data amount of the image data, the logging data can be transferred.
 従って、本実施形態のカメラ切替部73は、DDRメモリ15に保存した複数の種類の通信データを画像データの形式で出力する。カメラ切替部73は、複数の種類の通信データを画像データの画素値を設定するデータ領域に設定し、設定した通信データの種類、及びその通信データをサンプリングしたサンプリング時間に係わる情報(識別IDなど)をヘッダ情報として付加する。これによれば、ロギングした通信データなどを画像データとして、画像データの通信回線で出力できる。また、受信側(コントローラ89など)において、ヘッダ情報(識別IDなど)に基づいて、通信データの種類やサンプリング時間を判断して通信データを適切に再構築できる。 Therefore, the camera switching unit 73 of the present embodiment outputs a plurality of types of communication data stored in the DDR memory 15 in the form of image data. The camera switching unit 73 sets a plurality of types of communication data in a data area for setting a pixel value of image data, and sets information (such as an identification ID) on the type of the set communication data and a sampling time at which the communication data was sampled. ) Is added as header information. According to this, the logged communication data and the like can be output as image data through the image data communication line. In addition, on the receiving side (such as the controller 89), the type and sampling time of the communication data can be determined based on the header information (such as the identification ID) to appropriately reconstruct the communication data.
 なお、ロギング装置10に対するカメラ制御信号CC4を用いた画像データの要求は、コントローラ89以外の装置が実行しても良い。例えば、ロギング装置10は、PC98から入力した制御信号に基づいて、通信データ等を設定した画像データをPC98へ出力する構成でも良い。 The request for image data using the camera control signal CC4 to the logging device 10 may be executed by a device other than the controller 89. For example, the logging device 10 may be configured to output image data in which communication data and the like are set to the PC 98 based on a control signal input from the PC 98.
(ロギングを開始するトリガについて)
 次に、通信データや画像データのロギングを開始するトリガ条件について説明する。図9は、ロギングを開始するトリガ条件の一例を示している。図9の最も左側の列は、右側のトリガ条件を使用する識別ID(通信データ)を示している。左から2番目の列は、個々のトリガ条件を識別するためのサブナンバーを示している。例えば、識別IDが1でサブナンバーが1のトリガ条件は、エンコーダ信号ENCDの位置情報がある値を超えた場合をトリガ条件としている。
(About trigger to start logging)
Next, a trigger condition for starting logging of communication data and image data will be described. FIG. 9 shows an example of a trigger condition for starting logging. The leftmost column in FIG. 9 shows an identification ID (communication data) using the right trigger condition. The second column from the left shows sub-numbers for identifying individual trigger conditions. For example, the trigger condition with the identification ID of 1 and the sub number of 1 is a condition where the position information of the encoder signal ENCD exceeds a certain value.
 トリガ条件の処理は、例えば、トリガ制御処理部53(図2参照)が実行する。トリガ制御処理部53は、例えば、コンフィグ情報に基づいて回路ブロックを構築する際に、識別IDごとのトリガ条件が設定される。あるいは、トリガ制御処理部53は、回路ブロックを構築して起動した後、PC98からトリガ条件を入力する。例えば、PC98は、図9に示すトリガ条件を選択可能なプルダウンメニューを表示する。PC98は、ユーザによって選択されたトリガ条件をRS-232Cコネクタ20を介してトリガ制御処理部53に出力する。これにより、ユーザは、ロギングの開始前に識別IDごとのトリガ条件を設定できる。 The processing of the trigger condition is executed, for example, by the trigger control processing unit 53 (see FIG. 2). For example, when constructing a circuit block based on the configuration information, the trigger control processing unit 53 sets a trigger condition for each identification ID. Alternatively, the trigger control processing unit 53 inputs a trigger condition from the PC 98 after constructing and activating the circuit block. For example, the PC 98 displays a pull-down menu from which a trigger condition shown in FIG. 9 can be selected. The PC 98 outputs the trigger condition selected by the user to the trigger control processing unit 53 via the RS-232C connector 20. Thus, the user can set a trigger condition for each identification ID before the start of logging.
 例えば、識別IDが1、サブナンバーが1のトリガ条件が設定された場合、トリガ制御処理部53は、図2の一番上のENC処理部55に対しトリガ条件を設定する。トリガ制御処理部53は、例えば、PC98からロギングを開始する指示がFPGA11に入力されると、ロギングを開始する前に、ENC処理部55に対する設定を行う。設定されたENC処理部55は、ABSエンコーダ用コネクタ24を介してエンコーダ信号ENCDを入力しながらトリガ条件を判断する。ENC処理部55は、入力したエンコーダ信号ENCDの位置情報がある値を超えた、即ち、所定の位置を越えた場合、トリガ条件が成立した旨をトリガ制御処理部53に通知する。トリガ制御処理部53は、ENC処理部55からトリガ条件が成立した旨を入力すると、ロギングセレクタ処理部51に対しロギングの開始を指示する。ロギングセレクタ処理部51は、コンフィグ情報等に基づいて選択されたコネクタ(処理部)から入力する通信データをDDRメモリ15へ保存するロギングを開始する。これにより、例えば、ヘッド部85(図3、図4参照)が吸着ノズル85A(図4参照)を所定位置よりも下方まで下降させた場合にトリガ条件が成立する。そして、ロギングセレクタ処理部51は、ヘッド部85の吸着ノズル85Aが特定位置に到達した場合に、通信データの保存を開始できる。例えば、電子部品の供給や装着など、吸着ノズル85Aを上下動させる際の所定位置を条件として、ロギングを開始できる。 For example, when a trigger condition with an identification ID of 1 and a sub number of 1 is set, the trigger control processing unit 53 sets the trigger condition for the ENC processing unit 55 at the top of FIG. For example, when an instruction to start logging is input from the PC 98 to the FPGA 11, the trigger control processing unit 53 performs settings for the ENC processing unit 55 before starting logging. The set ENC processing unit 55 determines the trigger condition while inputting the encoder signal ENCD via the ABS encoder connector 24. When the position information of the input encoder signal ENCD exceeds a certain value, that is, exceeds a predetermined position, the ENC processing unit 55 notifies the trigger control processing unit 53 that the trigger condition is satisfied. When the trigger control processing unit 53 inputs that the trigger condition is satisfied from the ENC processing unit 55, the trigger control processing unit 53 instructs the logging selector processing unit 51 to start logging. The logging selector processing unit 51 starts logging in which communication data input from the connector (processing unit) selected based on the configuration information or the like is stored in the DDR memory 15. Thus, for example, the trigger condition is satisfied when the head unit 85 (see FIGS. 3 and 4) lowers the suction nozzle 85A (see FIG. 4) below a predetermined position. Then, when the suction nozzle 85A of the head unit 85 reaches a specific position, the logging selector processing unit 51 can start saving communication data. For example, logging can be started on the condition of a predetermined position when the suction nozzle 85A is moved up and down, such as when supplying and mounting electronic components.
 なお、トリガ条件の内容は、特に限定されないが、通信データに基づいて所定の条件が成立することをトリガ条件にできる。例えば、図9の識別IDが1、サブナンバーが5の場合、ENC処理部55は、エンコーダ信号ENCDの誤りを検出するとトリガ条件の成立をトリガ制御処理部53へ通知する。また、図9に示すように、誤りを検出する回数を、トリガ条件2として設定してもよい(図9中の連続回数1-4)。この場合、ENC処理部55は、エンコーダ信号ENCDの誤りを複数回検出するとトリガ条件の成立をトリガ制御処理部53へ通知する。また、例えば、識別IDが1の各サブナンバーに示すように、エンコーダ信号ENCDのステータス異常、タイムアウト異常などをトリガ条件としても良い。また、エンコーダ信号ENCD以外の通信データについても同様にトリガ条件を設定できる。例えば、識別IDが7の各サブナンバーに示すように、UART通信において特定のコマンドが送信された場合、センサーの出力値がある値を超えた場合などを、トリガ条件としても良い。また、識別IDが15の各サブナンバーに示すように、カメラ制御信号CC1~CC4の立ち上がり、即ち、撮像の開始、カメラ103の切り替え、ロギングデータの要求などをトリガ条件としても良い。また、トリガ条件は、図9に示す条件以外でも良い。例えば、リニアスケール信号LSDに基づいて、X軸スライド86やY軸スライド87が特定位置に到達したタイミングをトリガ条件としても良い。この場合、XY方向の特定位置、例えば、電子部品の吸着位置などにヘッド部85が到達したタイミングで各通信データのロギングを開始できる。また、トリガ条件は、通信データごとに異なる条件にしても良い。例えば、特定位置に到達したトリガ条件に基づいてエンコーダ信号ENCDのロギングを開始し、誤り検出のトリガ条件に基づいてUART通信の通信データのロギングを開始しても良い。 The content of the trigger condition is not particularly limited, but the condition that a predetermined condition is satisfied based on the communication data can be used as the trigger condition. For example, when the identification ID is 1 and the sub number is 5 in FIG. 9, when detecting an error in the encoder signal ENCD, the ENC processing unit 55 notifies the trigger control processing unit 53 that the trigger condition is satisfied. Further, as shown in FIG. 9, the number of times an error is detected may be set as the trigger condition 2 (continuous number 1-4 in FIG. 9). In this case, when detecting an error in encoder signal ENCD a plurality of times, ENC processing section 55 notifies trigger control processing section 53 that the trigger condition is satisfied. Further, for example, as shown in each sub-number having the identification ID of 1, a status abnormality or timeout abnormality of the encoder signal ENCD may be used as a trigger condition. Further, trigger conditions can be similarly set for communication data other than the encoder signal ENCD. For example, when a specific command is transmitted in the UART communication, or when the output value of the sensor exceeds a certain value, as shown in each sub number having the identification ID of 7, the trigger condition may be used. Further, as shown in each sub-number of which the identification ID is 15, the trigger condition may be a rising edge of the camera control signals CC1 to CC4, that is, a start of imaging, a switch of the camera 103, a request for logging data, and the like. Further, the trigger condition may be other than the condition shown in FIG. For example, the timing at which the X-axis slide 86 or the Y-axis slide 87 reaches a specific position based on the linear scale signal LSD may be used as a trigger condition. In this case, logging of each communication data can be started at a timing when the head unit 85 reaches a specific position in the XY directions, for example, a suction position of the electronic component. Further, the trigger condition may be different for each communication data. For example, logging of the encoder signal ENCD may be started based on a trigger condition that has reached a specific position, and logging of communication data of UART communication may be started based on a trigger condition of error detection.
(通信データの取得方法について)
 また、ENC処理部55、UART処理部57、M2処理部59、100base-tx処理部61、高速PIO処理部62、低速PIO処理部63、ADC処理部64、処理部65等は、入力した通信データを全てロギングセレクタ処理部51へ出力しなくとも良い。以下の説明では、一例として、100base-tx処理部61によってEtherCAT(登録商標)の通信データを取得する場合について説明する。
(About how to get communication data)
The ENC processing unit 55, the UART processing unit 57, the M2 processing unit 59, the 100base-tx processing unit 61, the high-speed PIO processing unit 62, the low-speed PIO processing unit 63, the ADC processing unit 64, the processing unit 65, etc. Not all data need be output to the logging selector processing unit 51. In the following description, as an example, a case where communication data of EtherCAT (registered trademark) is obtained by the 100base-tx processing unit 61 will be described.
 図10は、EtherCAT(登録商標)のネットワークで送受信される通信データのデータ形式を示している。EtherCAT(登録商標)のネットワークでは、例えば、図10に示す特定の形式のフレームデータを、イーサネット(登録商標)を介して送受信する。フレームデータには、スレーブ101(図3参照)の各々のデータを設定するデータ領域(後述するイーサキャットデータグラム)が設けられている。スレーブ101は、マスターであるコントローラ89から受信したフレームデータのうち、自身のために設定されたデータ領域(読み出し領域)からデータを読み出し、読み出したデータに基づいてセンサー等を駆動する。また、スレーブ101は、自身のために設定されたデータ領域(書き込み領域)に処理結果等のデータを書き込んで、書き込んだフレームデータをマスターや他のスレーブ101へ転送する。 FIG. 10 shows the data format of communication data transmitted and received on the EtherCAT (registered trademark) network. In the EtherCAT (registered trademark) network, for example, frame data of a specific format shown in FIG. 10 is transmitted and received via Ethernet (registered trademark). The frame data is provided with a data area (Ethercat datagram described later) for setting each data of the slave 101 (see FIG. 3). The slave 101 reads data from a data area (read area) set for itself among the frame data received from the controller 89 serving as a master, and drives a sensor or the like based on the read data. Further, the slave 101 writes data such as a processing result in a data area (write area) set for itself, and transfers the written frame data to the master or another slave 101.
 図10に示すように、フレームデータは、14バイトのイーサネット(登録商標)ヘッダフィールドと、最大1500バイトのイーサネット(登録商標)データフィールドと、4バイトのFCS(Frame Check Sequence)フィールドとを有する。イーサネット(登録商標)ヘッダフィールドには、フレームデータの送信先や送信元のアドレス情報が格納される。FCSフィールドには、CRC符号等のフレームデータの誤りを検出する情報が格納される。 As shown in FIG. 10, the frame data has a 14-byte Ethernet (registered trademark) header field, a maximum of 1500 bytes of Ethernet (registered trademark) data field, and a 4-byte FCS (Frame @ Check @ Sequence) field. The Ethernet (registered trademark) header field stores address information of a transmission destination and a transmission source of frame data. The FCS field stores information for detecting an error in frame data such as a CRC code.
 また、イーサネット(登録商標)データフィールドは、16ビットのEtherCAT(登録商標)ヘッダフィールドと、44バイトから1498バイトのEtherCAT(登録商標)データグラムフィールドを有する。EtherCAT(登録商標)ヘッダには、データ長やタイプの情報が格納される。EtherCAT(登録商標)データグラムフィールドには、スレーブ101の各々に対応付けられた1又は複数のEtherCAT(登録商標)用のデータ(以下、イーサキャットデータグラムと呼ぶ)が格納される。 The Ethernet (registered trademark) data field has a 16-bit EtherCAT (registered trademark) header field and a 44 to 1498-byte EtherCAT (registered trademark) datagram field. The EtherCAT (registered trademark) header stores data length and type information. In the EtherCAT (registered trademark) datagram field, data for one or more EtherCAT (registered trademark) associated with each of the slaves 101 (hereinafter, referred to as EtherCAT datagram) is stored.
 各イーサキャットデータグラムは、10バイトのデータグラムヘッダフィールド(Datagram Header)と、最大1486バイトのデータフィールド(Data)と、2バイトのWKC(Working Counter)フィールドを有する。そして、データフィールドには、マスター(コントローラ89)がスレーブ101に送信するデータ、又はスレーブ101がマスター等に送信するデータが格納される。なお、WKCフィールドには、イーサキャットデータグラムによって正常に処理された処理数に応じたカウント値が格納される。 {Each EtherCAT datagram has a 10-byte datagram header field (Datagram @ Header), a maximum 1486-byte data field (Data), and a 2-byte WKC (Working @ Counter) field. The data field stores data transmitted from the master (controller 89) to the slave 101 or data transmitted from the slave 101 to the master or the like. The WKC field stores a count value corresponding to the number of processings successfully performed by the EtherCAT datagram.
 例えば、マスターや特定のスレーブ101のデータのみをロギングしたい場合、図2に示す100base-tx処理部61は、RJ-45コネクタ31を介して入力した通信データ(フレームデータ)のうち、特定のデータフィールのみを取得する。例えば、100base-tx処理部61は、フレームデータの先頭から所定のビット位置を開始位置として、その開始位置から所定のビット数又はバイト数のデータを取得する。具体的には、1番目のイーサキャットデータグラム(1st EtherCAT Datagram)のデータを抽出する場合を説明する。この場合、100base-tx処理部61は、フレームデータの先頭から14バイト(イーサネット(登録商標)ヘッダフィールド)+16ビット(EtherCAT(登録商標)ヘッダフィールド)を開始位置に設定する。100base-tx処理部61は、その開始位置から1st EtherCAT Datagramのデータを取得する。100base-tx処理部61は、例えば、開始位置から予め設定されたバイト数(最大バイト数)だけデータを取得し、不要なデータを破棄しても良い。あるいは、100base-tx処理部61は、例えば、データグラムヘッダフィールド(Datagram Header)の情報に基づいたバイト数分のデータを開始位置から取得しても良い。また、100base-tx処理部61は、例えば、コントローラ89から入力した情報等に基づいて、開始位置から取得するビット数やバイト数を変更しても良い。また、100base-tx処理部61以外のENC処理部55等も、特定のビット位置からデータを取得しても良い。このようにして100base-tx処理部61等は、入力した通信データの全てをロギングセレクタ処理部51へ出力せず、特定のデータのみを抽出してロギングセレクタ処理部51へ出力しも良い。 For example, when only the data of the master or the specific slave 101 is to be logged, the 100base-tx processing unit 61 shown in FIG. 2 transmits the specific data of the communication data (frame data) input through the RJ-45 connector 31. Get only the feel. For example, the 100 base-tx processing unit 61 sets a predetermined bit position from the beginning of the frame data as a start position, and acquires data of a predetermined number of bits or bytes from the start position. Specifically, a case will be described in which the data of the first EtherCAT datagram (1st @ EtherCAT @ Datagram) is extracted. In this case, the 100base-tx processing unit 61 sets 14 bytes (Ethernet (registered trademark) header field) +16 bits (EtherCAT (registered trademark) header field) from the beginning of the frame data as the start position. The 100base-tx processing unit 61 acquires data of 1st {EtherCAT} Datagram from the start position. For example, the 100base-tx processing unit 61 may acquire data for a predetermined number of bytes (maximum number of bytes) from the start position and discard unnecessary data. Alternatively, the 100base-tx processing unit 61 may acquire, for example, data of the number of bytes based on the information of the datagram header field (Datagram @ Header) from the start position. In addition, the 100base-tx processing unit 61 may change the number of bits or the number of bytes acquired from the start position based on information input from the controller 89, for example. Also, the ENC processing unit 55 other than the 100base-tx processing unit 61 may acquire data from a specific bit position. In this way, the 100base-tx processing unit 61 or the like may extract only specific data and output it to the logging selector processing unit 51 without outputting all of the input communication data to the logging selector processing unit 51.
 因みに、装着装置81は、ロギング対象の装置の一例である。RS-232Cコネクタ20、ABSエンコーダ用コネクタ24、RS-232Cコネクタ26、M2コネクタ28、RJ-45コネクタ31、高速DI用端子台33、低速DI用端子台35、高速ADC用コネクタ37、カメラリンク入力コネクタ39、カメラリンク出力コネクタ40は、入力部の一例である。ENC処理部55、UART処理部57、M2処理部59、100base-tx処理部61、高速PIO処理部62、低速PIO処理部63、ADC処理部64、処理部65は、サンプリング部、検出部の一例である。カメラ切替部73は、サンプリング部の一例である。SATAコネクタ41は、外部インタフェースの一例である。 Incidentally, the mounting device 81 is an example of a logging target device. RS-232C connector 20, ABS encoder connector 24, RS-232C connector 26, M2 connector 28, RJ-45 connector 31, high-speed DI terminal block 33, low-speed DI terminal block 35, high-speed ADC connector 37, camera link The input connector 39 and the camera link output connector 40 are examples of an input unit. The ENC processing unit 55, the UART processing unit 57, the M2 processing unit 59, the 100base-tx processing unit 61, the high-speed PIO processing unit 62, the low-speed PIO processing unit 63, the ADC processing unit 64, and the processing unit 65 are a sampling unit and a detection unit. This is an example. The camera switching unit 73 is an example of a sampling unit. The SATA connector 41 is an example of an external interface.
 以上、上記した本実施形態によれば以下の効果を奏する。
 本実施形態の一態様では、ロギング装置10は、ロギングの対象となる装置(装着装置81)で伝送される複数の種類の通信データを入力するABSエンコーダ用コネクタ24等(入力部の一例)と、ABSエンコーダ用コネクタ24等を介して入力した複数の種類の通信データの各々を、通信速度に応じたサンプリング時間(図5参照)でサンプリングするENC処理部55等と、を備える。これによれば、ENC処理部55等は、通信速度が異なる各通信データについて通信速度に応じたサンプリングをすることができる。
As described above, according to the above-described embodiment, the following effects can be obtained.
In one aspect of the present embodiment, the logging device 10 includes an ABS encoder connector 24 (an example of an input unit) for inputting a plurality of types of communication data transmitted by a device to be logged (the mounting device 81). , An ENC processing unit 55 that samples each of a plurality of types of communication data input via the ABS encoder connector 24 or the like for a sampling time (see FIG. 5) corresponding to the communication speed. According to this, the ENC processing unit 55 and the like can perform sampling according to the communication speed for each communication data having a different communication speed.
 ここで、従来のロギング装置では、ロギングの対象の通信データが同一の通信速度であることを前提としていた。このため、例えば、通信データを入力するチャンネルごとにサンプリング時間を個別に設定できず、最速のチャンネルに合わせてサンプリング時間を短くする必要があった。その結果、サンプリングされるデータ、即ち、保存されるデータ量が大きくなる虞があった。これに対し、本実施形態のロギング装置10では、通信速度が異なる通信データについて通信速度に応じたサンプリング時間でサンプリングすることで、サンプリングしたデータ量を小さくし、保存するデータ量を小さくできる。 Here, in the conventional logging device, it was assumed that communication data to be logged had the same communication speed. For this reason, for example, the sampling time cannot be set individually for each channel for inputting communication data, and the sampling time has to be shortened in accordance with the fastest channel. As a result, there is a possibility that the amount of data to be sampled, that is, the amount of data to be stored becomes large. In contrast, in the logging device 10 of the present embodiment, by sampling communication data having different communication speeds with a sampling time corresponding to the communication speed, the amount of sampled data can be reduced, and the amount of data to be stored can be reduced.
 尚、本開示は上記の実施形態に限定されるものではなく、本願の趣旨を逸脱しない範囲内での種々の改良、変更が可能であることは言うまでもない。
 例えば、ロギング装置10は、サンプリングのみを実行し、サンプリングしたデータを保存しない装置でも良い。この場合、ロギング装置10は、サンプリングしたデータを外部記憶装置42等に出力しも良い。
 また、ロギング装置10は、通信速度が異なる各通信データについて、入力の有無を判断しなくとも良い。
 また、ロギング装置10は、入力部として物理的なインタフェース(コネクタ)を備えなくとも良い。図11は、別例の装着装置81を示している。図11に示す装着装置81は、リニアスケール信号LSDやエンコーダ信号ENCDを、多重通信回線を介して送受信する。装着装置81は、本体部83側の多重装置201と、Y軸スライド87側の多重装置202と、ヘッド部85側の多重装置203とを多重ケーブル(光ケーブルなど)205を介して接続する。また、多重装置201等は、例えば、FPGAなどの論理回路で複数の通信データの多重化や非多重化を実行する。このような場合に、ロギング装置10を、例えば、図11に示すように、多重装置201のFPGAの一部(図中のFPGA11)として構成しても良い。FPGA11は、図2に示すABSエンコーダ用コネクタ24やRS-485ドライバIC25などの物理的なインタフェースを備えていない。FPGA11は、例えば、多重装置201によって多重化される前のデジタル信号の通信データを、ENC処理部55等に入力しサンプリングする。また、FPGA11は、例えば、多重装置202や多重装置203から多重装置201に送信され多重装置201によって非多重化した後の通信データを、ENC処理部55等に入力しサンプリングする。これにより、FPGA11は、物理的なインタフェースを備えずに各通信データのロギングを実行できる。
Note that the present disclosure is not limited to the above-described embodiment, and it goes without saying that various improvements and modifications can be made without departing from the spirit of the present application.
For example, the logging device 10 may be a device that executes only sampling and does not store the sampled data. In this case, the logging device 10 may output the sampled data to the external storage device 42 or the like.
Further, the logging device 10 does not need to determine the presence or absence of an input for each communication data having a different communication speed.
Further, the logging device 10 does not have to include a physical interface (connector) as an input unit. FIG. 11 shows another example of the mounting device 81. The mounting device 81 shown in FIG. 11 transmits and receives a linear scale signal LSD and an encoder signal ENCD via a multiplex communication line. The mounting device 81 connects the multiplexing device 201 on the main body unit 83 side, the multiplexing device 202 on the Y-axis slide 87 side, and the multiplexing device 203 on the head unit 85 side via a multiplex cable (optical cable or the like) 205. The multiplexing device 201 and the like execute multiplexing and demultiplexing of a plurality of communication data by a logic circuit such as an FPGA. In such a case, the logging device 10 may be configured as a part of the FPGA of the multiplexing device 201 (the FPGA 11 in the drawing), for example, as shown in FIG. The FPGA 11 does not include a physical interface such as the ABS encoder connector 24 and the RS-485 driver IC 25 shown in FIG. The FPGA 11 inputs, for example, communication data of a digital signal before being multiplexed by the multiplexing device 201 to the ENC processing unit 55 and the like, and samples the communication data. The FPGA 11 inputs, for example, communication data transmitted from the multiplexing apparatus 202 or 203 to the multiplexing apparatus 201 and demultiplexed by the multiplexing apparatus 201 to the ENC processing unit 55 or the like, and samples the communication data. Thus, the FPGA 11 can execute logging of each communication data without having a physical interface.
 また、上記実施形態において、本開示のサンプリング部と検出部とを同一の処理部(ENC処理部55等)に実装したが、これに限らない。サンプリングを行うサンプリング部と、入力の有無を検出する検出部とは、異なる処理部(回路ブロック)でも良い。
 また、上記実施形態において、バッファ回路54、バッファ回路66、バッファ回路71等の蓄積方法は、FIFO形式の蓄積方法に限らず、例えば、LIFO形式の蓄積方法でも良い。
 また、ロギング対象の装置は、装着装置81に限らず、通信速度の異なる通信データを伝送する様々な装置を採用できる。例えば、ロギング対象の装置は、多関節ロボットや工作機械でも良い。
In the above embodiment, the sampling unit and the detection unit according to the present disclosure are mounted on the same processing unit (such as the ENC processing unit 55). The sampling unit that performs sampling and the detection unit that detects the presence or absence of an input may be different processing units (circuit blocks).
In the above embodiment, the storage method of the buffer circuit 54, the buffer circuit 66, the buffer circuit 71, and the like is not limited to the FIFO storage method, but may be, for example, a LIFO storage method.
Further, the logging target device is not limited to the mounting device 81, and various devices that transmit communication data having different communication speeds can be adopted. For example, the device to be logged may be an articulated robot or a machine tool.
 10 ロギング装置、20 RS-232Cコネクタ(入力部)、24 ABSエンコーダ用コネクタ(入力部)、26 RS-232Cコネクタ(入力部)、28 M2コネクタ(入力部)、31 RJ-45コネクタ(入力部)、33 高速DI用端子台(入力部)、35 低速DI用端子台(入力部)、37 高速ADC用コネクタ(入力部)、39 カメラリンク入力コネクタ(入力部)、40 カメラリンク出力コネクタ(入力部)、41 SATAコネクタ(外部インタフェース)、42 外部記憶装置、55 ENC処理部(サンプリング部、検出部)、57 UART処理部(サンプリング部、検出部)、59 M2処理部(サンプリング部、検出部)、61 100base-tx処理部(サンプリング部、検出部)、62 高速PIO処理部(サンプリング部、検出部)、63 低速PIO処理部(サンプリング部、検出部)、64 ADC処理部(サンプリング部、検出部)、65 処理部(サンプリング部、検出部)。 10 mm logging device, 20 mm RS-232C connector (input), 24 mm ABS encoder connector (input), 26 mm RS-232C connector (input), 28 mm M2 connector (input), 31 mm RJ-45 connector (input) ), 33 high-speed DI terminal block (input section), 35 low-speed DI terminal block (input section), 37 high-speed ADC connector (input section), 39 camera link input connector (input section), 40 camera link output connector ( Input unit), 41 SATA connector (external interface), 42 external storage device, 55 ENC processing unit (sampling unit, detecting unit), 57 UART processing unit (sampling unit, detecting unit), 59 M2 processing unit (sampling unit, detecting Section), 61 100 base-tx processing section (sampling section, detection section), 6 2 {high-speed PIO processing unit (sampling unit, detecting unit); 63} low-speed PIO processing unit (sampling unit, detecting unit); 64 ADC processing unit (sampling unit, detecting unit); 65} processing unit (sampling unit, detecting unit).

Claims (8)

  1.  ロギングの対象となる装置で伝送される互いに通信速度が異なる複数の種類の通信データを入力する入力部と、
     前記入力部を介して入力した前記複数の種類の通信データの各々を、通信速度に応じたサンプリング時間でサンプリングするサンプリング部と、
     を備えるロギング装置。
    An input unit for inputting a plurality of types of communication data having different communication speeds transmitted by a device to be logged,
    A sampling unit that samples each of the plurality of types of communication data input via the input unit at a sampling time according to a communication speed;
    A logging device comprising:
  2.  前記複数の種類の通信データの各々における入力があるか否かを前記サンプリング時間ごとに検出する検出部を備える請求項1に記載のロギング装置。 2. The logging device according to claim 1, further comprising: a detection unit that detects whether or not there is an input in each of the plurality of types of communication data at each sampling time.
  3.  前記検出部は、
     前回の入力を検出した時間と、その次に入力を検出した時間との差分時間を、前記複数の種類の通信データと関連付けて保存する、請求項2に記載のロギング装置。
    The detection unit,
    The logging device according to claim 2, wherein a difference time between a time when a previous input is detected and a time when a next input is detected is stored in association with the plurality of types of communication data.
  4.  前記複数の種類の通信データを画像データの形式で出力し、前記画像データの画素値を設定するデータ領域に前記複数の種類の通信データを設定し、設定した通信データの種類、及びその通信データをサンプリングした前記サンプリング時間に係わる情報をヘッダ情報として付加する、請求項1乃至請求項3の何れか1項に記載のロギング装置。 The plurality of types of communication data are output in a format of image data, the plurality of types of communication data are set in a data area for setting a pixel value of the image data, and the set type of communication data and the communication data are set. The logging device according to any one of claims 1 to 3, wherein information relating to the sampling time obtained by sampling is added as header information.
  5.  外部記憶装置を接続可能な外部インタフェースを備え、
     前記サンプリング部は、
     前記複数の種類の通信データを、前記外部インタフェースを介して前記外部記憶装置に保存する、請求項1乃至請求項4の何れか1項に記載のロギング装置。
    Equipped with an external interface that can connect an external storage device,
    The sampling unit includes:
    The logging device according to any one of claims 1 to 4, wherein the plurality of types of communication data are stored in the external storage device via the external interface.
  6.  前記サンプリング部は、
     前記複数の種類の通信データから共通化可能な通信データを抽出し、抽出した通信データを共通のデータ形式に変換する、請求項1乃至請求項5の何れか1項に記載のロギング装置。
    The sampling unit includes:
    The logging device according to claim 1, wherein communication data that can be shared is extracted from the plurality of types of communication data, and the extracted communication data is converted into a common data format.
  7.  前記サンプリング部は、
     前記複数の種類の通信データの各々について予め設定された演算処理を実行してから保存する、請求項1乃至請求項6の何れか1項に記載のロギング装置。
    The sampling unit includes:
    The logging device according to any one of claims 1 to 6, wherein a predetermined arithmetic process is performed for each of the plurality of types of communication data and then the communication data is stored.
  8.  ロギングの対象となる装置で伝送される互いに通信速度が異なる複数の種類の通信データを入力する入力工程と、
     前記入力工程を介して入力した前記複数の種類の通信データの各々を、通信速度に応じたサンプリング時間でサンプリングするサンプリング工程と、
     を含むサンプリングの方法。
    An input step of inputting a plurality of types of communication data having different communication speeds transmitted by a device to be logged,
    A sampling step of sampling each of the plurality of types of communication data input via the input step at a sampling time according to a communication speed;
    Sampling methods including:
PCT/JP2018/024594 2018-06-28 2018-06-28 Logging device and sampling method WO2020003438A1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201880095054.7A CN112334739B (en) 2018-06-28 2018-06-28 Log recording device and sampling method
PCT/JP2018/024594 WO2020003438A1 (en) 2018-06-28 2018-06-28 Logging device and sampling method
JP2020526805A JP6963107B2 (en) 2018-06-28 2018-06-28 Logging device and sampling method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2018/024594 WO2020003438A1 (en) 2018-06-28 2018-06-28 Logging device and sampling method

Publications (1)

Publication Number Publication Date
WO2020003438A1 true WO2020003438A1 (en) 2020-01-02

Family

ID=68985512

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2018/024594 WO2020003438A1 (en) 2018-06-28 2018-06-28 Logging device and sampling method

Country Status (3)

Country Link
JP (1) JP6963107B2 (en)
CN (1) CN112334739B (en)
WO (1) WO2020003438A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022007497A (en) * 2020-06-26 2022-01-13 キリンテクノシステム株式会社 Imaging system and imaging control method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0714303A (en) * 1993-06-25 1995-01-17 Kenwood Corp Digital recorder
JPH09170932A (en) * 1995-12-21 1997-06-30 Denshi Giken:Kk Data recording device for abnormality analysis
WO2008153332A1 (en) * 2007-06-13 2008-12-18 Korea Maintenance & Control Co., Ltd. Multi-channel wireless measuring system with separated sensor interface module
JP2013108812A (en) * 2011-11-18 2013-06-06 Lintec Corp Recording apparatus and sensing system

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100416299C (en) * 2002-06-04 2008-09-03 Geo-X系统有限公司 Seismic data acquisition system
KR20090010539A (en) * 2007-07-23 2009-01-30 한전케이디엔주식회사 Communication speed change system for watt-hour meter data reading
KR101443543B1 (en) * 2010-06-04 2014-09-22 미쓰비시덴키 가부시키가이샤 Receiver apparatus, data identifying/reproducing apparatus, pon system and data identifying/reproducing method
CN103329477B (en) * 2011-01-27 2015-09-30 三菱电机株式会社 Communication interface
CN102790686B (en) * 2011-05-17 2015-09-16 浙江核新同花顺网络信息股份有限公司 Log data acquisition method, system and server
US20150268877A1 (en) * 2014-03-21 2015-09-24 GM Global Technology Operations LLC Systems and methods for recording data in a memory
CN107544334B (en) * 2017-09-18 2019-07-19 吉林大学 The data collecting card of adjust automatically sample rate

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0714303A (en) * 1993-06-25 1995-01-17 Kenwood Corp Digital recorder
JPH09170932A (en) * 1995-12-21 1997-06-30 Denshi Giken:Kk Data recording device for abnormality analysis
WO2008153332A1 (en) * 2007-06-13 2008-12-18 Korea Maintenance & Control Co., Ltd. Multi-channel wireless measuring system with separated sensor interface module
JP2013108812A (en) * 2011-11-18 2013-06-06 Lintec Corp Recording apparatus and sensing system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022007497A (en) * 2020-06-26 2022-01-13 キリンテクノシステム株式会社 Imaging system and imaging control method
JP7148162B2 (en) 2020-06-26 2022-10-05 キリンテクノシステム株式会社 Imaging system and imaging control method

Also Published As

Publication number Publication date
JP6963107B2 (en) 2021-11-05
CN112334739B (en) 2022-03-29
CN112334739A (en) 2021-02-05
JPWO2020003438A1 (en) 2021-02-15

Similar Documents

Publication Publication Date Title
EP2859301B1 (en) System and method for a wireless feature pack
CN111656333B (en) Slave device, working machine, and method of storing log information
US20020051216A1 (en) Smart camera
CN105612705A (en) Multiplexing communication system and substrate processing machine
WO2020003438A1 (en) Logging device and sampling method
CN107409151B (en) Multiplex communication system and work machine
JP7209014B2 (en) work machine
JP6742497B2 (en) Multiplex communication system and work robot
JP3075458B2 (en) Terminal insertion method
GB2424088A (en) Synchronising USB devices
JP6824398B2 (en) Image processing equipment, multiplex communication system and image processing method
US6560200B1 (en) Serial bus experimental apparatus
EP3346814B1 (en) Work allocation device
JP6858278B2 (en) Multiplier, work equipment, and how to disconnect communication
JP6779386B2 (en) How to switch connections between multiplex devices, robots, and multiplex devices
WO2001068326A2 (en) Smart camera for controlling an actuator
WO2003092261A2 (en) Data grabber with switched fabric interface
JP6615018B2 (en) Multiplexed communication system and work machine
JP6830001B2 (en) Transmission equipment and work robots
JP7445460B2 (en) work system
JP7199566B2 (en) Mounting device and work machine
EP3647957B1 (en) Substrate-related operation machine control device
CN215420525U (en) Mipi signal long-distance transmission circuit structure
WO2021171549A1 (en) Work machine
JP7149342B2 (en) Optical communication device and work machine

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18923827

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2020526805

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18923827

Country of ref document: EP

Kind code of ref document: A1