template/escalator/config/plc.yml in escalator-0.2.1 vs template/escalator/config/plc.yml in escalator-0.2.2

- old
+ new

@@ -1,7 +1,23 @@ -:plc: - :cpu: iq-r - :protocol: mc_protocol - :host: 192.168.0.1 - :port: 5007 - :program_area: d10000 - :interaction_area: d9998 +# Run rake with target like this. +# > rake target=iq-r + +# plc section +plc: + 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. + + # You can describe targets multiply. + # + # plc2: + # cpu: kv-5000 + # protocl: kv_protocol + # ... + +# default section +default: + # If you set target iq-r, `rake` is same as `rake target=iq-r`. + # default target is emulator. + # target: iq-r