Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias Import alias alias Import alias ImportFrom alias ImportFrom alias Import alias Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad SubscriptLoad NameLoad Index Num attr Num NameLoad ListLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return SubscriptLoad Call AttributeLoad SubscriptLoad NameLoad Index Num attr Num NameLoad keyword Num Index Num decorator_list Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Global identifier Assign NameStore ListLoad FunctionDef arguments args NameParam defaults body Expr Str Return TupleLoad Call NameLoad AttributeLoad NameLoad attr Call NameLoad BinOpAdd UnaryOpUSub AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Num Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num NameLoad TupleLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Num Assign AttributeStore AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad NameLoad attr Num Num Assign AttributeStore NameLoad attr TupleLoad NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad TupleLoad Num Num Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults SubscriptLoad NameLoad Index Str body Assign NameStore TupleLoad Call NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr BinOpSub Num Call NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Call NameLoad AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr TupleLoad Num Num Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad TupleLoad Num Num Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr TupleLoad Num Num Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad TupleLoad Num Num Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr TupleLoad Num Num Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad TupleLoad Num Num Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr TupleLoad Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad TupleLoad Num Num TupleLoad Num Num Num Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr TupleLoad Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad TupleLoad NameLoad Num TupleLoad BinOpDiv NameLoad Num Num Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Num Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr TupleLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad TupleLoad Num Num TupleLoad Num Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad TupleLoad Num Num TupleLoad Num Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad TupleLoad Num Num TupleLoad Num Num Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Return TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad SubscriptLoad NameLoad Index Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults SubscriptLoad NameLoad Index Str body Expr Str For NameStore NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore BinOpAdd AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore BinOpAdd AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad ListLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Call AttributeLoad NameLoad attr Str Expr Call NameLoad NameLoad Num Expr Call NameLoad NameLoad Num Expr Call NameLoad NameLoad Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Call AttributeLoad NameLoad attr Str Expr Call NameLoad NameLoad Num Expr Call NameLoad NameLoad Num Expr Call NameLoad NameLoad Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Global identifier Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Num Num keyword NameLoad Expr Call AttributeLoad NameLoad attr Num Num keyword NameLoad Expr Call AttributeLoad NameLoad attr Num Num keyword NameLoad Expr Call AttributeLoad NameLoad attr Num Num keyword NameLoad Expr Call AttributeLoad NameLoad attr Num Num keyword NameLoad Expr Call AttributeLoad NameLoad attr Num Num keyword NameLoad Expr Call AttributeLoad NameLoad attr Num Num keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Num Num keyword NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Global identifier Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore ListLoad Assign NameStore Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num While NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If CompareEq AttributeLoad NameLoad attr NameLoad body Assign NameStore NameLoad orelse If BoolOpAnd CompareEq AttributeLoad NameLoad attr NameLoad CompareEq AttributeLoad NameLoad attr NameLoad body Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str If Call NameLoad NameLoad body If CompareEq Call NameLoad NameLoad Num body Expr Call NameLoad NameLoad Num If CompareEq Call NameLoad NameLoad Num body Expr Call NameLoad NameLoad Num AugAssignSub NameStore Num If UnaryOpNot Call NameLoad NameLoad body Expr Call NameLoad NameLoad Num If BoolOpAnd CompareLtE NameLoad Num Call NameLoad NameLoad body Assign NameStore Num Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If CompareEq Call NameLoad NameLoad Num body For NameStore NameLoad body AugAssignAdd AttributeStore AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr attr Num orelse Expr Call NameLoad NameLoad Num Assign NameStore ListLoad For NameStore NameLoad body If BoolOpOr CompareLt AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Num CompareGt AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr BinOpAdd NameLoad Num body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body If BoolOpOr CompareGt AttributeLoad AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr attr BinOpAdd NameLoad Num CompareLt AttributeLoad AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr attr Num body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad NameLoad attr NameLoad Continue Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad SubscriptLoad NameLoad Index Str Expr Call NameLoad NameLoad NameLoad SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Str Num SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Str Num SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Str Num SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad TupleLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad TupleLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad TupleLoad BinOpSub NameLoad Num Num Expr Call AttributeLoad NameLoad attr BinOpDiv Num NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Assign NameStore Call NameLoad keyword Call NameLoad Num BinOpMult ListLoad Num Num keyword Call NameLoad Num BinOpMult ListLoad Num Num keyword Call NameLoad Num BinOpMult ListLoad Num Num keyword Call NameLoad Num BinOpMult ListLoad Num Num Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str FunctionDef arguments args defaults body Expr Call NameLoad NameLoad keyword NameLoad keyword TupleLoad Str NameLoad decorator_list FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Call NameLoad
N/A N/A logging twisted.internet reactor pymodbus.server.async StartTcpServer pymodbus.device ModbusDeviceIdentification pymodbus.datastore ModbusSequentialDataBlock pymodbus.datastore ModbusSlaveContext ModbusServerContext pymodbus.transaction ModbusRtuFramer ModbusAsciiFramer N/A sys random N/A pygame pygame.locals * pygame.color * N/A pymunk N/A N/A N/A logging basicConfig N/A log N/A N/A logging getLogger N/A N/A N/A log setLevel N/A logging INFO PLCSetTag N/A N/A addr value N/A N/A N/A N/A N/A N/A context N/A 0 setValues 3 addr N/A value N/A PLCGetTag N/A N/A addr N/A N/A N/A N/A N/A N/A N/A context N/A 0 getValues 3 addr count 1 N/A 0 N/A N/A SCREEN_WIDTH 600 N/A SCREEN_HEIGHT 350 N/A FPS 50.0 N/A MODBUS_SERVER_PORT 5020 N/A PLC_TAG_LEVEL_SENSOR 1 N/A PLC_TAG_LIMIT_SWITCH 2 N/A PLC_TAG_MOTOR 3 N/A PLC_TAG_NOZZLE 4 N/A PLC_TAG_RUN 16 N/A bottles N/A bottles N/A to_pygame N/A N/A p N/A N/A N/A Small hack to convert pymunk to pygame coordinates N/A N/A N/A int N/A p x N/A int N/A N/A N/A p y 600 N/A add_ball N/A N/A space N/A N/A N/A mass 0.01 N/A radius 3 N/A inertia N/A N/A pymunk moment_for_circle mass 0 radius N/A 0 0 N/A body N/A N/A pymunk Body mass inertia N/A N/A N/A body _bodycontents v_limit 120 N/A N/A N/A body _bodycontents h_limit 1 N/A x N/A N/A random randint 181 182 N/A N/A body position N/A x 410 N/A shape N/A N/A pymunk Circle body radius N/A 0 0 N/A N/A shape collision_type 5 N/A N/A N/A space add body shape N/A shape N/A draw_ball N/A N/A screen ball color N/A N/A THECOLORS N/A blue N/A N/A p N/A N/A int N/A N/A N/A ball body position x N/A 600 N/A int N/A N/A N/A ball body position y N/A N/A N/A N/A pygame draw circle screen color p N/A int N/A ball radius 2 N/A add_bottle_in_sensor N/A N/A space N/A N/A N/A body N/A N/A pymunk Body N/A N/A body position N/A 40 300 N/A radius 2 N/A shape N/A N/A pymunk Circle body radius N/A 0 0 N/A N/A shape collision_type 7 N/A N/A N/A space add shape N/A shape N/A add_level_sensor N/A N/A space N/A N/A N/A body N/A N/A pymunk Body N/A N/A body position N/A 155 380 N/A radius 3 N/A shape N/A N/A pymunk Circle body radius N/A 0 0 N/A N/A shape collision_type 4 N/A N/A N/A space add shape N/A shape N/A add_limit_switch N/A N/A space N/A N/A N/A body N/A N/A pymunk Body N/A N/A body position N/A 200 300 N/A radius 2 N/A shape N/A N/A pymunk Circle body radius N/A 0 0 N/A N/A shape collision_type 1 N/A N/A N/A space add shape N/A shape N/A add_nozzle N/A N/A space N/A N/A N/A body N/A N/A pymunk Body N/A N/A body position N/A 180 430 N/A shape N/A N/A N/A pymunk Poly create_box body N/A 15 20 N/A 0 0 0 N/A N/A N/A space add shape N/A shape N/A add_base N/A N/A space N/A N/A N/A body N/A N/A pymunk Body N/A N/A body position N/A 0 300 N/A shape N/A N/A N/A pymunk Poly create_box body N/A SCREEN_WIDTH 20 N/A N/A SCREEN_WIDTH 2 -10 0 N/A N/A shape friction 1.0 N/A N/A shape collision_type 6 N/A N/A N/A space add shape N/A shape N/A add_bottle N/A N/A space N/A N/A N/A mass 10 N/A inertia 68719476735 N/A body N/A N/A pymunk Body mass inertia N/A N/A body position N/A 130 300 N/A l1 N/A N/A pymunk Segment body N/A -150 0 N/A -100 0 2.0 N/A l2 N/A N/A pymunk Segment body N/A -150 0 N/A -150 100 2.0 N/A l3 N/A N/A pymunk Segment body N/A -100 0 N/A -100 100 2.0 N/A N/A l1 friction 0.94 N/A N/A l2 friction 0.94 N/A N/A l3 friction 0.94 N/A N/A l1 collision_type 2 N/A N/A l2 collision_type 3 N/A N/A l3 collision_type 3 N/A N/A N/A space add l1 l2 l3 body N/A N/A l1 l2 l3 N/A draw_polygon N/A N/A screen shape N/A N/A N/A points N/A N/A shape get_vertices N/A fpoints N/A N/A p points N/A N/A N/A N/A fpoints append N/A to_pygame p N/A N/A N/A N/A pygame draw polygon screen N/A THECOLORS N/A black fpoints N/A draw_lines N/A N/A screen lines color N/A N/A THECOLORS N/A dodgerblue4 N/A N/A Draw the lines N/A line lines N/A N/A body N/A line body N/A pv1 N/A N/A body position N/A N/A N/A line a rotated N/A body angle N/A pv2 N/A N/A body position N/A N/A N/A line b rotated N/A body angle N/A p1 N/A to_pygame pv1 N/A p2 N/A to_pygame pv2 N/A N/A N/A N/A pygame draw lines screen color False N/A p1 p2 N/A no_collision N/A N/A space arbiter N/A args kwargs N/A N/A False N/A level_ok N/A N/A space arbiter N/A args kwargs N/A N/A N/A N/A log debug Level reached N/A N/A PLCSetTag PLC_TAG_LIMIT_SWITCH 0 N/A N/A PLCSetTag PLC_TAG_LEVEL_SENSOR 1 N/A N/A PLCSetTag PLC_TAG_NOZZLE 0 N/A False N/A bottle_in_place N/A N/A space arbiter N/A args kwargs N/A N/A N/A N/A log debug Bottle in place N/A N/A PLCSetTag PLC_TAG_LIMIT_SWITCH 1 N/A N/A PLCSetTag PLC_TAG_LEVEL_SENSOR 0 N/A N/A PLCSetTag PLC_TAG_NOZZLE 1 N/A False N/A add_new_bottle N/A N/A space arbiter N/A args kwargs N/A N/A bottles N/A N/A N/A bottles append N/A add_bottle space N/A N/A N/A log debug Adding new bottle N/A False N/A runWorld N/A N/A N/A N/A N/A N/A N/A pygame init N/A screen N/A N/A N/A pygame display set_mode N/A SCREEN_WIDTH SCREEN_HEIGHT N/A N/A N/A N/A pygame display set_caption Bottle-Filling Factory - World View - VirtuaPlant N/A clock N/A N/A N/A pygame time Clock N/A running True N/A space N/A N/A pymunk Space N/A N/A space gravity N/A 0.0 -900.0 N/A N/A N/A space add_collision_handler 1 2 begin bottle_in_place N/A N/A N/A space add_collision_handler 4 5 begin level_ok N/A N/A N/A space add_collision_handler 4 6 begin no_collision N/A N/A N/A space add_collision_handler 1 6 begin no_collision N/A N/A N/A space add_collision_handler 1 3 begin no_collision N/A N/A N/A space add_collision_handler 4 3 begin no_collision N/A N/A N/A space add_collision_handler 7 2 begin no_collision separate add_new_bottle N/A N/A N/A space add_collision_handler 7 3 begin no_collision N/A base N/A add_base space N/A nozzle N/A add_nozzle space N/A limit_switch N/A add_limit_switch space N/A level_sensor N/A add_level_sensor space N/A bottle_in N/A add_bottle_in_sensor space N/A bottles N/A N/A N/A bottles append N/A add_bottle space N/A balls N/A N/A ticks_to_next_ball 1 N/A fontBig N/A N/A N/A pygame font SysFont None 40 N/A fontMedium N/A N/A N/A pygame font SysFont None 26 N/A fontSmall N/A N/A N/A pygame font SysFont None 18 N/A running N/A N/A N/A N/A clock tick FPS N/A event N/A N/A N/A pygame event get N/A N/A N/A N/A event type QUIT N/A N/A running False N/A N/A N/A N/A N/A event type KEYDOWN N/A N/A event key K_ESCAPE N/A N/A running False N/A N/A N/A screen fill N/A THECOLORS N/A white N/A N/A PLCGetTag PLC_TAG_RUN N/A N/A N/A N/A PLCGetTag PLC_TAG_LIMIT_SWITCH 1 N/A N/A N/A PLCSetTag PLC_TAG_MOTOR 0 N/A N/A N/A PLCGetTag PLC_TAG_LEVEL_SENSOR 1 N/A N/A N/A PLCSetTag PLC_TAG_MOTOR 1 N/A ticks_to_next_ball 1 N/A N/A N/A PLCGetTag PLC_TAG_LIMIT_SWITCH N/A N/A N/A PLCSetTag PLC_TAG_MOTOR 1 N/A N/A N/A ticks_to_next_ball 0 N/A PLCGetTag PLC_TAG_NOZZLE N/A N/A ticks_to_next_ball 1 N/A ball_shape N/A add_ball space N/A N/A N/A balls append ball_shape N/A N/A N/A PLCGetTag PLC_TAG_MOTOR 1 N/A N/A bottle bottles N/A N/A N/A N/A N/A N/A bottle N/A 0 body position x 0.25 N/A N/A N/A PLCSetTag PLC_TAG_MOTOR 0 N/A balls_to_remove N/A N/A ball balls N/A N/A N/A N/A N/A N/A N/A ball body position y 150 N/A N/A N/A N/A ball body position x N/A SCREEN_WIDTH 150 N/A N/A N/A N/A balls_to_remove append ball N/A N/A draw_ball screen ball N/A ball balls_to_remove N/A N/A N/A N/A space remove ball N/A ball body N/A N/A N/A balls remove ball N/A bottle bottles N/A N/A N/A N/A N/A N/A N/A N/A bottle N/A 0 body position x N/A SCREEN_WIDTH 150 N/A N/A N/A N/A N/A bottle N/A 0 body position y 150 N/A N/A N/A N/A space remove bottle N/A N/A bottle N/A 0 body N/A N/A N/A bottles remove bottle N/A N/A N/A draw_lines screen bottle N/A N/A draw_polygon screen base N/A N/A draw_polygon screen nozzle N/A N/A draw_ball screen limit_switch N/A THECOLORS N/A green N/A N/A draw_ball screen level_sensor N/A THECOLORS N/A red N/A title N/A N/A fontMedium render N/A str Bottle-filling factory 1 N/A THECOLORS N/A deepskyblue N/A name N/A N/A fontBig render N/A str VirtuaPlant 1 N/A THECOLORS N/A gray20 N/A instructions N/A N/A fontSmall render N/A str (press ESC to quit) 1 N/A THECOLORS N/A gray N/A N/A N/A screen blit title N/A 10 40 N/A N/A N/A screen blit name N/A 10 10 N/A N/A N/A screen blit instructions N/A N/A SCREEN_WIDTH 115 10 N/A N/A N/A space step N/A 1 FPS N/A N/A N/A N/A pygame display flip N/A N/A reactor running N/A N/A N/A N/A reactor callFromThread N/A reactor stop N/A N/A store N/A ModbusSlaveContext di N/A ModbusSequentialDataBlock 0 N/A N/A 0 100 co N/A ModbusSequentialDataBlock 0 N/A N/A 0 100 hr N/A ModbusSequentialDataBlock 0 N/A N/A 0 100 ir N/A ModbusSequentialDataBlock 0 N/A N/A 0 100 N/A context N/A ModbusServerContext slaves store single True N/A identity N/A ModbusDeviceIdentification N/A N/A identity VendorName MockPLCs N/A N/A identity ProductCode MP N/A N/A identity VendorUrl http://github.com/bashwork/pymodbus/ N/A N/A identity ProductName MockPLC 3000 N/A N/A identity ModelName MockPLC Ultimate N/A N/A identity MajorMinorRevision 1.0 startModbusServer N/A N/A N/A N/A N/A N/A StartTcpServer context identity identity address N/A localhost MODBUS_SERVER_PORT N/A main N/A N/A N/A N/A N/A N/A N/A reactor callInThread runWorld N/A N/A startModbusServer N/A N/A N/A __name__ __main__ N/A N/A N/A N/A sys exit N/A main