template/escalator/config/plc.yml in escalator-0.2.4 vs template/escalator/config/plc.yml in escalator-0.2.5
- old
+ new
@@ -1,21 +1,25 @@
# 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.
+ # port: 5007 # It's PLC's port no. If it's not descript here, use default port.
# You can describe targets multiply.
- #
- # plc2:
- # cpu: kv-5000
- # protocl: kv_protocol
- # ...
+
+ # Keyence KV-5000
+ kv5000:
+ cpu: kv-5000
+ protocol: kv_protocol
+ host: 192.168.0.11
+ # port: 8501
+
# default section
default:
# If you set target iq-r, `rake` is same as `rake target=iq-r`.
# default target is emulator.