Sha256: 987a98ff8e00c911426c1f0105bbfa97da117ff17f34c505ce98350f29725556

Contents?: true

Size: 1.39 KB

Versions: 16

Compression:

Stored size: 1.39 KB

Contents

#
# Copyright (c) 2016 ITO SOFT DESIGN Inc.
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# distribute, sublicense, and/or sell copies of the Software, and to
# permit persons to whom the Software is furnished to do so, subject to
# the following conditions:
#
# The above copyright notice and this permission notice shall be
# included in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

module LadderDrive
  module PlcDefine

    # status flags
    # SD0
    ESC_STATUS_TO_PLC_STOP_PLC_FLAG       = 2     # bit 1
    ESC_STATUS_TO_PLC_CLEAR_PROGRAM       = 4     # bit 2  require bit 1 on
    # SD1
    ESC_STATUS_FROM_PLC_CYCLE_RUN         = 2
    ESC_STATUS_FROM_PLC_ACK_CLEAR_PROGRAM = 4

  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
ladder_drive-0.6.8 lib/ladder_drive/plc_define.rb
ladder_drive-0.6.7 lib/ladder_drive/plc_define.rb
ladder_drive-0.6.6 lib/ladder_drive/plc_define.rb
ladder_drive-0.6.5 lib/ladder_drive/plc_define.rb
ladder_drive-0.6.4 lib/ladder_drive/plc_define.rb
ladder_drive-0.6.3 lib/ladder_drive/plc_define.rb
ladder_drive-0.6.2 lib/ladder_drive/plc_define.rb
ladder_drive-0.6.1 lib/ladder_drive/plc_define.rb
ladder_drive-0.6.0 lib/ladder_drive/plc_define.rb
ladder_drive-0.5.2 lib/ladder_drive/plc_define.rb
ladder_drive-0.5.1 lib/ladder_drive/plc_define.rb
ladder_drive-0.5.0 lib/ladder_drive/plc_define.rb
ladder_drive-0.4.1 lib/ladder_drive/plc_define.rb
ladder_drive-0.4.0 lib/ladder_drive/plc_define.rb
ladder_drive-0.3.1 lib/ladder_drive/plc_define.rb
ladder_drive-0.3.0 lib/ladder_drive/plc_define.rb