Sha256: 9d5778c4bf42fa8c0cb98de59ca5b2d4aa5c59d5a1cfbc7f2510c40bc03dc147

Contents?: true

Size: 1.16 KB

Versions: 23

Compression:

Stored size: 1.16 KB

Contents

# Run rake with target like this.
#   > rake target=iq-r

# plc section
plc:
  # MITSUBISHI iQ-R
  iq-r:                     # It's a target name
    cpu: iq-r               # It's just a comment.
    protocol: mc_protocol   # It's a protocol to communicate with PLC.
    host: 192.168.0.10      # It's PLC's IP address or dns name.
    # port: 5007              # It's PLC's port no. If it's not descript here, use default port.

  # You can describe targets multiply.

  # Keyence KV-5000
  kv5000:
    cpu: kv-5000
    protocol: kv_protocol
    host: 192.168.0.11
    # port: 8501

  # Raspberry Pi
  raspberrypi:
    cpu: Raspberry Pi
    io: # assign gpio to x and y
      inputs:
        x0:
          pin: 4        # gpio no
          pull: up      # up | down | off
          invert: true
        x1:
          pin: 17
          pull: up
          invert: true
        x2:
          pin: 27
          pull: up
          invert: true
      outputs:
        y0:
          pin: 18
        y1:
          pin: 23
        y2:
          pin: 42

# default section
default:
  # If you set target iq-r, `rake` is same as `rake target=iq-r`.
  # default target is emulator.
  # target: iq-r

Version data entries

23 entries across 12 versions & 1 rubygems

Version Path
ladder_drive-0.6.8 template/ladder_drive/config/plc.yml
ladder_drive-0.6.8 template/escalator/config/plc.yml
ladder_drive-0.6.7 template/ladder_drive/config/plc.yml
ladder_drive-0.6.7 template/escalator/config/plc.yml
ladder_drive-0.6.6 template/escalator/config/plc.yml
ladder_drive-0.6.6 template/ladder_drive/config/plc.yml
ladder_drive-0.6.5 template/ladder_drive/config/plc.yml
ladder_drive-0.6.5 template/escalator/config/plc.yml
ladder_drive-0.6.4 template/ladder_drive/config/plc.yml
ladder_drive-0.6.4 template/escalator/config/plc.yml
ladder_drive-0.6.3 template/escalator/config/plc.yml
ladder_drive-0.6.3 template/ladder_drive/config/plc.yml
ladder_drive-0.6.2 template/ladder_drive/config/plc.yml
ladder_drive-0.6.2 template/escalator/config/plc.yml
ladder_drive-0.6.1 template/ladder_drive/config/plc.yml
ladder_drive-0.6.1 template/escalator/config/plc.yml
ladder_drive-0.6.0 template/escalator/config/plc.yml
ladder_drive-0.6.0 template/ladder_drive/config/plc.yml
ladder_drive-0.5.2 template/ladder_drive/config/plc.yml
ladder_drive-0.5.2 template/escalator/config/plc.yml