PLC to Cranium
By default, the Cranium system expects a complete telegram of 224 bytes from the crane PLC every 70 ms, i.e., in every control cycle. The message consists of 14 blocks of 16 bytes each. Data is transmitted in Big-Endian or, if configured accordingly, in Little-Endian. Individual bits of a byte used as Boolean values are numbered from 0 to 7, starting from the least significant bit.
Which bytes/bits need to be set depends on the functions you want to use on a system. For example, you do not need to consider the data for positioning if you do not require these functions.
General
Prefix: general
Bytes: 0..15
mostly requires license: Bridge Crane or Rotary Crane
data_id 0..1
Type: UINT
Telegram ID, always 2 in this version.
data_no 2..3
Type: UINT
Telegram counter, incremented by 1 per cycle/message.
control 4.0
Type: BOOL/BIT
0controller inactive1controller active
As a handshake, Cranium sends back control=1.
sway_damping 4.1
Type: BOOL/BIT
0sway damping inactive1sway damping active (for both crane and trolley)
pos_save 4.2
Type: BOOL/BIT
0no action1store current position in target memory (with setpos_id)
As a handshake, Cranium sends back pos_save=1.
area 4.3
Type: BOOL/BIT
0safety areas/obstacles inactive1safety areas/obstacles active
requires license: Areas and Obstacles
area_save 4.4
Type: BOOL/BIT
0no action1store safety area/obstacle
As a handshake, Cranium sends back area_save=1.
For the transmitted data, see the blocks for area memory.
requires license: Areas and Obstacles
proximity 4.5
Type: BOOL/BIT
0control without proximity sensors1control with proximity sensors
Sensors continue measuring even at 0.
requires license: Proximity Sensors
cartesian 4.6
Type: BOOL/BIT
0rotary crane: normal control1rotary crane: cartesian/axial control
height_fixed 4.7
Type: BOOL/BIT
0rotary crane: normal control1rotary crane: fixed hoist height
∅ 5.0..5.7
reserve
∅ 6
reserve
op_mode 7
Type: USINT
0controller inactive1manual operation mode2automatic positioning topos_tar(single positions only)3automatic positioning topos_id(also complete paths)4navigation topos_tar(like2plus pathfinding)5navigation topos_id(like3plus pathfinding)
4 and 5 require license: Navigation
param_set 8..9
Type: UINT
Number of the active parameter set, 0 is the default value. Currently, a maximum of eight
parameter sets are provided (0..7).
pos_id 10
Type: USINT
Selected ID in the target memory, represents position or path.
Position/path is activated with op_mode=3|5. Position is written with
pos_save=1.
area_id 11
Type: USINT
Selected ID in the area memory, represents area or obstacle.
Area is written with area_save=1.
requires license: Areas and Obstacles
area_groups 12.0..15.7
Type: BOOL/BIT
Safety area/obstacle groups, used as BOOL ARRAY[0..31].
0disables groups 0 to 31 respectively1enables groups 0 to 31 respectively
requires license: Areas and Obstacles
Reserve Block
∅ 16..31
reserve
Crane/Slewing Gear
Prefix: x
Bytes: 32..47
This axis represents the crane travel for bridge cranes and the slewing gear for rotary cranes.
requires license: Bridge Crane or Rotary Crane
active 32.0
Type: BOOL/BIT
0axis inactive1axis active
As a handshake, Cranium sends back active=1.
warmup 32.1
Type: BOOL/BIT
0normal velocity1configured minimum velocity
For example, while drives are magnetizing.
stop 32.2
Type: BOOL/BIT
0axis moves1axis stops
Considers sway_damping.
limit_min 32.3
Type: BOOL/BIT
0end position at smallest coordinate inactive1end position at smallest coordinate active
This signal is not required if position measurement pos_act is available.
prelimit_min 32.4
Type: BOOL/BIT
0pre-end position at smallest coordinate inactive1pre-end position at smallest coordinate active
This signal is not required if position measurement pos_act is available.
prelimit_max 32.5
Type: BOOL/BIT
0pre-end position at largest coordinate inactive1pre-end position at largest coordinate active
This signal is not required if position measurement pos_act is available.
limit_max 32.6
Type: BOOL/BIT
0end position at largest coordinate inactive1end position at largest coordinate active
This signal is not required if position measurement pos_act is available.
∅ 32.7..33.7
reserve
vel_tar 34..35
Type: INT
Target velocity in -1000..1000 (with configured norm: 1000).
vel_act 36..37
Type: INT
Actual velocity in -1000..1000 (with configured norm: 1000).
This value is optional and used internally for verification.
pos_tar 38..41
Type: DINT
Target position to be reached in mm (bridge crane) or °/100 (rotary crane).
Activated with op_mode=2.
pos_act 42..45
Type: DINT
Actual position in mm (bridge crane) or °/100 (rotary crane).
∅ 46..47
reserve
Trolley/Boom
Prefix: y
Bytes: 48..63
This axis represents the trolley travel for bridge cranes and the boom for rotary cranes.
requires license: Bridge Crane or Rotary Crane
active 48.0
Type: BOOL/BIT
0axis inactive1axis active
As a handshake, Cranium sends back active=1.
warmup 48.1
Type: BOOL/BIT
0normal velocity1configured minimum velocity
For example, while drives are magnetizing.
stop 48.2
Type: BOOL/BIT
0axis moves1axis stops
Considers sway_damping.
limit_min 48.3
Type: BOOL/BIT
0end position at smallest coordinate inactive1end position at smallest coordinate active
This signal is not required if position measurement pos_act is available.
prelimit_min 48.4
Type: BOOL/BIT
0pre-end position at smallest coordinate inactive1pre-end position at smallest coordinate active
This signal is not required if position measurement pos_act is available.
prelimit_max 48.5
Type: BOOL/BIT
0pre-end position at largest coordinate inactive1pre-end position at largest coordinate active
This signal is not required if position measurement pos_act is available.
limit_max 48.6
Type: BOOL/BIT
0end position at largest coordinate inactive1end position at largest coordinate active
This signal is not required if position measurement pos_act is available.
∅ 48.7..49.7
reserve
vel_tar 50..51
Type: INT
Target velocity in -1000..1000 (with configured norm: 1000).
vel_act 52..53
Type: INT
Actual velocity in -1000..1000 (with configured norm: 1000).
This value is optional and used internally for verification.
pos_tar 54..57
Type: DINT
Target position to be reached in mm (bridge crane) or °/100 (rotary crane).
Activated with op_mode=2.
For rotary cranes: 0° is horizontal and 90° is vertical.
pos_act 58..61
Type: DINT
Actual position in mm (bridge crane) or °/100 (rotary crane).
For rotary cranes: 0° is horizontal and 90° is vertical.
∅ 62..63
reserve
Hoist
Prefix: z
Bytes: 64..79
requires license: Bridge Crane or Rotary Crane
active 64.0
Type: BOOL/BIT
0axis inactive1axis active
As a handshake, Cranium sends back active=1.
warmup 64.1
Type: BOOL/BIT
0normal velocity1configured minimum velocity
For example, while drives are magnetizing.
stop 64.2
Type: BOOL/BIT
0axis moves1axis stops
limit_min 64.3
Type: BOOL/BIT
0end position at smallest coordinate inactive1end position at smallest coordinate active
This signal is not required if position measurement pos_act is available.
prelimit_min 64.4
Type: BOOL/BIT
0pre-end position at smallest coordinate inactive1pre-end position at smallest coordinate active
This signal is not required if position measurement pos_act is available.
prelimit_max 64.5
Type: BOOL/BIT
0pre-end position at largest coordinate inactive1pre-end position at largest coordinate active
This signal is not required if position measurement pos_act is available.
limit_max 64.6
Type: BOOL/BIT
0end position at largest coordinate inactive1end position at largest coordinate active
This signal is not required if position measurement pos_act is available.
∅ 64.7..65.7
reserve
vel_tar 66..67
Type: INT
Target velocity in -1000..1000 (with configured norm: 1000).
vel_act 68..69
Type: INT
Actual velocity in -1000..1000 (with configured norm: 1000).
This value is optional and used internally for verification.
pos_tar 70..73
Type: DINT
Target position to be reached in mm.
Activated with op_mode=2.
pos_act 74..77
Type: DINT
Actual position in mm.
∅ 78..79
reserve
Slewing Gear (Load)
Prefix: r
Bytes: 80..95
requires license: Bridge Crane or Rotary Crane
active 80.0
Type: BOOL/BIT
0slewing gear inactive1slewing gear active
As a handshake, Cranium sends back active=1.
warmup 80.1
Type: BOOL/BIT
0normal velocity1configured minimum velocity
For example, while drives are magnetizing.
stop 80.2
Type: BOOL/BIT
0slewing gear moves1slewing gear stops
limit_min 80.3
Type: BOOL/BIT
0end position at smallest coordinate inactive1end position at smallest coordinate active
This signal is not required if position measurement pos_act is available.
prelimit_min 80.4
Type: BOOL/BIT
0pre-end position at smallest coordinate inactive1pre-end position at smallest coordinate active
This signal is not required if position measurement pos_act is available.
prelimit_max 80.5
Type: BOOL/BIT
0pre-end position at largest coordinate inactive1pre-end position at largest coordinate active
This signal is not required if position measurement pos_act is available.
limit_max 80.6
Type: BOOL/BIT
0end position at largest coordinate inactive1end position at largest coordinate active
This signal is not required if position measurement pos_act is available.
∅ 80.7..81.7
reserve
vel_tar 82..83
Type: INT
Target velocity in -1000..1000 (with configured norm: 1000).
vel_act 84..85
Type: INT
Actual velocity in -1000..1000 (with configured norm: 1000).
This value is optional and used internally for verification.
pos_tar 86..89
Type: DINT
Target position to be reached in °/100.
Activated with op_mode=2.
pos_act 90..93
Type: DINT
Actual position in °/100.
∅ 94..95
reserve
Track Control
Prefix: track
Bytes: 96..111
requires license: Track Control
active 96.0
Type: BOOL/BIT
0track control inactive1track control active
As a handshake, Cranium sends back active=1.
active_induct_fl 96.1
Type: BOOL/BIT
Inductive sensor front left:
0inactive1active
active_induct_fr 96.2
Type: BOOL/BIT
Inductive sensor front right:
0inactive1active
active_induct_bl 96.3
Type: BOOL/BIT
Inductive sensor back left:
0inactive1active
active_induct_br 96.4
Type: BOOL/BIT
Inductive sensor back right:
0inactive1active
active_laser_l 96.5
Type: BOOL/BIT
Laser sensor left:
0inactive1active
active_laser_r 96.6
Type: BOOL/BIT
Laser sensor right:
0inactive1active
∅ 96.7..97.7
reserve
∅ 98..99
reserve
sensor_induct_fl 100
Type: USINT
Measurement of inductive sensor front left in 0..255.
sensor_induct_fr 101
Type: USINT
Measurement of inductive sensor front right in 0..255.
sensor_induct_bl 102
Type: USINT
Measurement of inductive sensor back left in 0..255.
sensor_induct_br 103
Type: USINT
Measurement of inductive sensor back right in 0..255.
sensor_laser_l 104..107
Type: DINT
Distance from laser to left end of crane track in mm.
sensor_laser_r 108..111
Type: DINT
Distance from laser to right end of crane track in mm.
Load Handling
Prefix: load
Bytes: 112..127
requires license: Lidar and Load Collision Prevention
tongs_spread 112.0
Type: BOOL/BIT
In trailer mode mode=2, for all tongs of the spreader:
0closed1spread
∅ 112.1..112.7
reserve
atl_active 113.0
Type: BOOL/BIT
0load coupling detection inactive1load coupling detection active
If this value is active and the associated module (ATL) is licensed and enabled, Cranium detects coupled loads such as containers or trailers on freight cars during lifting and signals this to the PLC.
atl_reset 113.1
Type: BOOL/BIT
0no action1reset status of load coupling detection
If you are sure that the current lifting process is uncritical and should continue despite the
active signal atl_coupled=1 for a detected load coupling, you can
activate this signal to reset the detection status.
∅ 113.2..113.7
reserve
weight_l_kg 114..117
Type: DINT
Left-side weight of the load in kg.
The total weight of the load is the sum of the left and right weights. Both values are used by Cranium to improve algorithms for detecting coupled loads.
weight_r_kg 118..121
Type: DINT
Right-side weight of the load in kg.
The total weight of the load is the sum of the left and right weights. Both values are used by Cranium to improve algorithms for detecting coupled loads.
mode 122
Type: USINT
0undetermined/changing1container2trailer
length 123
Type: USINT
0undetermined/changing120'230'340'445' HC545' PW648' HC753' HC82x20'
attached 124
Type: USINT
0undetermined/changing1no load attached2load attached
∅ 125..127
reserve
Area Memory
Prefix: area
Bytes: 128..143
requires license: Areas and Obstacles
∅ 128..130
reserve
vel_dmps 131
Type: USINT
0area is obstacleelsevelocity limit in dm/s
min_x_mm 132..135
Type: DINT
X-coordinate to be stored in mm, lower boundary of the area.
Both points at (0, 0, 0) to delete.
min_y_mm 136..139
Type: DINT
Y-coordinate to be stored in mm, lower boundary of the area.
Both points at (0, 0, 0) to delete.
min_z_mm 140..143
Type: DINT
Z-coordinate to be stored in mm, lower boundary of the area.
Both points at (0, 0, 0) to delete.
Area Memory
Prefix: area
Bytes: 144..159
requires license: Areas and Obstacles
max_x_mm 144..147
Type: DINT
X-coordinate to be stored in mm, upper boundary of the area.
Both points at (0, 0, 0) to delete.
max_y_mm 148..151
Type: DINT
Y-coordinate to be stored in mm, upper boundary of the area.
Both points at (0, 0, 0) to delete.
max_z_mm 152..155
Type: DINT
Z-coordinate to be stored in mm, upper boundary of the area.
Both points at (0, 0, 0) to delete.
∅ 156..159
reserve
Reserve Block
∅ 160..175
reserve
Reserve Block
∅ 176..191
reserve
Reserve Block
∅ 192..207
reserve
Reserve Block
∅ 208..223
reserve